Commit 2f618581 authored by Tim Neutkens's avatar Tim Neutkens

Remove disabled plugin

parent 6c0ea2d4
...@@ -20,7 +20,6 @@ import { ReactLoadablePlugin } from './webpack/plugins/react-loadable-plugin' ...@@ -20,7 +20,6 @@ import { ReactLoadablePlugin } from './webpack/plugins/react-loadable-plugin'
import {SERVER_DIRECTORY, NEXT_PROJECT_ROOT, NEXT_PROJECT_ROOT_NODE_MODULES, NEXT_PROJECT_ROOT_DIST, DEFAULT_PAGES_DIR, REACT_LOADABLE_MANIFEST, CLIENT_STATIC_FILES_RUNTIME_WEBPACK, CLIENT_STATIC_FILES_RUNTIME_MAIN} from '../lib/constants' import {SERVER_DIRECTORY, NEXT_PROJECT_ROOT, NEXT_PROJECT_ROOT_NODE_MODULES, NEXT_PROJECT_ROOT_DIST, DEFAULT_PAGES_DIR, REACT_LOADABLE_MANIFEST, CLIENT_STATIC_FILES_RUNTIME_WEBPACK, CLIENT_STATIC_FILES_RUNTIME_MAIN} from '../lib/constants'
import AutoDllPlugin from 'autodll-webpack-plugin' import AutoDllPlugin from 'autodll-webpack-plugin'
import TerserPlugin from 'terser-webpack-plugin' import TerserPlugin from 'terser-webpack-plugin'
// import HardSourceWebpackPlugin from '@zeit/hard-source-webpack-plugin'
// The externals config makes sure that // The externals config makes sure that
// on the server side when modules are // on the server side when modules are
...@@ -241,8 +240,6 @@ export default async function getBaseWebpackConfig (dir: string, {dev = false, i ...@@ -241,8 +240,6 @@ export default async function getBaseWebpackConfig (dir: string, {dev = false, i
resolve: resolveConfig resolve: resolveConfig
} }
}), }),
// Temporarily only enabled in development
// dev && new HardSourceWebpackPlugin(),
// This plugin makes sure `output.filename` is used for entry chunks // This plugin makes sure `output.filename` is used for entry chunks
new ChunkNamesPlugin(), new ChunkNamesPlugin(),
!isServer && new ReactLoadablePlugin({ !isServer && new ReactLoadablePlugin({
......
...@@ -70,7 +70,6 @@ ...@@ -70,7 +70,6 @@
"@babel/runtime": "7.0.0", "@babel/runtime": "7.0.0",
"@babel/runtime-corejs2": "7.0.0", "@babel/runtime-corejs2": "7.0.0",
"@babel/template": "7.0.0", "@babel/template": "7.0.0",
"@zeit/hard-source-webpack-plugin": "0.13.0",
"ansi-html": "0.0.7", "ansi-html": "0.0.7",
"autodll-webpack-plugin": "0.4.2", "autodll-webpack-plugin": "0.4.2",
"babel-core": "7.0.0-bridge.0", "babel-core": "7.0.0-bridge.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment