You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v7.8.3 is working fine, but all the v8 versions are giving me the same error:
[!] (plugin postcss) TypeError: o is not a function
src/global.pcss
TypeError: o is not a function
at /node_modules/postcss-preset-env/dist/index.cjs:1:17553
at Array.forEach (<anonymous>)
at pluginIdHelp (/node_modules/postcss-preset-env/dist/index.cjs:1:17429)
at OnceExit (//node_modules/postcss-preset-env/dist/index.cjs:1:18705)
at LazyResult.runAsync (/node_modules/postcss/lib/lazy-result.js:433:21)
This error is thrown even if my used src/global.pcss file is completely empty.
Actual Behavior
No response
Expected Behavior
No response
Can you reproduce it with npx @csstools/csstools-cli <plugin-name> minimal-example.css?
@ERuseckas This exception has also been resolved in the latest release of postcss-preset-env. If you encounter a similar case the plugin will give you more useful feedback on what is going on.
Reproduction link
No response
Bug description
v7.8.3 is working fine, but all the v8 versions are giving me the same error:
This error is thrown even if my used
src/global.pcss
file is completely empty.Actual Behavior
No response
Expected Behavior
No response
Can you reproduce it with
npx @csstools/csstools-cli <plugin-name> minimal-example.css
?None
npx
OutputNo response
Extra config
my used postcss config
versions:
it's running under
rollup
v2 by using latestrollup-plugin-postcss
:What plugin are you experiencing this issue on?
PostCSS Preset Env
Plugin version
8..
What OS are you experiencing this on?
macOS
Node Version
18.3.0
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: