@@ -4,15 +4,15 @@ exports[`ICSS show work with the case "duplicate-export": errors 1`] = `Array []
4
4
5
5
exports [` ICSS show work with the case "duplicate-export": module 1` ] = `
6
6
"// Imports
7
- var ___CSS_LOADER_API_IMPORT___ = require( \\ "../../../../../src/runtime/api.js\\ ") ;
8
- ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
7
+ import ___CSS_LOADER_API_IMPORT___ from \\ "../../../../../src/runtime/api.js\\ ";
8
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
9
9
// Module
10
10
___CSS_LOADER_EXPORT___.push([module.id, \\ "\\\\ n\\ ", \\ "\\ "]);
11
11
// Exports
12
12
___CSS_LOADER_EXPORT___.locals = {
13
13
\\" _test\\ " : \\" _right_value\\ "
14
14
} ;
15
- module.exports = ___CSS_LOADER_EXPORT___;
15
+ export default ___CSS_LOADER_EXPORT___;
16
16
"
17
17
` ;
18
18
@@ -33,15 +33,15 @@ exports[`ICSS show work with the case "duplicate-export-in-multiple-export": err
33
33
34
34
exports [` ICSS show work with the case "duplicate-export-in-multiple-export": module 1` ] = `
35
35
"// Imports
36
- var ___CSS_LOADER_API_IMPORT___ = require( \\ "../../../../../src/runtime/api.js\\ ") ;
37
- ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
36
+ import ___CSS_LOADER_API_IMPORT___ from \\ "../../../../../src/runtime/api.js\\ ";
37
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
38
38
// Module
39
39
___CSS_LOADER_EXPORT___.push([module.id, \\ "\\\\ n\\ ", \\ "\\ "]);
40
40
// Exports
41
41
___CSS_LOADER_EXPORT___.locals = {
42
42
\\" _test\\ " : \\" _right_value\\ "
43
43
} ;
44
- module.exports = ___CSS_LOADER_EXPORT___;
44
+ export default ___CSS_LOADER_EXPORT___;
45
45
"
46
46
` ;
47
47
@@ -62,12 +62,12 @@ exports[`ICSS show work with the case "empty-export": errors 1`] = `Array []`;
62
62
63
63
exports [` ICSS show work with the case "empty-export": module 1` ] = `
64
64
"// Imports
65
- var ___CSS_LOADER_API_IMPORT___ = require( \\ "../../../../../src/runtime/api.js\\ ") ;
66
- ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
65
+ import ___CSS_LOADER_API_IMPORT___ from \\ "../../../../../src/runtime/api.js\\ ";
66
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
67
67
// Module
68
68
___CSS_LOADER_EXPORT___.push([module.id, \\ "\\\\ n\\ ", \\ "\\ "]);
69
69
// Exports
70
- module.exports = ___CSS_LOADER_EXPORT___;
70
+ export default ___CSS_LOADER_EXPORT___;
71
71
"
72
72
` ;
73
73
@@ -88,12 +88,12 @@ exports[`ICSS show work with the case "empty-import": errors 1`] = `Array []`;
88
88
89
89
exports [` ICSS show work with the case "empty-import": module 1` ] = `
90
90
"// Imports
91
- var ___CSS_LOADER_API_IMPORT___ = require( \\ "../../../../../src/runtime/api.js\\ ") ;
92
- ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
91
+ import ___CSS_LOADER_API_IMPORT___ from \\ "../../../../../src/runtime/api.js\\ ";
92
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
93
93
// Module
94
94
___CSS_LOADER_EXPORT___.push([module.id, \\ "\\\\ n\\ ", \\ "\\ "]);
95
95
// Exports
96
- module.exports = ___CSS_LOADER_EXPORT___;
96
+ export default ___CSS_LOADER_EXPORT___;
97
97
"
98
98
` ;
99
99
@@ -114,15 +114,15 @@ exports[`ICSS show work with the case "export": errors 1`] = `Array []`;
114
114
115
115
exports [` ICSS show work with the case "export": module 1` ] = `
116
116
"// Imports
117
- var ___CSS_LOADER_API_IMPORT___ = require( \\ "../../../../../src/runtime/api.js\\ ") ;
118
- ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
117
+ import ___CSS_LOADER_API_IMPORT___ from \\ "../../../../../src/runtime/api.js\\ ";
118
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
119
119
// Module
120
120
___CSS_LOADER_EXPORT___.push([module.id, \\ "\\\\ n\\ ", \\ "\\ "]);
121
121
// Exports
122
122
___CSS_LOADER_EXPORT___.locals = {
123
123
\\" _test\\ " : \\" _test\\ "
124
124
} ;
125
- module.exports = ___CSS_LOADER_EXPORT___;
125
+ export default ___CSS_LOADER_EXPORT___;
126
126
"
127
127
` ;
128
128
@@ -143,16 +143,16 @@ exports[`ICSS show work with the case "export-reserved-keywords": errors 1`] = `
143
143
144
144
exports [` ICSS show work with the case "export-reserved-keywords": module 1` ] = `
145
145
"// Imports
146
- var ___CSS_LOADER_API_IMPORT___ = require( \\ "../../../../../src/runtime/api.js\\ ") ;
147
- ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
146
+ import ___CSS_LOADER_API_IMPORT___ from \\ "../../../../../src/runtime/api.js\\ ";
147
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
148
148
// Module
149
149
___CSS_LOADER_EXPORT___.push([module.id, \\ "\\\\ n\\ ", \\ "\\ "]);
150
150
// Exports
151
151
___CSS_LOADER_EXPORT___.locals = {
152
152
\\" constructor\\ " : \\" constructor\\ " ,
153
153
\\" toString\\ " : \\" toString\\ "
154
154
} ;
155
- module.exports = ___CSS_LOADER_EXPORT___;
155
+ export default ___CSS_LOADER_EXPORT___;
156
156
"
157
157
` ;
158
158
@@ -173,17 +173,17 @@ exports[`ICSS show work with the case "import": errors 1`] = `Array []`;
173
173
174
174
exports [` ICSS show work with the case "import": module 1` ] = `
175
175
"// Imports
176
- var ___CSS_LOADER_API_IMPORT___ = require( \\ "../../../../../src/runtime/api.js\\ ") ;
177
- var ___CSS_LOADER_ICSS_IMPORT_0___ = require( \\ "-!../../../../../src/index.js??[ident]!./vars.css\\ ") ;
178
- ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
176
+ import ___CSS_LOADER_API_IMPORT___ from \\ "../../../../../src/runtime/api.js\\ ";
177
+ import ___CSS_LOADER_ICSS_IMPORT_0___ from \\ "-!../../../../../src/index.js??[ident]!./vars.css\\ ";
178
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
179
179
___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\ "\\ ", true);
180
180
// Module
181
181
___CSS_LOADER_EXPORT___.push([module.id, \\ ".className { \\\\n color : \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\ " primary - color \\" ] + \\ " ;\\\\n } \\\\ n\\ ", \\ "\\ "]);
182
182
// Exports
183
183
___CSS_LOADER_EXPORT___.locals = {
184
184
\\" primary-color\\ " : \\" \\ " + ___CSS_LOADER_ICSS_IMPORT_0___ .locals [\\" primary-color\\ " ] + \\" \\ "
185
185
} ;
186
- module.exports = ___CSS_LOADER_EXPORT___;
186
+ export default ___CSS_LOADER_EXPORT___;
187
187
"
188
188
` ;
189
189
@@ -212,9 +212,9 @@ exports[`ICSS show work with the case "import-reserved-keywords": errors 1`] = `
212
212
213
213
exports [` ICSS show work with the case "import-reserved-keywords": module 1` ] = `
214
214
"// Imports
215
- var ___CSS_LOADER_API_IMPORT___ = require( \\ "../../../../../src/runtime/api.js\\ ") ;
216
- var ___CSS_LOADER_ICSS_IMPORT_0___ = require( \\ "-!../../../../../src/index.js??[ident]!./vars.css\\ ") ;
217
- ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
215
+ import ___CSS_LOADER_API_IMPORT___ from \\ "../../../../../src/runtime/api.js\\ ";
216
+ import ___CSS_LOADER_ICSS_IMPORT_0___ from \\ "-!../../../../../src/index.js??[ident]!./vars.css\\ ";
217
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
218
218
___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\ "\\ ", true);
219
219
// Module
220
220
___CSS_LOADER_EXPORT___.push([module.id, \\ ".className { \\\\n color : \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\ " primary - color \\" ] + \\ " ;\\\\n display : \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\ " secondary - color \\" ] + \\ " ;\\\\n } \\\\ n\\ ", \\ "\\ "]);
@@ -223,7 +223,7 @@ ___CSS_LOADER_EXPORT___.locals = {
223
223
\\" primary-color\\ " : \\" \\ " + ___CSS_LOADER_ICSS_IMPORT_0___ .locals [\\" primary-color\\ " ] + \\" \\ " ,
224
224
\\" secondary-color\\ " : \\" \\ " + ___CSS_LOADER_ICSS_IMPORT_0___ .locals [\\" secondary-color\\ " ] + \\" \\ "
225
225
} ;
226
- module.exports = ___CSS_LOADER_EXPORT___;
226
+ export default ___CSS_LOADER_EXPORT___;
227
227
"
228
228
` ;
229
229
@@ -253,16 +253,16 @@ exports[`ICSS show work with the case "multiple-export": errors 1`] = `Array []`
253
253
254
254
exports [` ICSS show work with the case "multiple-export": module 1` ] = `
255
255
"// Imports
256
- var ___CSS_LOADER_API_IMPORT___ = require( \\ "../../../../../src/runtime/api.js\\ ") ;
257
- ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
256
+ import ___CSS_LOADER_API_IMPORT___ from \\ "../../../../../src/runtime/api.js\\ ";
257
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
258
258
// Module
259
259
___CSS_LOADER_EXPORT___.push([module.id, \\ "\\\\ n\\ ", \\ "\\ "]);
260
260
// Exports
261
261
___CSS_LOADER_EXPORT___.locals = {
262
262
\\" _test\\ " : \\" _test\\ " ,
263
263
\\" _foo\\ " : \\" _bar\\ "
264
264
} ;
265
- module.exports = ___CSS_LOADER_EXPORT___;
265
+ export default ___CSS_LOADER_EXPORT___;
266
266
"
267
267
` ;
268
268
@@ -283,8 +283,8 @@ exports[`ICSS show work with the case "multiple-keys-values-in-export": errors 1
283
283
284
284
exports [` ICSS show work with the case "multiple-keys-values-in-export": module 1` ] = `
285
285
"// Imports
286
- var ___CSS_LOADER_API_IMPORT___ = require( \\ "../../../../../src/runtime/api.js\\ ") ;
287
- ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
286
+ import ___CSS_LOADER_API_IMPORT___ from \\ "../../../../../src/runtime/api.js\\ ";
287
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
288
288
// Module
289
289
___CSS_LOADER_EXPORT___.push([module.id, \\ "\\\\ n\\ ", \\ "\\ "]);
290
290
// Exports
@@ -295,7 +295,7 @@ ___CSS_LOADER_EXPORT___.locals = {
295
295
\\" _test3\\ " : \\" 1px 2px 3px\\ " ,
296
296
\\" _test4\\ " : \\" 1px 2px 3px, 1px 2px 3px\\ "
297
297
} ;
298
- module.exports = ___CSS_LOADER_EXPORT___;
298
+ export default ___CSS_LOADER_EXPORT___;
299
299
"
300
300
` ;
301
301
0 commit comments