diff --git a/server/build/webpack.base.conf.js b/server/build/webpack.base.conf.js index 54a08f7..b3ae4a7 100644 --- a/server/build/webpack.base.conf.js +++ b/server/build/webpack.base.conf.js @@ -21,15 +21,15 @@ module.exports = { filename: "server.js", path: resolve('dist') }, - externals: [ - function(context, request, callback) { - if(request[0] == '.') { - callback(); - } else { - callback(null, "require('" + request + "')"); - } - } - ], + // externals: [ + // function(context, request, callback) { + // if(request[0] == '.') { + // callback(); + // } else { + // callback(null, "require('" + request + "')"); + // } + // } + // ], plugins: [ new webpack.optimize.OccurrenceOrderPlugin(), new webpack.HotModuleReplacementPlugin(),