ensure src directory exists first
This commit is contained in:
parent
ff8c1ed0cd
commit
dce1bb6a3f
1 changed files with 2 additions and 1 deletions
|
|
@ -20,7 +20,8 @@ RUN npm install @rollup/rollup-linux-x64-musl
|
||||||
RUN npm install esbuild@0.21.5
|
RUN npm install esbuild@0.21.5
|
||||||
RUN npm install vite @vitejs/plugin-react --save-dev
|
RUN npm install vite @vitejs/plugin-react --save-dev
|
||||||
|
|
||||||
# Create type declarations for CSS modules
|
# Create src directory and type declarations
|
||||||
|
RUN mkdir -p src
|
||||||
RUN echo "declare module '*.css'" > src/types.d.ts
|
RUN echo "declare module '*.css'" > src/types.d.ts
|
||||||
|
|
||||||
# Copy source code and build
|
# Copy source code and build
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue