Skip to content

Commit

Permalink
Use lightning css for minifying css.
Browse files Browse the repository at this point in the history
  • Loading branch information
FireMasterK committed Jul 6, 2023
1 parent 6109ad7 commit 692e0cf
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 7 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"eslint-config-prettier": "8.8.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-vue": "9.15.1",
"lightningcss": "1.21.5",
"prettier": "2.8.8",
"unocss": "0.53.4",
"vite": "4.4.0",
Expand Down
112 changes: 105 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,6 @@ export default defineConfig({
},
build: {
sourcemap: true,
cssMinify: "lightningcss",
},
});

0 comments on commit 692e0cf

Please sign in to comment.