mirror of https://github.com/embarklabs/embark.git
rev wp config comments
This commit is contained in:
parent
e05918d84f
commit
ece251a5bf
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue