File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -54,9 +54,10 @@ class DllReferencePlugin {
54
54
} catch ( e ) {
55
55
// Store the error in the params so that it can
56
56
// be added as a compilation error later on.
57
- const manifestPath = this . options . context
58
- ? makePathsRelative ( this . options . context , manifest )
59
- : manifest ;
57
+ const manifestPath = makePathsRelative (
58
+ compiler . options . context ,
59
+ manifest
60
+ ) ;
60
61
params [
61
62
"dll reference parse error " + manifest
62
63
] = new DllManifestError ( manifestPath , e . message ) ;
Original file line number Diff line number Diff line change @@ -731,15 +731,15 @@ Entrypoint main = bundle.js
731
731
` ;
732
732
733
733
exports [` StatsTestCases should print correct stats for dll-reference-plugin-issue-7624-error 1` ] = `
734
- "Hash: db465df0da5d95ebf88f
734
+ "Hash: 701dcf62b26d0347b899
735
735
Time: Xms
736
736
Built at: Thu Jan 01 1970 00:00:00 GMT
737
737
Asset Size Chunks Chunk Names
738
738
bundle.js 3.6 KiB 0 main
739
739
Entrypoint main = bundle.js
740
740
[0] ./entry.js 29 bytes { 0 } [built]
741
741
742
- ERROR in Dll manifest Xdir/dll-reference-plugin-issue-7624-error/ blank-manifest.json
742
+ ERROR in Dll manifest blank-manifest.json
743
743
Unexpected end of JSON input while parsing near ''"
744
744
` ;
745
745
You can’t perform that action at this time.
0 commit comments