Skip to content

yinshuxun/rubick-i18n-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rubick i18n package

npm install rubick-i18n-webpack-plugin --save-dev

NPM License Code Coverage

Usage

In your webpack config register and setup the plugin

var RubickI18nWebpackPlugin = require('rubick-i18n-webpack-plugin');

var webpackConfig = {
      plugins:[
            new RubickI18nWebpackPlugin({
                  entry: [`${cwd}/examples/static/app/**/*.i18n.json`, `${cwd}/examples/static/app_user/**/*.i18n.json`],
                  outputDir: `${cwd}/examples/static/assets/i18n`,
                  manifestBase: '/static/assets/i18n'
            })
      ]
}

About

I18n webpack plugin customized for rubick

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published