mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Remove disabled plugin
This commit is contained in:
parent
6c0ea2d424
commit
2f618581cf
|
@ -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 AutoDllPlugin from 'autodll-webpack-plugin'
|
||||
import TerserPlugin from 'terser-webpack-plugin'
|
||||
// import HardSourceWebpackPlugin from '@zeit/hard-source-webpack-plugin'
|
||||
|
||||
// The externals config makes sure that
|
||||
// on the server side when modules are
|
||||
|
@ -241,8 +240,6 @@ export default async function getBaseWebpackConfig (dir: string, {dev = false, i
|
|||
resolve: resolveConfig
|
||||
}
|
||||
}),
|
||||
// Temporarily only enabled in development
|
||||
// dev && new HardSourceWebpackPlugin(),
|
||||
// This plugin makes sure `output.filename` is used for entry chunks
|
||||
new ChunkNamesPlugin(),
|
||||
!isServer && new ReactLoadablePlugin({
|
||||
|
|
|
@ -70,7 +70,6 @@
|
|||
"@babel/runtime": "7.0.0",
|
||||
"@babel/runtime-corejs2": "7.0.0",
|
||||
"@babel/template": "7.0.0",
|
||||
"@zeit/hard-source-webpack-plugin": "0.13.0",
|
||||
"ansi-html": "0.0.7",
|
||||
"autodll-webpack-plugin": "0.4.2",
|
||||
"babel-core": "7.0.0-bridge.0",
|
||||
|
|
Loading…
Reference in a new issue