From ff8c1ed0cd8d23a0ce1ba6ffc67d0d7e277302ba Mon Sep 17 00:00:00 2001 From: TheMaddax Date: Sat, 23 Nov 2024 21:10:58 -0600 Subject: [PATCH] create a type declaration file for CSS modules --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index ecaf62e..b58a4dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,9 @@ RUN npm install @rollup/rollup-linux-x64-musl RUN npm install esbuild@0.21.5 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 . . RUN npm run build