diff --git a/Dockerfile b/Dockerfile index a7caeec..38bf584 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,6 +37,7 @@ COPY tsconfig.json \ webpack.config.js \ .babelrc \ generate_translations.mjs \ + tailwind.config.js \ ./ COPY joinlemmy-translations joinlemmy-translations diff --git a/package.json b/package.json index 3e99a61..792cf11 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "lint": "node generate_translations.mjs && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src && prettier --check \"src/**/*.{ts,tsx,js,css,scss}\"", "prebuild:dev": "yarn clean && node generate_translations.mjs && yarn tailwind", "prebuild:prod": "yarn clean && node generate_translations.mjs && yarn tailwind", - "tailwind": "tailwindcss -i ./src/style.css -o ./dist/styles/styles.css", + "tailwind": "tailwindcss -i ./src/style.css -o ./dist/styles/styles.css --minify", "prepare": "husky install", "start": "yarn build:dev --watch & yarn tailwind --watch" }, @@ -75,12 +75,7 @@ }, "engineStrict": true, "lint-staged": { - "*.{ts,tsx,js}": [ - "prettier --write", - "eslint --fix" - ], - "package.json": [ - "sortpack" - ] + "*.{ts,tsx,js}": ["prettier --write", "eslint --fix"], + "package.json": ["sortpack"] } }