1
0
mirror of https://github.com/Safe-Support-Chat/ocrcc-chatbox synced 2025-04-07 20:53:40 +00:00

latest build

This commit is contained in:
Sharon Kennedy 2020-05-07 14:59:36 -04:00
parent 0cb939ff7d
commit b9f822d308

@ -3,7 +3,6 @@ const increaseSpecificity = require('postcss-increase-specificity');
const autoprefixer = require('autoprefixer'); const autoprefixer = require('autoprefixer');
const CopyPlugin = require('copy-webpack-plugin'); const CopyPlugin = require('copy-webpack-plugin');
const path = require('path'); const path = require('path');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const devMode = process.env.NODE_ENV !== 'production'; const devMode = process.env.NODE_ENV !== 'production';
@ -27,8 +26,7 @@ const defaultConfig = {
new CopyPlugin([ new CopyPlugin([
{ from: 'public', to: '.' }, { from: 'public', to: '.' },
]), ]),
( devMode ? new BundleAnalyzerPlugin() : null ) ],
].map(i => i),
module: { module: {
rules: [ rules: [
{ {