Open marcomiduri opened 2 years ago
This plugin is no longer required with gatsby v5. You can now use webpack's ignoreWarnings. To remove the conflicting order warning you can use this:
export const onCreateWebpackConfig: GatsbyNode['onCreateWebpackConfig'] = ({ actions: { setWebpackConfig } }) => {
setWebpackConfig({
ignoreWarnings: [
/mini-css-extract-plugin[^]*Conflicting order. Following module has been added:/,
() => true,
],
});
}
This plugin is no longer required with gatsby v5. You can now use webpack's ignoreWarnings. To remove the conflicting order warning you can use this:
export const onCreateWebpackConfig: GatsbyNode['onCreateWebpackConfig'] = ({ actions: { setWebpackConfig } }) => { setWebpackConfig({ ignoreWarnings: [ /mini-css-extract-plugin[^]*Conflicting order. Following module has been added:/, () => true, ], }); }
well done
Hi, I have a Gatsby project that has been using this module. We are converting the project and have an issue with the plugin import.
Here are the steps that I followed:
Please let me know if you have any solutions.