Remove needless plugin

This commit is contained in:
syuilo 2018-05-17 12:44:55 +09:00 committed by GitHub
parent 14f7ff13ec
commit 6fb112d000
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

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) {