rev wp config comments

This commit is contained in:
Michael Bradley, Jr 2018-07-20 11:52:24 -05:00 committed by Iuri Matias
parent e05918d84f
commit ece251a5bf
1 changed files with 2 additions and 1 deletions

View File

@ -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()
}