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
+22
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,28 @@ exports[`CssMinimizerPlugin should work and show minimized assets in stats: erro
69
69
70
70
exports[`CssMinimizerPlugin should work and show minimized assets in stats: warnings 1`] = `Array []`;
71
71
72
+
exports[`CssMinimizerPlugin should work in watch mode: assets 1`] = `
73
+
Object {
74
+
"style-2.css": "a{color:coral}",
75
+
"style.css": "a{color:red}",
76
+
}
77
+
`;
78
+
79
+
exports[`CssMinimizerPlugin should work in watch mode: assets 2`] = `
80
+
Object {
81
+
"style-2.css": "a{color:coral}",
82
+
"style.css": "a{color:red}",
83
+
}
84
+
`;
85
+
86
+
exports[`CssMinimizerPlugin should work in watch mode: errors 1`] = `Array []`;
87
+
88
+
exports[`CssMinimizerPlugin should work in watch mode: errors 2`] = `Array []`;
89
+
90
+
exports[`CssMinimizerPlugin should work in watch mode: warnings 1`] = `Array []`;
91
+
92
+
exports[`CssMinimizerPlugin should work in watch mode: warnings 2`] = `Array []`;
93
+
72
94
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\\":\\"\\"}"`;
73
95
74
96
exports[`CssMinimizerPlugin should work with assets using querystring: entry.css?v=test 1`] = `
@@ -79,6 +79,28 @@ exports[`CssMinimizerPlugin should work and show minimized assets in stats: erro
79
79
80
80
exports[`CssMinimizerPlugin should work and show minimized assets in stats: warnings 1`] = `Array []`;
81
81
82
+
exports[`CssMinimizerPlugin should work in watch mode: assets 1`] = `
83
+
Object {
84
+
"style-2.css": "a{color:coral}",
85
+
"style.css": "a{color:red}",
86
+
}
87
+
`;
88
+
89
+
exports[`CssMinimizerPlugin should work in watch mode: assets 2`] = `
90
+
Object {
91
+
"style-2.css": "a{color:coral}",
92
+
"style.css": "a{color:red}",
93
+
}
94
+
`;
95
+
96
+
exports[`CssMinimizerPlugin should work in watch mode: errors 1`] = `Array []`;
97
+
98
+
exports[`CssMinimizerPlugin should work in watch mode: errors 2`] = `Array []`;
99
+
100
+
exports[`CssMinimizerPlugin should work in watch mode: warnings 1`] = `Array []`;
101
+
102
+
exports[`CssMinimizerPlugin should work in watch mode: warnings 2`] = `Array []`;
103
+
82
104
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\\":\\"\\"}"`;
83
105
84
106
exports[`CssMinimizerPlugin should work with assets using querystring: entry.css?v=test 1`] = `
0 commit comments