Skip to content

Commit f9a665a

Browse files
committed
snapshot
1 parent edcc7ed commit f9a665a

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

test/Defaults.unittest.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ describe("snapshots", () => {
455455
"sourcePrefix": undefined,
456456
"strictModuleErrorHandling": false,
457457
"strictModuleExceptionHandling": false,
458+
"strictModuleResolution": false,
458459
"trustedTypes": undefined,
459460
"uniqueName": "webpack",
460461
"wasmLoading": "fetch",
@@ -969,6 +970,9 @@ describe("snapshots", () => {
969970
- "pathinfo": false,
970971
+ "pathinfo": true,
971972
@@ ... @@
973+
- "strictModuleResolution": false,
974+
+ "strictModuleResolution": true,
975+
@@ ... @@
972976
- "cache": false,
973977
+ "cache": true,
974978
@@ ... @@
@@ -2258,6 +2262,9 @@ describe("snapshots", () => {
22582262
- "pathinfo": false,
22592263
+ "pathinfo": true,
22602264
@@ ... @@
2265+
- "strictModuleResolution": false,
2266+
+ "strictModuleResolution": true,
2267+
@@ ... @@
22612268
- "cache": false,
22622269
+ "cache": true,
22632270
@@ ... @@

test/Validation.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ describe("Validation", () => {
562562
expect(msg).toMatchInlineSnapshot(`
563563
"Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
564564
- configuration.output has an unknown property 'ecmaVersion'. These properties are valid:
565-
object { amdContainer?, assetModuleFilename?, asyncChunks?, auxiliaryComment?, charset?, chunkFilename?, chunkFormat?, chunkLoadTimeout?, chunkLoading?, chunkLoadingGlobal?, clean?, compareBeforeEmit?, crossOriginLoading?, cssChunkFilename?, cssFilename?, devtoolFallbackModuleFilenameTemplate?, devtoolModuleFilenameTemplate?, devtoolNamespace?, enabledChunkLoadingTypes?, enabledLibraryTypes?, enabledWasmLoadingTypes?, environment?, filename?, globalObject?, hashDigest?, hashDigestLength?, hashFunction?, hashSalt?, hotUpdateChunkFilename?, hotUpdateGlobal?, hotUpdateMainFilename?, htmlChunkFilename?, htmlFilename?, ignoreBrowserWarnings?, iife?, importFunctionName?, importMetaName?, library?, libraryExport?, libraryTarget?, module?, path?, pathinfo?, publicPath?, scriptType?, sourceMapFilename?, sourcePrefix?, strictModuleErrorHandling?, strictModuleExceptionHandling?, trustedTypes?, umdNamedDefine?, uniqueName?, wasmLoading?, webassemblyModuleFilename?, workerChunkLoading?, workerPublicPath?, workerWasmLoading? }
565+
object { amdContainer?, assetModuleFilename?, asyncChunks?, auxiliaryComment?, charset?, chunkFilename?, chunkFormat?, chunkLoadTimeout?, chunkLoading?, chunkLoadingGlobal?, clean?, compareBeforeEmit?, crossOriginLoading?, cssChunkFilename?, cssFilename?, devtoolFallbackModuleFilenameTemplate?, devtoolModuleFilenameTemplate?, devtoolNamespace?, enabledChunkLoadingTypes?, enabledLibraryTypes?, enabledWasmLoadingTypes?, environment?, filename?, globalObject?, hashDigest?, hashDigestLength?, hashFunction?, hashSalt?, hotUpdateChunkFilename?, hotUpdateGlobal?, hotUpdateMainFilename?, htmlChunkFilename?, htmlFilename?, ignoreBrowserWarnings?, iife?, importFunctionName?, importMetaName?, library?, libraryExport?, libraryTarget?, module?, path?, pathinfo?, publicPath?, scriptType?, sourceMapFilename?, sourcePrefix?, strictModuleErrorHandling?, strictModuleExceptionHandling?, strictModuleResolution?, trustedTypes?, umdNamedDefine?, uniqueName?, wasmLoading?, webassemblyModuleFilename?, workerChunkLoading?, workerPublicPath?, workerWasmLoading? }
566566
-> Options affecting the output of the compilation. \`output\` options tell webpack how to write the compiled files to disk.
567567
Did you mean output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)?"
568568
`)

0 commit comments

Comments
 (0)