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
Thanks for all the efforts that upgrade from v6 to v7 that compatible with react-script@5, which upgrade webpack setting.
I found the current 7.1.0 version still won't make postcss-loaderpostcssOptions.plugins work, and I check the document of postcss-loader and am not sure it allows a function that returns the postcss plugin list.
In my case, using the merged new plugins will work well.
Hi there
Thanks for all the efforts that upgrade from v6 to v7 that compatible with react-script@5, which upgrade webpack setting.
I found the current 7.1.0 version still won't make
postcss-loader
postcssOptions.plugins
work, and I check the document ofpostcss-loader
and am not sure it allows a function that returns the postcss plugin list.In my case, using the merged new plugins will work well.
Related code: https://github.com/dilanx/craco/blob/main/packages/craco/src/lib/features/webpack/style/postcss.ts#L86
Since I am not sure of the reason, I am not going to make a pull request but will be happy to do that.
My current @craco/[email protected]
patch-package
diffMy previous @craco/[email protected]
patch-package
diff, for anyone needed:The text was updated successfully, but these errors were encountered: