When building applications on Windows 10, the imports-loader is not triggered for Globalize.js modules, resulting in Can't resolve {module} errors. For example,
ERROR in ./~/globalize/dist/globalize/date.js
Module not found: Error: Can't resolve 'cldr/supplemental' in 'XXX/node_modules/globalize/dist/globalize'
@ ./~/globalize/dist/globalize/date.js 22:2-28:14
@ ./~/globalize/dist/node-main.js
@ ./src/main.js
Bug
When building applications on Windows 10, the
imports-loader
is not triggered for Globalize.js modules, resulting inCan't resolve {module}
errors. For example,