Getting this error with a project that is using RMWC. I've seen people posting about the same issue with Storybook or Jest. I can't seem to suss out the solution. Any help would be appreciated.
I've also gotten the same error trying the approach with Twin.
MacroError: The macro you imported from "undefined" is being executed outside the context of compilation with babel-plugin-macros. This indicates that you don't have the babel plugin "babel-plugin-macros" configured correctly. Please see the documentation for how to configure babel-plugin-macros properly: https://github.com/kentcdodds/babel-plugin-macros/blob/master/other/docs/user.md
I suppressed some potentially related errors about fs and module being undefined with the below in webpack.config.js.
Getting this error with a project that is using RMWC. I've seen people posting about the same issue with Storybook or Jest. I can't seem to suss out the solution. Any help would be appreciated.
I've also gotten the same error trying the approach with Twin.
I suppressed some potentially related errors about
fs
andmodule
being undefined with the below inwebpack.config.js
.Here a redacted bit of my
`webpack.config.js