File tree 2 files changed +1
-9
lines changed
2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -70,13 +70,6 @@ Type: `String`
70
70
A path prefix for all keys. Useful for including your output path in the manifest.
71
71
72
72
73
- ### ` options.stripSrc `
74
-
75
- Type: ` String ` , ` RegExp `
76
-
77
- Removes unwanted strings from source filenames.
78
-
79
-
80
73
### ` options.writeToFileEmit `
81
74
82
75
Type: ` Boolean ` <br >
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ function ManifestPlugin(opts) {
6
6
this . opts = _ . assign ( {
7
7
basePath : '' ,
8
8
fileName : 'manifest.json' ,
9
- stripSrc : null ,
10
9
transformExtensions : / ^ ( g z | m a p ) $ / i,
11
10
writeToFileEmit : false ,
12
11
cache : null , // TODO: Remove `cache` in next major release in favour of `seed`.
@@ -47,7 +46,7 @@ ManifestPlugin.prototype.apply = function(compiler) {
47
46
48
47
var files = compilation . chunks . reduce ( function ( files , chunk ) {
49
48
return chunk . files . reduce ( function ( files , path ) {
50
- var name = chunk . name ? chunk . name . replace ( this . opts . stripSrc , '' ) : null ;
49
+ var name = chunk . name ? chunk . name : null ;
51
50
52
51
if ( name ) {
53
52
name = name + '.' + this . getFileType ( path ) ;
You can’t perform that action at this time.
0 commit comments