File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,15 @@ function ChunkManifestPlugin(options) {
4
4
options = options || { } ;
5
5
this . manifestFilename = options . filename || "manifest.json" ;
6
6
this . manifestVariable = options . manifestVariable || "webpackManifest" ;
7
+ this . inlineManifest = options . inlineManifest || false ;
7
8
}
8
9
module . exports = ChunkManifestPlugin ;
9
10
10
11
ChunkManifestPlugin . prototype . constructor = ChunkManifestPlugin ;
11
12
ChunkManifestPlugin . prototype . apply = function ( compiler ) {
12
13
var manifestFilename = this . manifestFilename ;
13
14
var manifestVariable = this . manifestVariable ;
15
+ var inlineManifest = this . inlineManifest ;
14
16
var oldChunkFilename ;
15
17
16
18
compiler . plugin ( "this-compilation" , function ( compilation ) {
@@ -52,5 +54,8 @@ ChunkManifestPlugin.prototype.apply = function(compiler) {
52
54
return _ . replace ( "\"__CHUNK_MANIFEST__\"" ,
53
55
"window[\"" + manifestVariable + "\"][" + chunkIdVar + "]" ) ;
54
56
} ) ;
57
+
58
+ if ( inlineManifest ) {
59
+ }
55
60
} ) ;
56
61
} ;
You can’t perform that action at this time.
0 commit comments