disabled code + comment re: enabling source maps

This commit is contained in:
Michael Bradley, Jr 2018-07-20 11:02:59 -05:00
parent 1e26fe419b
commit 78332d40da
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ class WebpackProcess extends ProcessWrapper {
const self = this;
let defaultOptions = {
mode: self.env === 'development' ? 'none' : 'production',
// devtool: self.env === 'development' ? 'source-map' : false,
// pipeline would need to copy .map files to dist/ target dir
entry: fs.dappPath(filename),
output: {
globalObject: 'typeof self !== \'undefined\' ? self : this',