create a type declaration file for CSS modules

This commit is contained in:
TheMaddax 2024-11-23 21:10:58 -06:00
parent 458875dabe
commit ff8c1ed0cd

View file

@ -20,6 +20,9 @@ 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
RUN echo "declare module '*.css'" > src/types.d.ts
# Copy source code and build # Copy source code and build
COPY . . COPY . .
RUN npm run build RUN npm run build