-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #224 from statikbe/KarelJanVanHaute/issue216
Update to vite 5
- Loading branch information
Showing
4 changed files
with
1,434 additions
and
1,180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,24 @@ | ||
module.exports = { | ||
import postcssCustomProperties from 'postcss-custom-properties'; | ||
import postcssImport from 'postcss-import'; | ||
import postcssMixins from 'postcss-mixins'; | ||
import tailwindcssNesting from 'tailwindcss/nesting/index.js'; | ||
import tailwindcss from 'tailwindcss'; | ||
import postcss from 'postcss'; | ||
import autoprefixer from 'autoprefixer'; | ||
|
||
export default { | ||
plugins: [ | ||
require('postcss-custom-properties'), | ||
require('postcss-import'), | ||
postcssCustomProperties, | ||
postcssImport, | ||
{ | ||
postcssPlugin: 'grouped', | ||
Once(root, { result }) { | ||
let postcss = require('postcss'); | ||
return postcss([require('postcss-mixins')]).process(root, result.opts); | ||
return postcss([postcssMixins]).process(root, result.opts); | ||
}, | ||
}, | ||
require('tailwindcss/nesting'), | ||
require('tailwindcss'), | ||
require('autoprefixer'), | ||
tailwindcssNesting, | ||
tailwindcss, | ||
autoprefixer, | ||
], | ||
browserslist: ['defaults', 'not ie < 11', 'last 3 versions', '> 1%', 'iOS 7', 'last 3 iOS versions'], | ||
}; |
Oops, something went wrong.