Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post build issue with webpack 2.4+ #352

Closed
deldreth opened this issue May 13, 2017 · 2 comments
Closed

Post build issue with webpack 2.4+ #352

deldreth opened this issue May 13, 2017 · 2 comments

Comments

@deldreth
Copy link

Debugging an issue related to seeing this error on any action dispatches that eventually alter state.
Uncaught TypeError: __WEBPACK_IMPORTED_MODULE_3_json_stringify_safe___default(...) is not a function

I've only tried to receive this error in webpack 2.4+ but it appears to be related to the following webpack issue: webpack/webpack#4742

Considering the age and lack of traction on json-stringify-safe it may be ideal to fork the dependency and update its exports or build it for specific platforms. It may be possible to specifically reference the .default export from json-stringify-safe, but I've not attempted.

I'm assuming that this may be an issue with all versions of webpack 2+ but I've not confirmed this.

@deldreth
Copy link
Author

I can confirm that this affects all of webpack 2+

@deldreth deldreth closed this as completed Jun 6, 2017
@rt2zz
Copy link
Owner

rt2zz commented Jun 14, 2017

@deldreth did you resolve this issue? I have used it sucessfully with webpack 2+, wondering why the difference. I wonder if https://github.com/debitoor/safe-json-stringify could be a better alternative?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants