From ece251a5bfbcc435f3f3db85df6915e0b0e51530 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Fri, 20 Jul 2018 11:52:24 -0500 Subject: [PATCH] rev wp config comments --- lib/pipeline/webpackProcess.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pipeline/webpackProcess.js b/lib/pipeline/webpackProcess.js index e1e598806..d77684307 100644 --- a/lib/pipeline/webpackProcess.js +++ b/lib/pipeline/webpackProcess.js @@ -41,6 +41,7 @@ class WebpackProcess extends ProcessWrapper { mode: self.env === 'development' ? 'none' : 'production', // devtool: self.env === 'development' ? 'source-map' : false, // pipeline would need to copy .map files to dist/ target dir + // note: generating full source maps ('source-map') roughly doubles build time entry: fs.dappPath(filename), output: { globalObject: 'typeof self !== \'undefined\' ? self : this', @@ -62,7 +63,7 @@ class WebpackProcess extends ProcessWrapper { plugins: [ new HardSourceWebpackPlugin({ cacheDirectory: fs.dappPath('node_modules/.cache/hard-source'), - // ufglify would still be saving under embark's node_modules/.cache + // ufglify would still save its cache in embark's node_modules/.cache/ environmentHash: { root: fs.dappPath() }