disabled code + comment re: enabling source maps

This commit is contained in:
Michael Bradley, Jr 2018-07-20 11:02:59 -05:00 committed by Iuri Matias
parent 78c3b1307a
commit c713c11790

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',