Skip to content

fishbrain/mini-i18n-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mini-i18n-webpack-plugin

Embed localization in the bundle.

Install

$ npm install mini-i18n-webpack-plugin
// webpack.config.js
const MiniI18nWebpackPlugin = require('mini-i18n-webpack-plugin');
const translations = require('lang.json');

module.exports = {
  plugins: [new MiniI18nWebpackPlugin(translations)],
};

License

ISC

Releases

No releases published

Packages

No packages published