Closed hugo-t-b closed 1 year ago
strange, this plugin doesn't call postcss.parse()
, so there's no parameter to pass to make the warning go away
Hey @argyleink
I think this might be the offending line:
PS: Happy New Year!
fixed in v1.0.9 👍🏻
For some reason I get this error with version 1.0.9 too: My postcss config looks like this:
const postcssJitProps = require('postcss-jit-props');
const postcssCustomMedia = require('postcss-custom-media');
const postcssGlobalData = require('@csstools/postcss-global-data');
const autoprefixer = require('autoprefixer');
const OpenProps = require('open-props');
module.exports = {
plugins: [
postcssJitProps(OpenProps),
postcssGlobalData({
files: [
require.resolve('open-props/media.min.css'),
],
}),
postcssCustomMedia(),
autoprefixer,
]
}
Vite 3 shows the following warning when this plugin is enabled:
The docs for
postcss.parse
are here.