File tree 5 files changed +16
-17
lines changed
5 files changed +16
-17
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ FunctionModuleTemplatePlugin.prototype.apply = function(moduleTemplate) {
16
16
defaultArguments . push ( "__webpack_require__" ) ;
17
17
}
18
18
source . add ( "/***/ function(" + defaultArguments . concat ( module . arguments || [ ] ) . join ( ", " ) + ") {\n\n" ) ;
19
- if ( module . strict ) source . add ( this . outputOptions . sourcePrefix + "\"use strict\";\n" ) ;
20
- source . add ( new PrefixSource ( this . outputOptions . sourcePrefix , moduleSource ) ) ;
19
+ if ( module . strict ) source . add ( "\"use strict\";\n" ) ;
20
+ source . add ( moduleSource ) ;
21
21
source . add ( "\n\n/***/ }" ) ;
22
22
return source ;
23
23
} ) ;
Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ function WebpackOptionsDefaulter() {
58
58
this . set ( "output.hashFunction" , "md5" ) ;
59
59
this . set ( "output.hashDigest" , "hex" ) ;
60
60
this . set ( "output.hashDigestLength" , 20 ) ;
61
- this . set ( "output.sourcePrefix" , "\t" ) ;
62
61
this . set ( "output.devtoolLineToLine" , false ) ;
63
62
64
63
this . set ( "node" , { } ) ;
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ Hash: 55b4e00b04fd0c502b1f
2
2
Time: Xms
3
3
Asset Size Chunks Chunk Names
4
4
bundle.js 5.29 kB 0 [emitted] main
5
- 1.bundle.js 252 bytes 1 [emitted]
6
- 2.bundle.js 107 bytes 2 [emitted]
7
- 3.bundle.js 202 bytes 3 [emitted]
5
+ 1.bundle.js 251 bytes 1 [emitted]
6
+ 2.bundle.js 106 bytes 2 [emitted]
7
+ 3.bundle.js 200 bytes 3 [emitted]
8
8
chunk {0} bundle.js (main) 73 bytes [rendered]
9
9
> main [5] (webpack)/test/statsCases/chunks/index.js
10
10
[0] (webpack)/test/statsCases/chunks/a.js 22 bytes {0} [built]
Original file line number Diff line number Diff line change 1
1
Hash: e3dc693bc52a75b4a39b
2
2
Time: Xms
3
3
Asset Size Chunks Chunk Names
4
- 0.js 245 bytes 0 [emitted] cir1
5
- 1.js 215 bytes 1, 2 [emitted] abd
6
- 2.js 131 bytes 2 [emitted] ab
7
- main.js 6.03 kB 3 [emitted] main
8
- 4.js 260 bytes 4 [emitted] cir2
9
- 5.js 138 bytes 5, 7 [emitted] chunk
10
- 6.js 319 bytes 6, 4 [emitted] cir2 from cir1
11
- 7.js 79 bytes 7 [emitted] ac in ab
4
+ 0.js 244 bytes 0 [emitted] cir1
5
+ 1.js 212 bytes 1, 2 [emitted] abd
6
+ 2.js 129 bytes 2 [emitted] ab
7
+ main.js 6.01 kB 3 [emitted] main
8
+ 4.js 259 bytes 4 [emitted] cir2
9
+ 5.js 136 bytes 5, 7 [emitted] chunk
10
+ 6.js 317 bytes 6, 4 [emitted] cir2 from cir1
11
+ 7.js 78 bytes 7 [emitted] ac in ab
12
12
chunk {0} 0.js (cir1) 81 bytes {3} {6} {4} [rendered]
13
13
> cir1 [7] (webpack)/test/statsCases/optimize-chunks/index.js 13:0-54
14
14
> duplicate cir1 from cir2 [3] (webpack)/test/statsCases/optimize-chunks/circular2.js 1:0-79
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ Hash: 8ca45b6d16d1f1e8be32
2
2
Time: Xms
3
3
Asset Size Chunks Chunk Names
4
4
main.js 5.28 kB 0 [emitted] main
5
- 1.js 252 bytes 1 [emitted]
6
- 2.js 107 bytes 2 [emitted]
7
- 3.js 202 bytes 3 [emitted]
5
+ 1.js 251 bytes 1 [emitted]
6
+ 2.js 106 bytes 2 [emitted]
7
+ 3.js 200 bytes 3 [emitted]
8
8
chunk {0} main.js (main) 73 bytes [rendered]
9
9
[0] (webpack)/test/statsCases/preset-verbose/a.js 22 bytes {0} [built]
10
10
cjs require ./a [5] (webpack)/test/statsCases/preset-verbose/index.js 1:0-14
You can’t perform that action at this time.
0 commit comments