You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here i used moment :^2.24.0
I want to use specific locals in my code .I used this solution
const webpack = require('webpack');
module.exports = {
//...
plugins: [
// load moment/locale/ja.js and moment/locale/it.js
new webpack.ContextReplacementPlugin(/moment[/\]locale$/, /ja|it/),
],
};
It didn't work for me , it still load other locals also.Please check.Thanks.
The text was updated successfully, but these errors were encountered:
Here i used moment :^2.24.0
I want to use specific locals in my code .I used this solution
const webpack = require('webpack');
module.exports = {
//...
plugins: [
// load
moment/locale/ja.js
andmoment/locale/it.js
new webpack.ContextReplacementPlugin(/moment[/\]locale$/, /ja|it/),
],
};
It didn't work for me , it still load other locals also.Please check.Thanks.
The text was updated successfully, but these errors were encountered: