Skip to content

Commit

Permalink
build: use Lightning CSS (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
pure-js authored Oct 26, 2023
1 parent 4e632cf commit b23c357
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 16 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.12",
"lightningcss": "^1.22.0",
"msw": "^1.2.2",
"postcss": "^8.4.18",
"postcss-nesting": "12.0.1",
Expand Down
140 changes: 124 additions & 16 deletions pnpm-lock.yaml

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

3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ export default defineConfig({
server: {
open: true,
},
css: {
transformer: 'lightningcss',
},
resolve: {
alias: [
{
Expand Down

0 comments on commit b23c357

Please sign in to comment.