Upgrade webpack
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
const webpack = require('webpack');
|
||||
const path = require('path');
|
||||
const ReactIntlAggregatePlugin = require('react-intl-aggregate-webpack-plugin');
|
||||
// const ReactIntlAggregatePlugin = require('react-intl-aggregate-webpack-plugin');
|
||||
const WebpackErrorNotificationPlugin = require('webpack-error-notification');
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
@@ -245,11 +245,11 @@ module.exports = {
|
||||
const DEST_I18N = path.join(__dirname, '..', DEST, 'i18n');
|
||||
|
||||
plugins.push(
|
||||
new ReactIntlAggregatePlugin({
|
||||
messagesPattern: DEST_I18N + '/i18n/**/*.json',
|
||||
aggregateOutputDir: DEST_I18N + '/i18n/',
|
||||
aggregateFilename: 'en'
|
||||
}),
|
||||
// new ReactIntlAggregatePlugin({
|
||||
// messagesPattern: DEST_I18N + '/i18n/**/*.json',
|
||||
// aggregateOutputDir: DEST_I18N + '/i18n/',
|
||||
// aggregateFilename: 'en'
|
||||
// }),
|
||||
|
||||
new webpack.optimize.CommonsChunkPlugin({
|
||||
filename: 'commons.[hash:10].js',
|
||||
|
||||
Reference in New Issue
Block a user