module is not defined in redux-form #2567
Replies: 4 comments 3 replies
-
I'm also having this issue. It's the one blocker that's stopping me from switching my company from webpack to snowpack. I guess the ESM exports aren't configured correctly in redux form? |
Beta Was this translation helpful? Give feedback.
-
Update: I figured out that it works if you import this way: |
Beta Was this translation helpful? Give feedback.
-
It's 2023, having the same issue trying to migrate from Webpack to Vite. |
Beta Was this translation helpful? Give feedback.
-
Updating the |
Beta Was this translation helpful? Give feedback.
-
I want to switch from
webpack
tosnowpack
for my project.My project uses
redux-form
and there is an error when I run the project withsnowpack dev
:It fails on line
const castModule = module;
You can find example repo here (branch
redux-form
):https://github.com/zaverden/snow-failed-pkgs/tree/redux-form
How can I fix it?
Beta Was this translation helpful? Give feedback.
All reactions