Skip to content

Commit c8d4490

Browse files
author
nezanuha
committed
Minify CSS for production
1 parent 74f1ce6 commit c8d4490

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,17 @@
4848
"url": "https://github.com/nezanuha/markdown-text-editor/issues"
4949
},
5050
"dependencies": {
51+
"@tailwindcss/typography": "~0.5.15",
5152
"marked": "~15.0.4",
52-
"tailwindcss": "~3.4.13",
53-
"@tailwindcss/typography": "~0.5.15"
53+
"tailwindcss": "~3.4.13"
5454
},
5555
"devDependencies": {
5656
"@babel/core": "^7.25.2",
5757
"@babel/preset-env": "^7.25.4",
5858
"autoprefixer": "^10.4.20",
5959
"babel-loader": "^9.2.1",
6060
"css-loader": "^7.1.2",
61+
"cssnano": "^7.0.6",
6162
"html-webpack-plugin": "^5.6.3",
6263
"mini-css-extract-plugin": "^2.9.1",
6364
"postcss": "^8.4.47",

postcss.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ module.exports = {
22
plugins: {
33
tailwindcss: {},
44
autoprefixer: {},
5+
...({ cssnano: {} })
56
}
67
}

0 commit comments

Comments
 (0)