dojo / cli-build-webpack

🚀 **DEPRECATED** Dojo 2 - cli command for building applications
http://dojo.io
Other
4 stars 19 forks source link

Windows 10: `imports-loader` not triggered for Globalize.js #162

Closed mwistrand closed 7 years ago

mwistrand commented 7 years ago

Bug

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