mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
disabled code + comment re: enabling source maps
This commit is contained in:
parent
78c3b1307a
commit
c713c11790
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user