@@ -13672,66 +13672,9 @@ Array [
13672
13672
13673
13673
exports[`"modules" option show work when the "modules" option is "icss", case "multiple-keys-values-in-export": warnings 1`] = `Array []`;
13674
13674
13675
- exports[`"modules" option show work with the "compileType" and "exportOnlyLocals" options : errors 1`] = `Array []`;
13675
+ exports[`"modules" option show work with the "mode" option using the "local" value : errors 1`] = `Array []`;
13676
13676
13677
- exports[`"modules" option show work with the "compileType" and "exportOnlyLocals" options: module 1`] = `
13678
- "// Imports
13679
- import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./vars.css\\";
13680
- // Exports
13681
- export default {
13682
- \\"primary-color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___[\\"primary-color\\"] + \\"\\"
13683
- };
13684
- "
13685
- `;
13686
-
13687
- exports[`"modules" option show work with the "compileType" and "exportOnlyLocals" options: result 1`] = `
13688
- Object {
13689
- "primary-color": "red",
13690
- }
13691
- `;
13692
-
13693
- exports[`"modules" option show work with the "compileType" and "exportOnlyLocals" options: warnings 1`] = `Array []`;
13694
-
13695
- exports[`"modules" option show work with the "compileType" and "namedExport" options: errors 1`] = `Array []`;
13696
-
13697
- exports[`"modules" option show work with the "compileType" and "namedExport" options: module 1`] = `
13698
- "// Imports
13699
- import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
13700
- import ___CSS_LOADER_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from \\"-!../../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./vars.css\\";
13701
- var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
13702
- ___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true);
13703
- // Module
13704
- ___CSS_LOADER_EXPORT___.push([module.id, \\".className {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"primaryColor\\"] + \\";\\\\n}\\\\n\\", \\"\\"]);
13705
- // Exports
13706
- export const primaryColor = \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"primaryColor\\"] + \\"\\";
13707
- export default ___CSS_LOADER_EXPORT___;
13708
- "
13709
- `;
13710
-
13711
- exports[`"modules" option show work with the "compileType" and "namedExport" options: result 1`] = `
13712
- Array [
13713
- Array [
13714
- "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/icss/tests-cases/import/vars.css",
13715
- "
13716
- ",
13717
- "",
13718
- ],
13719
- Array [
13720
- "./modules/icss/tests-cases/import/source.css",
13721
- ".className {
13722
- color: red;
13723
- }
13724
- ",
13725
- "",
13726
- ],
13727
- ]
13728
- `;
13729
-
13730
- exports[`"modules" option show work with the "compileType" and "namedExport" options: warnings 1`] = `Array []`;
13731
-
13732
- exports[`"modules" option show work with the "compileType" option using the "module" value: errors 1`] = `Array []`;
13733
-
13734
- exports[`"modules" option show work with the "compileType" option using the "module" value: module 1`] = `
13677
+ exports[`"modules" option show work with the "mode" option using the "local" value: module 1`] = `
13735
13678
"// Imports
13736
13679
import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\";
13737
13680
import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./values.css\\";
@@ -13812,7 +13755,7 @@ export default ___CSS_LOADER_EXPORT___;
13812
13755
"
13813
13756
`;
13814
13757
13815
- exports[`"modules" option show work with the "compileType " option using the "module " value: result 1`] = `
13758
+ exports[`"modules" option show work with the "mode " option using the "local " value: result 1`] = `
13816
13759
Array [
13817
13760
Array [
13818
13761
"../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/test-other.css",
@@ -14008,11 +13951,68 @@ a {
14008
13951
]
14009
13952
`;
14010
13953
14011
- exports[`"modules" option show work with the "compileType" option using the "module" value: warnings 1`] = `Array []`;
13954
+ exports[`"modules" option show work with the "mode" option using the "local" value: warnings 1`] = `Array []`;
13955
+
13956
+ exports[`"modules" option show work with the "mode: icss" and "exportOnlyLocals" options: errors 1`] = `Array []`;
13957
+
13958
+ exports[`"modules" option show work with the "mode: icss" and "exportOnlyLocals" options: module 1`] = `
13959
+ "// Imports
13960
+ import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./vars.css\\";
13961
+ // Exports
13962
+ export default {
13963
+ \\"primary-color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___[\\"primary-color\\"] + \\"\\"
13964
+ };
13965
+ "
13966
+ `;
13967
+
13968
+ exports[`"modules" option show work with the "mode: icss" and "exportOnlyLocals" options: result 1`] = `
13969
+ Object {
13970
+ "primary-color": "red",
13971
+ }
13972
+ `;
13973
+
13974
+ exports[`"modules" option show work with the "mode: icss" and "exportOnlyLocals" options: warnings 1`] = `Array []`;
13975
+
13976
+ exports[`"modules" option show work with the "mode: icss" and "namedExport" options: errors 1`] = `Array []`;
13977
+
13978
+ exports[`"modules" option show work with the "mode: icss" and "namedExport" options: module 1`] = `
13979
+ "// Imports
13980
+ import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
13981
+ import ___CSS_LOADER_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from \\"-!../../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./vars.css\\";
13982
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
13983
+ ___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true);
13984
+ // Module
13985
+ ___CSS_LOADER_EXPORT___.push([module.id, \\".className {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"primaryColor\\"] + \\";\\\\n}\\\\n\\", \\"\\"]);
13986
+ // Exports
13987
+ export const primaryColor = \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"primaryColor\\"] + \\"\\";
13988
+ export default ___CSS_LOADER_EXPORT___;
13989
+ "
13990
+ `;
13991
+
13992
+ exports[`"modules" option show work with the "mode: icss" and "namedExport" options: result 1`] = `
13993
+ Array [
13994
+ Array [
13995
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/icss/tests-cases/import/vars.css",
13996
+ "
13997
+ ",
13998
+ "",
13999
+ ],
14000
+ Array [
14001
+ "./modules/icss/tests-cases/import/source.css",
14002
+ ".className {
14003
+ color: red;
14004
+ }
14005
+ ",
14006
+ "",
14007
+ ],
14008
+ ]
14009
+ `;
14010
+
14011
+ exports[`"modules" option show work with the "mode: icss" and "namedExport" options: warnings 1`] = `Array []`;
14012
14012
14013
- exports[`"modules" option show work with the "compileType " option, case "duplicate-export": errors 1`] = `Array []`;
14013
+ exports[`"modules" option show work with the "mode: icss " option, case "duplicate-export": errors 1`] = `Array []`;
14014
14014
14015
- exports[`"modules" option show work with the "compileType " option, case "duplicate-export": module 1`] = `
14015
+ exports[`"modules" option show work with the "mode: icss " option, case "duplicate-export": module 1`] = `
14016
14016
"// Imports
14017
14017
import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
14018
14018
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
@@ -14026,7 +14026,7 @@ export default ___CSS_LOADER_EXPORT___;
14026
14026
"
14027
14027
`;
14028
14028
14029
- exports[`"modules" option show work with the "compileType " option, case "duplicate-export": result 1`] = `
14029
+ exports[`"modules" option show work with the "mode: icss " option, case "duplicate-export": result 1`] = `
14030
14030
Array [
14031
14031
Array [
14032
14032
"./modules/icss/tests-cases/duplicate-export/source.css",
@@ -14037,11 +14037,11 @@ Array [
14037
14037
]
14038
14038
`;
14039
14039
14040
- exports[`"modules" option show work with the "compileType " option, case "duplicate-export": warnings 1`] = `Array []`;
14040
+ exports[`"modules" option show work with the "mode: icss " option, case "duplicate-export": warnings 1`] = `Array []`;
14041
14041
14042
- exports[`"modules" option show work with the "compileType " option, case "duplicate-export-in-multiple-export": errors 1`] = `Array []`;
14042
+ exports[`"modules" option show work with the "mode: icss " option, case "duplicate-export-in-multiple-export": errors 1`] = `Array []`;
14043
14043
14044
- exports[`"modules" option show work with the "compileType " option, case "duplicate-export-in-multiple-export": module 1`] = `
14044
+ exports[`"modules" option show work with the "mode: icss " option, case "duplicate-export-in-multiple-export": module 1`] = `
14045
14045
"// Imports
14046
14046
import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
14047
14047
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
@@ -14055,7 +14055,7 @@ export default ___CSS_LOADER_EXPORT___;
14055
14055
"
14056
14056
`;
14057
14057
14058
- exports[`"modules" option show work with the "compileType " option, case "duplicate-export-in-multiple-export": result 1`] = `
14058
+ exports[`"modules" option show work with the "mode: icss " option, case "duplicate-export-in-multiple-export": result 1`] = `
14059
14059
Array [
14060
14060
Array [
14061
14061
"./modules/icss/tests-cases/duplicate-export-in-multiple-export/source.css",
@@ -14066,11 +14066,11 @@ Array [
14066
14066
]
14067
14067
`;
14068
14068
14069
- exports[`"modules" option show work with the "compileType " option, case "duplicate-export-in-multiple-export": warnings 1`] = `Array []`;
14069
+ exports[`"modules" option show work with the "mode: icss " option, case "duplicate-export-in-multiple-export": warnings 1`] = `Array []`;
14070
14070
14071
- exports[`"modules" option show work with the "compileType " option, case "empty-export": errors 1`] = `Array []`;
14071
+ exports[`"modules" option show work with the "mode: icss " option, case "empty-export": errors 1`] = `Array []`;
14072
14072
14073
- exports[`"modules" option show work with the "compileType " option, case "empty-export": module 1`] = `
14073
+ exports[`"modules" option show work with the "mode: icss " option, case "empty-export": module 1`] = `
14074
14074
"// Imports
14075
14075
import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
14076
14076
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
@@ -14081,7 +14081,7 @@ export default ___CSS_LOADER_EXPORT___;
14081
14081
"
14082
14082
`;
14083
14083
14084
- exports[`"modules" option show work with the "compileType " option, case "empty-export": result 1`] = `
14084
+ exports[`"modules" option show work with the "mode: icss " option, case "empty-export": result 1`] = `
14085
14085
Array [
14086
14086
Array [
14087
14087
"./modules/icss/tests-cases/empty-export/source.css",
@@ -14092,11 +14092,11 @@ Array [
14092
14092
]
14093
14093
`;
14094
14094
14095
- exports[`"modules" option show work with the "compileType " option, case "empty-export": warnings 1`] = `Array []`;
14095
+ exports[`"modules" option show work with the "mode: icss " option, case "empty-export": warnings 1`] = `Array []`;
14096
14096
14097
- exports[`"modules" option show work with the "compileType " option, case "empty-import": errors 1`] = `Array []`;
14097
+ exports[`"modules" option show work with the "mode: icss " option, case "empty-import": errors 1`] = `Array []`;
14098
14098
14099
- exports[`"modules" option show work with the "compileType " option, case "empty-import": module 1`] = `
14099
+ exports[`"modules" option show work with the "mode: icss " option, case "empty-import": module 1`] = `
14100
14100
"// Imports
14101
14101
import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
14102
14102
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
@@ -14107,7 +14107,7 @@ export default ___CSS_LOADER_EXPORT___;
14107
14107
"
14108
14108
`;
14109
14109
14110
- exports[`"modules" option show work with the "compileType " option, case "empty-import": result 1`] = `
14110
+ exports[`"modules" option show work with the "mode: icss " option, case "empty-import": result 1`] = `
14111
14111
Array [
14112
14112
Array [
14113
14113
"./modules/icss/tests-cases/empty-import/source.css",
@@ -14118,11 +14118,11 @@ Array [
14118
14118
]
14119
14119
`;
14120
14120
14121
- exports[`"modules" option show work with the "compileType " option, case "empty-import": warnings 1`] = `Array []`;
14121
+ exports[`"modules" option show work with the "mode: icss " option, case "empty-import": warnings 1`] = `Array []`;
14122
14122
14123
- exports[`"modules" option show work with the "compileType " option, case "export": errors 1`] = `Array []`;
14123
+ exports[`"modules" option show work with the "mode: icss " option, case "export": errors 1`] = `Array []`;
14124
14124
14125
- exports[`"modules" option show work with the "compileType " option, case "export": module 1`] = `
14125
+ exports[`"modules" option show work with the "mode: icss " option, case "export": module 1`] = `
14126
14126
"// Imports
14127
14127
import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
14128
14128
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
@@ -14136,7 +14136,7 @@ export default ___CSS_LOADER_EXPORT___;
14136
14136
"
14137
14137
`;
14138
14138
14139
- exports[`"modules" option show work with the "compileType " option, case "export": result 1`] = `
14139
+ exports[`"modules" option show work with the "mode: icss " option, case "export": result 1`] = `
14140
14140
Array [
14141
14141
Array [
14142
14142
"./modules/icss/tests-cases/export/source.css",
@@ -14147,11 +14147,11 @@ Array [
14147
14147
]
14148
14148
`;
14149
14149
14150
- exports[`"modules" option show work with the "compileType " option, case "export": warnings 1`] = `Array []`;
14150
+ exports[`"modules" option show work with the "mode: icss " option, case "export": warnings 1`] = `Array []`;
14151
14151
14152
- exports[`"modules" option show work with the "compileType " option, case "export-reserved-keywords": errors 1`] = `Array []`;
14152
+ exports[`"modules" option show work with the "mode: icss " option, case "export-reserved-keywords": errors 1`] = `Array []`;
14153
14153
14154
- exports[`"modules" option show work with the "compileType " option, case "export-reserved-keywords": module 1`] = `
14154
+ exports[`"modules" option show work with the "mode: icss " option, case "export-reserved-keywords": module 1`] = `
14155
14155
"// Imports
14156
14156
import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
14157
14157
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
@@ -14166,7 +14166,7 @@ export default ___CSS_LOADER_EXPORT___;
14166
14166
"
14167
14167
`;
14168
14168
14169
- exports[`"modules" option show work with the "compileType " option, case "export-reserved-keywords": result 1`] = `
14169
+ exports[`"modules" option show work with the "mode: icss " option, case "export-reserved-keywords": result 1`] = `
14170
14170
Array [
14171
14171
Array [
14172
14172
"./modules/icss/tests-cases/export-reserved-keywords/source.css",
@@ -14177,11 +14177,11 @@ Array [
14177
14177
]
14178
14178
`;
14179
14179
14180
- exports[`"modules" option show work with the "compileType " option, case "export-reserved-keywords": warnings 1`] = `Array []`;
14180
+ exports[`"modules" option show work with the "mode: icss " option, case "export-reserved-keywords": warnings 1`] = `Array []`;
14181
14181
14182
- exports[`"modules" option show work with the "compileType " option, case "import": errors 1`] = `Array []`;
14182
+ exports[`"modules" option show work with the "mode: icss " option, case "import": errors 1`] = `Array []`;
14183
14183
14184
- exports[`"modules" option show work with the "compileType " option, case "import": module 1`] = `
14184
+ exports[`"modules" option show work with the "mode: icss " option, case "import": module 1`] = `
14185
14185
"// Imports
14186
14186
import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
14187
14187
import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./vars.css\\";
@@ -14197,7 +14197,7 @@ export default ___CSS_LOADER_EXPORT___;
14197
14197
"
14198
14198
`;
14199
14199
14200
- exports[`"modules" option show work with the "compileType " option, case "import": result 1`] = `
14200
+ exports[`"modules" option show work with the "mode: icss " option, case "import": result 1`] = `
14201
14201
Array [
14202
14202
Array [
14203
14203
"../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/icss/tests-cases/import/vars.css",
@@ -14216,11 +14216,11 @@ Array [
14216
14216
]
14217
14217
`;
14218
14218
14219
- exports[`"modules" option show work with the "compileType " option, case "import": warnings 1`] = `Array []`;
14219
+ exports[`"modules" option show work with the "mode: icss " option, case "import": warnings 1`] = `Array []`;
14220
14220
14221
- exports[`"modules" option show work with the "compileType " option, case "import-reserved-keywords": errors 1`] = `Array []`;
14221
+ exports[`"modules" option show work with the "mode: icss " option, case "import-reserved-keywords": errors 1`] = `Array []`;
14222
14222
14223
- exports[`"modules" option show work with the "compileType " option, case "import-reserved-keywords": module 1`] = `
14223
+ exports[`"modules" option show work with the "mode: icss " option, case "import-reserved-keywords": module 1`] = `
14224
14224
"// Imports
14225
14225
import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
14226
14226
import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./vars.css\\";
@@ -14237,7 +14237,7 @@ export default ___CSS_LOADER_EXPORT___;
14237
14237
"
14238
14238
`;
14239
14239
14240
- exports[`"modules" option show work with the "compileType " option, case "import-reserved-keywords": result 1`] = `
14240
+ exports[`"modules" option show work with the "mode: icss " option, case "import-reserved-keywords": result 1`] = `
14241
14241
Array [
14242
14242
Array [
14243
14243
"../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/icss/tests-cases/import-reserved-keywords/vars.css",
@@ -14257,11 +14257,11 @@ Array [
14257
14257
]
14258
14258
`;
14259
14259
14260
- exports[`"modules" option show work with the "compileType " option, case "import-reserved-keywords": warnings 1`] = `Array []`;
14260
+ exports[`"modules" option show work with the "mode: icss " option, case "import-reserved-keywords": warnings 1`] = `Array []`;
14261
14261
14262
- exports[`"modules" option show work with the "compileType " option, case "multiple-export": errors 1`] = `Array []`;
14262
+ exports[`"modules" option show work with the "mode: icss " option, case "multiple-export": errors 1`] = `Array []`;
14263
14263
14264
- exports[`"modules" option show work with the "compileType " option, case "multiple-export": module 1`] = `
14264
+ exports[`"modules" option show work with the "mode: icss " option, case "multiple-export": module 1`] = `
14265
14265
"// Imports
14266
14266
import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
14267
14267
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
@@ -14276,7 +14276,7 @@ export default ___CSS_LOADER_EXPORT___;
14276
14276
"
14277
14277
`;
14278
14278
14279
- exports[`"modules" option show work with the "compileType " option, case "multiple-export": result 1`] = `
14279
+ exports[`"modules" option show work with the "mode: icss " option, case "multiple-export": result 1`] = `
14280
14280
Array [
14281
14281
Array [
14282
14282
"./modules/icss/tests-cases/multiple-export/source.css",
@@ -14287,11 +14287,11 @@ Array [
14287
14287
]
14288
14288
`;
14289
14289
14290
- exports[`"modules" option show work with the "compileType " option, case "multiple-export": warnings 1`] = `Array []`;
14290
+ exports[`"modules" option show work with the "mode: icss " option, case "multiple-export": warnings 1`] = `Array []`;
14291
14291
14292
- exports[`"modules" option show work with the "compileType " option, case "multiple-keys-values-in-export": errors 1`] = `Array []`;
14292
+ exports[`"modules" option show work with the "mode: icss " option, case "multiple-keys-values-in-export": errors 1`] = `Array []`;
14293
14293
14294
- exports[`"modules" option show work with the "compileType " option, case "multiple-keys-values-in-export": module 1`] = `
14294
+ exports[`"modules" option show work with the "mode: icss " option, case "multiple-keys-values-in-export": module 1`] = `
14295
14295
"// Imports
14296
14296
import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
14297
14297
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
@@ -14309,7 +14309,7 @@ export default ___CSS_LOADER_EXPORT___;
14309
14309
"
14310
14310
`;
14311
14311
14312
- exports[`"modules" option show work with the "compileType " option, case "multiple-keys-values-in-export": result 1`] = `
14312
+ exports[`"modules" option show work with the "mode: icss " option, case "multiple-keys-values-in-export": result 1`] = `
14313
14313
Array [
14314
14314
Array [
14315
14315
"./modules/icss/tests-cases/multiple-keys-values-in-export/source.css",
@@ -14320,4 +14320,4 @@ Array [
14320
14320
]
14321
14321
`;
14322
14322
14323
- exports[`"modules" option show work with the "compileType " option, case "multiple-keys-values-in-export": warnings 1`] = `Array []`;
14323
+ exports[`"modules" option show work with the "mode: icss " option, case "multiple-keys-values-in-export": warnings 1`] = `Array []`;
0 commit comments