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
"@import 'bar';\\n\\nbody {\\n color: red;\\n}\\n\\nbody a {\\n text-align: center;\\n}"
105
+
],
106
+
"sourceRoot": ""
107
+
},
108
+
}
109
+
`;
110
+
111
+
exports[`when applied with "sourceMap" option should work with the "devtool" option and the "parallel" option with "false" value: errors 1`] = `Array []`;
112
+
113
+
exports[`when applied with "sourceMap" option should work with the "devtool" option and the "parallel" option with "false" value: warnings 1`] = `Array []`;
114
+
115
+
exports[`when applied with "sourceMap" option should work with the "devtool" option and the "parallel" option with "true" value: assets 1`] = `
"@import 'bar';\\n\\nbody {\\n color: red;\\n}\\n\\nbody a {\\n text-align: center;\\n}"
148
+
],
149
+
"sourceRoot": ""
150
+
},
151
+
}
152
+
`;
153
+
154
+
exports[`when applied with "sourceMap" option should work with the "devtool" option and the "parallel" option with "true" value: errors 1`] = `Array []`;
155
+
156
+
exports[`when applied with "sourceMap" option should work with the "devtool" option and the "parallel" option with "true" value: warnings 1`] = `Array []`;
157
+
72
158
exports[`when applied with "sourceMap" option should work with the "devtool" option: assets 1`] = `
Copy file name to clipboardExpand all lines: test/__snapshots__/worker.test.js.snap.webpack4
+2-34Lines changed: 2 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -8,43 +8,11 @@ Array [
8
8
9
9
exports[`worker should minify css: css 1`] = `".foo{color:red}.bar{color:coral}"`;
10
10
11
-
exports[`worker should minify css: map 1`] = `
12
-
Object {
13
-
"file": "entry.css",
14
-
"mappings": "AAAA,KAAK,SAAA,CCCL,KAAK,WAAY",
15
-
"names": Array [],
16
-
"sources": Array [
17
-
"foo.css",
18
-
"entry.css",
19
-
],
20
-
"sourcesContent": Array [
21
-
".foo{color:red;}",
22
-
".foo{color:red;}
23
-
.bar{color:coral;}",
24
-
],
25
-
"version": 3,
26
-
}
27
-
`;
11
+
exports[`worker should minify css: map 1`] = `"{\\"version\\":3,\\"sources\\":[\\"foo.css\\",\\"entry.css\\"],\\"names\\":[],\\"mappings\\":\\"AAAA,KAAK,SAAA,CCCL,KAAK,WAAY\\",\\"file\\":\\"entry.css\\",\\"sourcesContent\\":[\\".foo{color:red;}\\",\\".foo{color:red;}\\\\n.bar{color:coral;}\\"]}"`;
28
12
29
13
exports[`worker should work inputSourceMap as prev: css 1`] = `".foo{color:red}.bar{color:coral}"`;
30
14
31
-
exports[`worker should work inputSourceMap as prev: map 1`] = `
32
-
Object {
33
-
"file": "entry.css",
34
-
"mappings": "AAAA,KAAK,SAAA,CCCL,KAAK,WAAY",
35
-
"names": Array [],
36
-
"sources": Array [
37
-
"foo.css",
38
-
"entry.css",
39
-
],
40
-
"sourcesContent": Array [
41
-
".foo{color:red;}",
42
-
".foo{color:red;}
43
-
.bar{color:coral;}",
44
-
],
45
-
"version": 3,
46
-
}
47
-
`;
15
+
exports[`worker should work inputSourceMap as prev: map 1`] = `"{\\"version\\":3,\\"sources\\":[\\"foo.css\\",\\"entry.css\\"],\\"names\\":[],\\"mappings\\":\\"AAAA,KAAK,SAAA,CCCL,KAAK,WAAY\\",\\"file\\":\\"entry.css\\",\\"sourcesContent\\":[\\".foo{color:red;}\\",\\".foo{color:red;}\\\\n.bar{color:coral;}\\"]}"`;
48
16
49
17
exports[`worker should work options.minify function: css 1`] = `".minify {};"`;
0 commit comments