File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ exports.run = function (options) {
211
211
212
212
if ( project . check ( ) ) {
213
213
compiler = project . getServerCompiler ( function ( config ) {
214
- var nextConfig = extend ( true , { } , config ) ;
214
+ var nextConfig = extend ( { } , config ) ;
215
215
Object . keys ( config . entry ) . map ( function ( entryKey ) {
216
216
var entryItem = config . entry [ entryKey ] ;
217
217
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ var Config = function () {
113
113
if ( ( typeof compileConfig === 'undefined' ? 'undefined' : _typeof ( compileConfig ) ) === 'object' ) {
114
114
nextConfig = compileConfig ;
115
115
} else if ( typeof compileConfig === 'function' ) {
116
- nextConfig = compileConfig ( extend ( true , { } , _this2 . _config ) ) || { } ;
116
+ nextConfig = compileConfig ( extend ( { } , _this2 . _config ) ) || { } ;
117
117
}
118
118
119
119
// 处理context
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ exports.run = (options) => {
195
195
196
196
if ( project . check ( ) ) {
197
197
compiler = project . getServerCompiler ( function ( config ) {
198
- let nextConfig = extend ( true , { } , config )
198
+ let nextConfig = extend ( { } , config )
199
199
Object . keys ( config . entry ) . map ( ( entryKey ) => {
200
200
const entryItem = config . entry [ entryKey ]
201
201
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ class Config {
99
99
if ( typeof compileConfig === 'object' ) {
100
100
nextConfig = compileConfig
101
101
} else if ( typeof compileConfig === 'function' ) {
102
- nextConfig = compileConfig ( extend ( true , { } , this . _config ) ) || { } ;
102
+ nextConfig = compileConfig ( extend ( { } , this . _config ) ) || { } ;
103
103
}
104
104
105
105
// 处理context
You can’t perform that action at this time.
0 commit comments