From c2f9d2e01b8fb0cc1e3be30cc56bc06f5d713b75 Mon Sep 17 00:00:00 2001 From: rozetko Date: Fri, 25 May 2018 16:31:26 +0300 Subject: [PATCH] tmp include dependencies in dist/ --- server/build/webpack.base.conf.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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(),