|
@@ -8,7 +8,7 @@ const webpack = require('webpack');
|
|
|
*/
|
|
*/
|
|
|
const WebpackAssetsManifest = require('webpack-assets-manifest');
|
|
const WebpackAssetsManifest = require('webpack-assets-manifest');
|
|
|
const LodashModuleReplacementPlugin = require('lodash-webpack-plugin');
|
|
const LodashModuleReplacementPlugin = require('lodash-webpack-plugin');
|
|
|
-const HardSourceWebpackPlugin = require('hard-source-webpack-plugin');
|
|
|
|
|
|
|
+
|
|
|
const helpers = require('../src/lib/util/helpers');
|
|
const helpers = require('../src/lib/util/helpers');
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
@@ -123,14 +123,6 @@ module.exports = (options) => {
|
|
|
new webpack.IgnorePlugin(/^\.\/lib\/deflate\.js/, /markdown-it-plantuml/),
|
|
new webpack.IgnorePlugin(/^\.\/lib\/deflate\.js/, /markdown-it-plantuml/),
|
|
|
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
|
|
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
|
|
|
|
|
|
|
|
- new HardSourceWebpackPlugin(),
|
|
|
|
|
- new HardSourceWebpackPlugin.ExcludeModulePlugin([
|
|
|
|
|
- {
|
|
|
|
|
- // see https://github.com/mzgoddard/hard-source-webpack-plugin/blob/master/README.md#excludemoduleplugin
|
|
|
|
|
- test: /mini-css-extract-plugin[\\/]dist[\\/]loader/,
|
|
|
|
|
- },
|
|
|
|
|
- ]),
|
|
|
|
|
-
|
|
|
|
|
new LodashModuleReplacementPlugin({
|
|
new LodashModuleReplacementPlugin({
|
|
|
flattening: true,
|
|
flattening: true,
|
|
|
}),
|
|
}),
|