i18nc-loader
v2.0.8
Published
I18N Loader for Webpack
Downloads
31
Readme
I18NC-LOADER
Install
npm install i18nc-loader webpack --save-dev
Useage
module.exports = {
entry: {'input': 'input.js'},
output: {
path: 'dist',
filename: '[name].js',
},
module: {
rules: [{
test: /\.js$/,
use: [{
loader: 'i18nc-loader',
options: {
I18NHandlerName: 'weLANG'
}
}]
}]
}
};
OPTIONS
You can pass i18nc options using standard webpack loader options.