We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to build using Webpack and this plugin with config as follows:
new GlobalizePlugin({ production: process.env.NODE_ENV === 'production', developmentLocale: 'es', supportedLocales: [ 'en', 'de', 'es' ], output: 'i18n/[locale].[hash].js' }),
and in my code all I'm doing is var Globalize = require('globalize');
var Globalize = require('globalize');
During the build process I get a huge amount of errors, like:
resolve 'file' cldr in /Users/zach/dev/entry-point/code/node_modules resolve file /Users/zach/dev/entry-point/code/node_modules/cldr doesn't exist /Users/zach/dev/entry-point/code/node_modules/cldr.webpack.js doesn't exist /Users/zach/dev/entry-point/code/node_modules/cldr.web.js doesn't exist /Users/zach/dev/entry-point/code/node_modules/cldr.js doesn't exist /Users/zach/dev/entry-point/code/node_modules/cldr.json doesn't exist
Looking at the Globalize repo issues, it seems like this plugin was created to fix the issues I'm having, but for some reason it's not working for me.
The text was updated successfully, but these errors were encountered:
Please, can you run this example locally? If so, how different is this from what you're using? Which webpack version are you using?
Sorry, something went wrong.
Same problem with webpack 2.4.1.
I am also getting similar issue even after trying this example with webpack version : 2.6.1
Can't resolve 'cldr/supplemental'
Hi , An anwser for this 'Can't resolve 'cldr/supplemental'' ??
Try to add : "cldr-data": ">=25" as a dependency in your package.json file
No branches or pull requests
I am trying to build using Webpack and this plugin with config as follows:
and in my code all I'm doing is
var Globalize = require('globalize');
During the build process I get a huge amount of errors, like:
Looking at the Globalize repo issues, it seems like this plugin was created to fix the issues I'm having, but for some reason it's not working for me.
The text was updated successfully, but these errors were encountered: