Closed huy-nguyen closed 7 years ago
Hi @huy-nguyen, for webpack 2, please use our 1.0.0 pre-release (v1.0.0-alpha.0). Sorry for the inconvenience.
PS: Thank you for providing a repo where I could reproduce your issue.
Also please keep in mind your example makes use of not-yet-released globalize 1.3.0. Take a look at this roadmap for clarification on the respective globalize-webpack-plugin support https://github.com/rxaviers/globalize-webpack-plugin/issues/57
Given the importance of providing decent support for webpack 2, I've just released v1.0.0
.
I'm trying to make a bare bones example that follows the instructions in the provided example. This is my repo. The development build works without problem but the production build fails with this error:
The app fails when it tries to
require
theglobalize
module. I'm not sure what's causing the problem. I've tried using the latest pre-release versions ofglobalize
andglobalize-webpack-plugin
. Can you help @rxaviers?