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
BUILD ERROR Cannot call a namespace ('moment') Error: Cannot call a namespace ('moment')
// Cannot call a namespace ('moment') // import * as moment from 'moment'; import moment from 'moment'; import 'moment/locale/fr';
"allowSyntheticDefaultImports": true
plugins: [ new webpack.ContextReplacementPlugin(/moment[\/\\]locale$/, /en|es|fr/), ]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Get issue with moment break everything !
ERROR: moment has no default export
"allowSyntheticDefaultImports": true
Exclude locales (heavy weight)
Exclude locales
The text was updated successfully, but these errors were encountered: