[v2] [plugin-react-css-modules] Plugin/preset did not return an object #5968
Labels
help wanted
Issue with a clear description that the community can help with.
type: maintenance
An issue or pull request describing a change that isn't a bug, feature or documentation change
Description
Just upgraded to the v2 beta and all went well except for
gatsby-plugin-react-css-modules
, which is causing the new Babel setup to throw.Basic error is:
here ./.cache/develop-static-entry.js Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: [BABEL] /{...}/.cache/develop-static-entry.js: Plugin/Preset did not return an object.
Can provide a full stacktrace if it'd help, but it's pretty opaque. Only narrowed it down to react-css-modules through a process of elimination with my plugins.
Also noticed that it now requires a peer dep of
react-css-modules
, when I thought it was built onbabel-plugin-react-css-modules
?Steps to reproduce
Include
gatsby-plugin-react-css-modules
in a Gatsby v2 buildEnvironment
The text was updated successfully, but these errors were encountered: