Remove needless plugin

This commit is contained in:
syuilo 2018-05-17 12:44:55 +09:00 committed by GitHub
parent f9f53f272e
commit 2d85e291b4

View file

@ -11,7 +11,6 @@ const minifyHtml = require('html-minifier').minify;
const WebpackOnBuildPlugin = require('on-build-webpack'); const WebpackOnBuildPlugin = require('on-build-webpack');
//const HardSourceWebpackPlugin = require('hard-source-webpack-plugin'); //const HardSourceWebpackPlugin = require('hard-source-webpack-plugin');
const ProgressBarPlugin = require('progress-bar-webpack-plugin'); const ProgressBarPlugin = require('progress-bar-webpack-plugin');
const I18nPlugin = require('webpack-multilang-i18n-plugin');
import I18nReplacer from './src/build/i18n'; import I18nReplacer from './src/build/i18n';
import { pattern as i18nPattern, replacement as i18nReplacement } from './webpack/i18n'; import { pattern as i18nPattern, replacement as i18nReplacement } from './webpack/i18n';
@ -123,8 +122,7 @@ const plugins = [
}); });
//#endregion //#endregion
}), }),
new VueLoaderPlugin(), new VueLoaderPlugin()
new I18nPlugin()
]; ];
if (isProduction) { if (isProduction) {