Skip to content

Commit

Permalink
added nesting plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor Kloos committed Jan 10, 2024
1 parent bfc6a72 commit a4ef8cb
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 2 deletions.
84 changes: 82 additions & 2 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"license": "AGPLv3",
"repository": "https://github.com/dutchcelt/system.css/",
"devDependencies": {
"postcss-nesting": "^12.0.2",
"vite": "^5.0.11"
}
}
7 changes: 7 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
import { resolve } from 'path';
import { defineConfig } from 'vite';
import postcssNesting from 'postcss-nesting';

export default defineConfig({
base: '/system.css/',
css: {
postcss: {
plugins: [postcssNesting],
},
},

build: {
minify: true,
rollupOptions: {
Expand Down

0 comments on commit a4ef8cb

Please sign in to comment.