File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,18 @@ function pitch() {
2121 } ) ,
2222 _compiler : { fsStartTime : this . _compiler . fsStartTime } ,
2323 _compilation : {
24- outputOptions : this . _compilation . outputOptions ,
25- options : this . _compilation . options ,
24+ outputOptions : {
25+ hashSalt : this . _compilation . outputOptions . hashSalt ,
26+ hashFunction : this . _compilation . outputOptions . hashFunction ,
27+ hashDigest : this . _compilation . outputOptions . hashDigest ,
28+ hashDigestLength : this . _compilation . outputOptions . hashDigestLength ,
29+ } ,
30+ options : {
31+ devtool :
32+ this . _compilation &&
33+ this . _compilation . options &&
34+ this . _compilation . options . devtool ,
35+ } ,
2636 } ,
2737 resourcePath : this . resourcePath ,
2838 resource : this . resourcePath + ( this . resourceQuery || '' ) ,
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ module.exports = (env) => {
3131 return {
3232 mode : 'none' ,
3333 context : __dirname ,
34+ devtool : false ,
3435 entry : [ './index.js' ] ,
3536 output : {
3637 path : path . resolve ( 'dist' ) ,
You can’t perform that action at this time.
0 commit comments