You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/__snapshots__/CssMinimizerPlugin.test.js.snap.webpack4
+9-1
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,15 @@ Array [
49
49
]
50
50
`;
51
51
52
-
exports[`CssMinimizerPlugin should respect the hash options #1: entry.css 1`] = `"a{text-align:center}"`;
52
+
exports[`CssMinimizerPlugin should respect the hash options #1: assets 1`] = `
53
+
Object {
54
+
"entry.css": "a{text-align:center}",
55
+
}
56
+
`;
57
+
58
+
exports[`CssMinimizerPlugin should respect the hash options #1: errors 1`] = `Array []`;
59
+
60
+
exports[`CssMinimizerPlugin should respect the hash options #1: warnings 1`] = `Array []`;
53
61
54
62
exports[`CssMinimizerPlugin should work with assets using querystring: entry.css.map?v=test 1`] = `"{\\"version\\":3,\\"sources\\": [replaced for tests], \\"names\\":[],\\"mappings\\":\\"AAAA,KACE,SACF,CACA,EACE,UACF\\",\\"file\\":\\"entry.css?v=test\\",\\"sourcesContent\\":[\\"body {\\\\n color: red;\\\\n}\\\\na {\\\\n color: blue;\\\\n}\\"],\\"sourceRoot\\":\\"\\"}"`;
Copy file name to clipboardExpand all lines: test/__snapshots__/CssMinimizerPlugin.test.js.snap.webpack5
+9-1
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,15 @@ Array [
49
49
]
50
50
`;
51
51
52
-
exports[`CssMinimizerPlugin should respect the hash options #1: entry.css 1`] = `"a{text-align:center}"`;
52
+
exports[`CssMinimizerPlugin should respect the hash options #1: assets 1`] = `
53
+
Object {
54
+
"entry.css": "a{text-align:center}",
55
+
}
56
+
`;
57
+
58
+
exports[`CssMinimizerPlugin should respect the hash options #1: errors 1`] = `Array []`;
59
+
60
+
exports[`CssMinimizerPlugin should respect the hash options #1: warnings 1`] = `Array []`;
53
61
54
62
exports[`CssMinimizerPlugin should work with assets using querystring: entry.css.map?v=test 1`] = `"{\\"version\\":3,\\"sources\\": [replaced for tests], \\"names\\":[],\\"mappings\\":\\"AAAA,KACE,SACF,CACA,EACE,UACF\\",\\"file\\":\\"entry.css?v=test\\",\\"sourcesContent\\":[\\"body {\\\\n color: red;\\\\n}\\\\na {\\\\n color: blue;\\\\n}\\"],\\"sourceRoot\\":\\"\\"}"`;
exports[`when applied with "sourceMap" option matches snapshot for "true" value, without previous sourcemap: entry.css.map 1`] = `"{\\"version\\":3,\\"sources\\": [replaced for tests], \\"names\\":[],\\"mappings\\":\\"AAAA,KACE,gBCEA,SDFiB,CCCnB,OAGI,iBAAkB\\",\\"file\\":\\"entry.css\\",\\"sourcesContent\\":[\\"body {\\\\n font-weight: bold;\\\\n}\\",\\"@import 'bar';\\\\n\\\\nbody {\\\\n color: red;\\\\n a {\\\\n text-align: center;\\\\n }\\\\n}\\"],\\"sourceRoot\\":\\"\\"}"`;
52
+
37
53
exports[`when applied with "sourceMap" option matches snapshot for "true" value, without previous sourcemap: entry2.css.map 1`] = `"{\\"version\\":3,\\"sources\\": [replaced for tests], \\"names\\":[],\\"mappings\\":\\"AAAA,KACE,gBCEA,SDFiB,CCGlB,OAGC,iBAAkB\\",\\"file\\":\\"entry2.css\\",\\"sourcesContent\\":[\\"body {\\\\n font-weight: bold;\\\\n}\\",\\"@import 'bar';\\\\n\\\\nbody {\\\\n color: red;\\\\n}\\\\n\\\\nbody a {\\\\n text-align: center;\\\\n}\\"],\\"sourceRoot\\":\\"\\"}"`;
38
54
39
-
exports[`when applied with "sourceMap" option matches snapshot when using SourceMapDevToolPlugin (with filename, publicPath and fileContext options): dist/entry.css 1`] = `
exports[`when applied with "sourceMap" option matches snapshot for "true" value, without previous sourcemap: errors 1`] = `Array []`;
43
56
44
-
exports[`when applied with "sourceMap" option matches snapshot when using SourceMapDevToolPlugin (with filename, publicPath and fileContext options): dist/entry2.css 1`] = `
exports[`when applied with "sourceMap" option matches snapshot for "true" value, without previous sourcemap: warnings 1`] = `Array []`;
58
+
59
+
exports[`when applied with "sourceMap" option matches snapshot when using SourceMapDevToolPlugin (with filename, publicPath and fileContext options): assets 1`] = `
0 commit comments