";
+ message += `${error.reason}`;
+
+ const code = error.showSourceCode();
+
+ if (code) {
+ message += `\n\n${code}\n`;
+ }
+
+ const obj = new Error(message, { cause: error });
+
+ obj.stack = null;
+
+ return obj;
+}
+
+function supportTemplateLiteral(loaderContext) {
+ if (loaderContext.environment && loaderContext.environment.templateLiteral) {
return true;
- };
+ }
+
+ // TODO remove in the next major release
+ if (
+ // eslint-disable-next-line no-underscore-dangle
+ loaderContext._compilation &&
+ // eslint-disable-next-line no-underscore-dangle
+ loaderContext._compilation.options &&
+ // eslint-disable-next-line no-underscore-dangle
+ loaderContext._compilation.options.output &&
+ // eslint-disable-next-line no-underscore-dangle
+ loaderContext._compilation.options.output.environment &&
+ // eslint-disable-next-line no-underscore-dangle
+ loaderContext._compilation.options.output.environment.templateLiteral
+ ) {
+ return true;
+ }
+
+ return false;
}
export {
- getImportPrefix,
- getLocalIdent,
- placholderRegExps,
- camelCase,
- dashesCamelCase,
+ normalizeOptions,
+ shouldUseModulesPlugins,
+ shouldUseImportPlugin,
+ shouldUseURLPlugin,
+ shouldUseIcssPlugin,
+ normalizeUrl,
+ requestify,
getFilter,
+ getModulesOptions,
+ getModulesPlugins,
+ normalizeSourceMap,
+ getPreRequester,
+ getImportCode,
+ getModuleCode,
+ getExportCode,
+ resolveRequests,
+ isURLRequestable,
+ sort,
+ WEBPACK_IGNORE_COMMENT_REGEXP,
+ combineRequests,
+ camelCase,
+ stringifyRequest,
+ isDataUrl,
+ defaultGetLocalIdent,
+ warningFactory,
+ syntaxErrorFactory,
+ supportTemplateLiteral,
};
diff --git a/test/__snapshots__/camelCase-option.test.js.snap b/test/__snapshots__/camelCase-option.test.js.snap
deleted file mode 100644
index 537f463e..00000000
--- a/test/__snapshots__/camelCase-option.test.js.snap
+++ /dev/null
@@ -1,202 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`camelCase option dashes: errors 1`] = `Array []`;
-
-exports[`camelCase option dashes: locals 1`] = `
-Object {
- "btn--info_is-disabled_1": "jDvNwV-WRSMB9n2z9QrzR",
- "btn-info_is-disabled": "_1XTfjK5gKYeSzbdZhEXRpF",
- "btnInfo_isDisabled": "_1XTfjK5gKYeSzbdZhEXRpF",
- "btnInfo_isDisabled_1": "jDvNwV-WRSMB9n2z9QrzR",
- "foo": "bar",
- "my-btn-info_is-disabled": "value",
- "myBtnInfo_isDisabled": "value",
- "simple": "_1penVf9PMtov2qLxmtsMjq",
-}
-`;
-
-exports[`camelCase option dashes: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._1XTfjK5gKYeSzbdZhEXRpF {
- color: blue;
-}
-
-.jDvNwV-WRSMB9n2z9QrzR {
- color: blue;
-}
-
-._1penVf9PMtov2qLxmtsMjq {
- color: red;
-}
-
-a {
- color: yellow;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`camelCase option dashes: warnings 1`] = `Array []`;
-
-exports[`camelCase option dashesOnly: errors 1`] = `Array []`;
-
-exports[`camelCase option dashesOnly: locals 1`] = `
-Object {
- "btnInfo_isDisabled": "_1XTfjK5gKYeSzbdZhEXRpF",
- "btnInfo_isDisabled_1": "jDvNwV-WRSMB9n2z9QrzR",
- "foo": "bar",
- "myBtnInfo_isDisabled": "value",
- "simple": "_1penVf9PMtov2qLxmtsMjq",
-}
-`;
-
-exports[`camelCase option dashesOnly: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._1XTfjK5gKYeSzbdZhEXRpF {
- color: blue;
-}
-
-.jDvNwV-WRSMB9n2z9QrzR {
- color: blue;
-}
-
-._1penVf9PMtov2qLxmtsMjq {
- color: red;
-}
-
-a {
- color: yellow;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`camelCase option dashesOnly: warnings 1`] = `Array []`;
-
-exports[`camelCase option not specified: errors 1`] = `Array []`;
-
-exports[`camelCase option not specified: locals 1`] = `
-Object {
- "btn--info_is-disabled_1": "jDvNwV-WRSMB9n2z9QrzR",
- "btn-info_is-disabled": "_1XTfjK5gKYeSzbdZhEXRpF",
- "foo": "bar",
- "my-btn-info_is-disabled": "value",
- "simple": "_1penVf9PMtov2qLxmtsMjq",
-}
-`;
-
-exports[`camelCase option not specified: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._1XTfjK5gKYeSzbdZhEXRpF {
- color: blue;
-}
-
-.jDvNwV-WRSMB9n2z9QrzR {
- color: blue;
-}
-
-._1penVf9PMtov2qLxmtsMjq {
- color: red;
-}
-
-a {
- color: yellow;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`camelCase option not specified: warnings 1`] = `Array []`;
-
-exports[`camelCase option only: errors 1`] = `Array []`;
-
-exports[`camelCase option only: locals 1`] = `
-Object {
- "btnInfoIsDisabled": "_1XTfjK5gKYeSzbdZhEXRpF",
- "btnInfoIsDisabled1": "jDvNwV-WRSMB9n2z9QrzR",
- "foo": "bar",
- "myBtnInfoIsDisabled": "value",
- "simple": "_1penVf9PMtov2qLxmtsMjq",
-}
-`;
-
-exports[`camelCase option only: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._1XTfjK5gKYeSzbdZhEXRpF {
- color: blue;
-}
-
-.jDvNwV-WRSMB9n2z9QrzR {
- color: blue;
-}
-
-._1penVf9PMtov2qLxmtsMjq {
- color: red;
-}
-
-a {
- color: yellow;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`camelCase option only: warnings 1`] = `Array []`;
-
-exports[`camelCase option true: errors 1`] = `Array []`;
-
-exports[`camelCase option true: locals 1`] = `
-Object {
- "btn--info_is-disabled_1": "jDvNwV-WRSMB9n2z9QrzR",
- "btn-info_is-disabled": "_1XTfjK5gKYeSzbdZhEXRpF",
- "btnInfoIsDisabled": "_1XTfjK5gKYeSzbdZhEXRpF",
- "btnInfoIsDisabled1": "jDvNwV-WRSMB9n2z9QrzR",
- "foo": "bar",
- "my-btn-info_is-disabled": "value",
- "myBtnInfoIsDisabled": "value",
- "simple": "_1penVf9PMtov2qLxmtsMjq",
-}
-`;
-
-exports[`camelCase option true: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._1XTfjK5gKYeSzbdZhEXRpF {
- color: blue;
-}
-
-.jDvNwV-WRSMB9n2z9QrzR {
- color: blue;
-}
-
-._1penVf9PMtov2qLxmtsMjq {
- color: red;
-}
-
-a {
- color: yellow;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`camelCase option true: warnings 1`] = `Array []`;
diff --git a/test/__snapshots__/camelCase.test.js.snap b/test/__snapshots__/camelCase.test.js.snap
new file mode 100644
index 00000000..0c42185c
--- /dev/null
+++ b/test/__snapshots__/camelCase.test.js.snap
@@ -0,0 +1,63 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`camelCase should transform 1`] = `""`;
+
+exports[`camelCase should transform: foo bar 1`] = `"fooBar"`;
+
+exports[`camelCase should transform: __foo__bar__ 1`] = `"fooBar"`;
+
+exports[`camelCase should transform: - 1`] = `"-"`;
+
+exports[`camelCase should transform: --__--_--_ 1`] = `""`;
+
+exports[`camelCase should transform: --foo..bar 1`] = `"fooBar"`;
+
+exports[`camelCase should transform: --foo---bar 1`] = `"fooBar"`;
+
+exports[`camelCase should transform: --foo---bar-- 1`] = `"fooBar"`;
+
+exports[`camelCase should transform: --foo--1 1`] = `"foo1"`;
+
+exports[`camelCase should transform: --foo-bar 1`] = `"fooBar"`;
+
+exports[`camelCase should transform: 1Hello 1`] = `"1Hello"`;
+
+exports[`camelCase should transform: A::a 1`] = `"a::a"`;
+
+exports[`camelCase should transform: F 1`] = `"f"`;
+
+exports[`camelCase should transform: FOO-BAR 1`] = `"fooBar"`;
+
+exports[`camelCase should transform: FOÈ-BAR 1`] = `"foèBar"`;
+
+exports[`camelCase should transform: FOÈ-BAr 1`] = `"foèBAr"`;
+
+exports[`camelCase should transform: Hello1World11foo 1`] = `"hello1World11Foo"`;
+
+exports[`camelCase should transform: foo 1`] = `"foo"`;
+
+exports[`camelCase should transform: foo bar 1`] = `"fooBar"`;
+
+exports[`camelCase should transform: foo bar! 1`] = `"fooBar!"`;
+
+exports[`camelCase should transform: foo bar# 1`] = `"fooBar#"`;
+
+exports[`camelCase should transform: foo bar? 1`] = `"fooBar?"`;
+
+exports[`camelCase should transform: foo_bar 1`] = `"fooBar"`;
+
+exports[`camelCase should transform: foo--bar 1`] = `"fooBar"`;
+
+exports[`camelCase should transform: foo-bar 1`] = `"fooBar"`;
+
+exports[`camelCase should transform: foo-bar-baz 1`] = `"fooBarBaz"`;
+
+exports[`camelCase should transform: fooBar 1`] = `"fooBar"`;
+
+exports[`camelCase should transform: fooBar-baz 1`] = `"fooBarBaz"`;
+
+exports[`camelCase should transform: fooBarBaz-bazzy 1`] = `"fooBarBazBazzy"`;
+
+exports[`camelCase should transform: h2w 1`] = `"h2W"`;
+
+exports[`camelCase should transform: mGridCol6@md 1`] = `"mGridCol6@md"`;
diff --git a/test/__snapshots__/errors.test.js.snap b/test/__snapshots__/errors.test.js.snap
deleted file mode 100644
index e04c3b08..00000000
--- a/test/__snapshots__/errors.test.js.snap
+++ /dev/null
@@ -1,117 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`validation 1`] = `
-"CSS Loader Invalid Options
-
-options.url should be boolean
-options.url should pass \\"instanceof\\" keyword validation
-options.url should match some schema in anyOf
-"
-`;
-
-exports[`validation 2`] = `
-"CSS Loader Invalid Options
-
-options.import should be boolean
-options.import should pass \\"instanceof\\" keyword validation
-options.import should match some schema in anyOf
-"
-`;
-
-exports[`validation 3`] = `
-"CSS Loader Invalid Options
-
-options.modules should be boolean
-options.modules should be equal to one of the allowed values
-options.modules should match some schema in anyOf
-"
-`;
-
-exports[`validation 4`] = `
-"CSS Loader Invalid Options
-
-options.modules should be boolean
-options.modules should be equal to one of the allowed values
-options.modules should match some schema in anyOf
-"
-`;
-
-exports[`validation 5`] = `
-"CSS Loader Invalid Options
-
-options.modules should be boolean
-options.modules should be equal to one of the allowed values
-options.modules should match some schema in anyOf
-"
-`;
-
-exports[`validation 6`] = `
-"CSS Loader Invalid Options
-
-options.localIdentName should be string
-"
-`;
-
-exports[`validation 7`] = `
-"CSS Loader Invalid Options
-
-options.localIdentRegExp should be string
-options.localIdentRegExp should pass \\"instanceof\\" keyword validation
-options.localIdentRegExp should match some schema in anyOf
-"
-`;
-
-exports[`validation 8`] = `
-"CSS Loader Invalid Options
-
-options.context should be string
-"
-`;
-
-exports[`validation 9`] = `
-"CSS Loader Invalid Options
-
-options.hashPrefix should be string
-"
-`;
-
-exports[`validation 10`] = `
-"CSS Loader Invalid Options
-
-options.getLocalIdent should be boolean
-options.getLocalIdent should pass \\"instanceof\\" keyword validation
-options.getLocalIdent should match some schema in anyOf
-"
-`;
-
-exports[`validation 11`] = `
-"CSS Loader Invalid Options
-
-options.sourceMap should be boolean
-"
-`;
-
-exports[`validation 12`] = `
-"CSS Loader Invalid Options
-
-options.camelCase should be boolean
-options.camelCase should be equal to one of the allowed values
-options.camelCase should match some schema in anyOf
-"
-`;
-
-exports[`validation 13`] = `
-"CSS Loader Invalid Options
-
-options.importLoaders should be boolean
-options.importLoaders should be number
-options.importLoaders should match some schema in anyOf
-"
-`;
-
-exports[`validation 14`] = `
-"CSS Loader Invalid Options
-
-options.exportOnlyLocals should be boolean
-"
-`;
diff --git a/test/__snapshots__/esModule-option.test.js.snap b/test/__snapshots__/esModule-option.test.js.snap
new file mode 100644
index 00000000..96ec754f
--- /dev/null
+++ b/test/__snapshots__/esModule-option.test.js.snap
@@ -0,0 +1,375 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`"esModule" option should work when not specified: errors 1`] = `[]`;
+
+exports[`"esModule" option should work when not specified: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported.css";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./img.png", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"esModule" option should work when not specified: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./es-module/imported.css",
+ ".foo {
+ color: red;
+}
+",
+ "",
+ ],
+ [
+ "./es-module/source.css",
+ "@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"esModule" option should work when not specified: warnings 1`] = `[]`;
+
+exports[`"esModule" option should work with a value equal to "false": errors 1`] = `[]`;
+
+exports[`"esModule" option should work with a value equal to "false": module 1`] = `
+"// Imports
+var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = require("../../../src/runtime/noSourceMaps.js");
+var ___CSS_LOADER_API_IMPORT___ = require("../../../src/runtime/api.js");
+var ___CSS_LOADER_AT_RULE_IMPORT_0___ = require("-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported.css");
+var ___CSS_LOADER_GET_URL_IMPORT___ = require("../../../src/runtime/getUrl.js");
+var ___CSS_LOADER_URL_IMPORT_0___ = require("./img.png");
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+\`, ""]);
+// Exports
+module.exports = ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"esModule" option should work with a value equal to "false": result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./es-module/imported.css",
+ ".foo {
+ color: red;
+}
+",
+ "",
+ ],
+ [
+ "./es-module/source.css",
+ "@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(/webpack/public/path/img.png);
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"esModule" option should work with a value equal to "false": warnings 1`] = `[]`;
+
+exports[`"esModule" option should work with a value equal to "true" and the "mode" value equal to "global": errors 1`] = `[]`;
+
+exports[`"esModule" option should work with a value equal to "true" and the "mode" value equal to "global": module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported.css";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./img.png", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"esModule" option should work with a value equal to "true" and the "mode" value equal to "global": result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./es-module/imported.css",
+ ".foo {
+ color: red;
+}
+",
+ "",
+ ],
+ [
+ "./es-module/source.css",
+ "@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"esModule" option should work with a value equal to "true" and the "mode" value equal to "global": warnings 1`] = `[]`;
+
+exports[`"esModule" option should work with a value equal to "true" and the "mode" value equal to "local": errors 1`] = `[]`;
+
+exports[`"esModule" option should work with a value equal to "true" and the "mode" value equal to "local": module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported.css";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./img.png", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+/* Comment */
+
+.OZJqogC5EaF_wROug7zE {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+\`, ""]);
+// Exports
+var _1 = \`OZJqogC5EaF_wROug7zE\`;
+export { _1 as "class" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"esModule" option should work with a value equal to "true" and the "mode" value equal to "local": result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./es-module/imported.css",
+ ".EB7DBFwH4lzwZcKIj2OA {
+ color: red;
+}
+",
+ "",
+ ],
+ [
+ "./es-module/source.css",
+ "@charset "UTF-8";
+
+/* Comment */
+
+.OZJqogC5EaF_wROug7zE {
+ color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"esModule" option should work with a value equal to "true" and the "mode" value equal to "local": warnings 1`] = `[]`;
+
+exports[`"esModule" option should work with a value equal to "true" and the "mode" value equal to "pure": errors 1`] = `[]`;
+
+exports[`"esModule" option should work with a value equal to "true" and the "mode" value equal to "pure": module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported.css";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./img.png", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+/* Comment */
+
+.OZJqogC5EaF_wROug7zE {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+\`, ""]);
+// Exports
+var _1 = \`OZJqogC5EaF_wROug7zE\`;
+export { _1 as "class" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"esModule" option should work with a value equal to "true" and the "mode" value equal to "pure": result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./es-module/imported.css",
+ ".EB7DBFwH4lzwZcKIj2OA {
+ color: red;
+}
+",
+ "",
+ ],
+ [
+ "./es-module/source.css",
+ "@charset "UTF-8";
+
+/* Comment */
+
+.OZJqogC5EaF_wROug7zE {
+ color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"esModule" option should work with a value equal to "true" and the "mode" value equal to "pure": warnings 1`] = `[]`;
+
+exports[`"esModule" option should work with a value equal to "true": errors 1`] = `[]`;
+
+exports[`"esModule" option should work with a value equal to "true": module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported.css";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./img.png", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"esModule" option should work with a value equal to "true": result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./es-module/imported.css",
+ ".foo {
+ color: red;
+}
+",
+ "",
+ ],
+ [
+ "./es-module/source.css",
+ "@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"esModule" option should work with a value equal to "true": warnings 1`] = `[]`;
+
+exports[`"esModule" option should work with commonjs css-loader + commonjs mini-css-extract-plugin: errors 1`] = `[]`;
+
+exports[`"esModule" option should work with commonjs css-loader + commonjs mini-css-extract-plugin: result 1`] = `undefined`;
+
+exports[`"esModule" option should work with commonjs css-loader + commonjs mini-css-extract-plugin: warnings 1`] = `[]`;
+
+exports[`"esModule" option should work with commonjs css-loader + commonjs style-loader: errors 1`] = `[]`;
+
+exports[`"esModule" option should work with commonjs css-loader + commonjs style-loader: warnings 1`] = `[]`;
+
+exports[`"esModule" option should work with commonjs css-loader + esModule mini-css-extract-plugin: errors 1`] = `[]`;
+
+exports[`"esModule" option should work with commonjs css-loader + esModule mini-css-extract-plugin: result 1`] = `undefined`;
+
+exports[`"esModule" option should work with commonjs css-loader + esModule mini-css-extract-plugin: warnings 1`] = `[]`;
+
+exports[`"esModule" option should work with commonjs css-loader + esModule style-loader: errors 1`] = `[]`;
+
+exports[`"esModule" option should work with commonjs css-loader + esModule style-loader: warnings 1`] = `[]`;
+
+exports[`"esModule" option should work with esModule css-loader + commonjs mini-css-extract-plugin: errors 1`] = `[]`;
+
+exports[`"esModule" option should work with esModule css-loader + commonjs mini-css-extract-plugin: result 1`] = `undefined`;
+
+exports[`"esModule" option should work with esModule css-loader + commonjs mini-css-extract-plugin: warnings 1`] = `[]`;
+
+exports[`"esModule" option should work with esModule css-loader + commonjs style-loader: errors 1`] = `[]`;
+
+exports[`"esModule" option should work with esModule css-loader + commonjs style-loader: warnings 1`] = `[]`;
+
+exports[`"esModule" option should work with esModule css-loader + esModule mini-css-extract-plugin: errors 1`] = `[]`;
+
+exports[`"esModule" option should work with esModule css-loader + esModule mini-css-extract-plugin: result 1`] = `undefined`;
+
+exports[`"esModule" option should work with esModule css-loader + esModule mini-css-extract-plugin: warnings 1`] = `[]`;
+
+exports[`"esModule" option should work with esModule css-loader + esModule style-loader: errors 1`] = `[]`;
+
+exports[`"esModule" option should work with esModule css-loader + esModule style-loader: warnings 1`] = `[]`;
diff --git a/test/__snapshots__/exportType.test.js.snap b/test/__snapshots__/exportType.test.js.snap
new file mode 100644
index 00000000..21c6e5d5
--- /dev/null
+++ b/test/__snapshots__/exportType.test.js.snap
@@ -0,0 +1,5151 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`'exportType' option should throw an error with 'css-style-sheet' value for CSS modules when \`esModule\` disabled, but 'modules.namedExport' enabled: errors 1`] = `
+[
+ "ModuleBuildError: Module build failed (from \`replaced original path\`):
+Error: The 'exportType' option with the 'css-style-sheet' or 'string' value requires the 'esModule' option to be enabled",
+]
+`;
+
+exports[`'exportType' option should throw an error with 'css-style-sheet' value for CSS modules when \`esModule\` disabled, but 'modules.namedExport' enabled: warnings 1`] = `[]`;
+
+exports[`'exportType' option should throw an error with 'css-style-sheet' value for CSS modules when \`esModule\` disabled: errors 1`] = `
+[
+ "ModuleBuildError: Module build failed (from \`replaced original path\`):
+Error: The 'exportType' option with the 'css-style-sheet' or 'string' value requires the 'esModule' option to be enabled",
+]
+`;
+
+exports[`'exportType' option should throw an error with 'css-style-sheet' value for CSS modules when \`esModule\` disabled: warnings 1`] = `[]`;
+
+exports[`'exportType' option should throw an error with 'css-style-sheet' value for CSS modules when named export disabled: errors 1`] = `
+[
+ "ModuleBuildError: Module build failed (from \`replaced original path\`):
+Error: The 'exportType' option with the 'css-style-sheet' or 'string' value requires the 'modules.namedExport' option to be enabled",
+]
+`;
+
+exports[`'exportType' option should throw an error with 'css-style-sheet' value for CSS modules when named export disabled: warnings 1`] = `[]`;
+
+exports[`'exportType' option should work and export 'array' by default: errors 1`] = `[]`;
+
+exports[`'exportType' option should work and export 'array' by default: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./url/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_1___ = new URL("data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class-duplicate-url {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\\\+ { a: b c d; }
+
+.class { content: "\\\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\\\2193";
+ content: "\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193";
+ content: "\\\\2193\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193 \\\\2193";
+}
+
+.-top {}
+.\\\\-top {}
+
+#\\\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\\\-middle {
+ align-items: center;
+}
+.grid.\\\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\\\e901';
+}
+
+.myStyle {
+ content: '\\\\E901';
+}
+
+.♫ {}
+
+.\\\\3A \\\\\\\`\\\\( {} /* matches elements with class=":\\\`(" */
+.\\\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\\\.\\\\\\\` {
+ color: aliceblue;
+}
+
+\\\\.\\\\\\$\\\\{foo\\\\} {
+ color: aliceblue;
+}
+
+/* \\\` */
+/* \\\`\\\` */
+/* \\\`\\\`\\\` */
+/* \\\${} */
+/* \\\\\\\\\\\` */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\\\2014\\\\A0";
+ content: "\\\\2014 \\\\A0";
+ content: "\\\\A0 \\\\2014";
+ content: "\\\\A0\\\\2014";
+ margin-top: 1px\\\\9;
+ background-color: #000\\\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_1___});
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`'exportType' option should work and export 'array' by default: result 1`] = `
+[
+ [
+ "./basic.css",
+ "@charset "UTF-8";
+
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+.class-duplicate-url {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\+ { a: b c d; }
+
+.class { content: "\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\2193";
+ content: "\\2193\\2193";
+ content: "\\2193 \\2193";
+ content: "\\2193\\2193\\2193";
+ content: "\\2193 \\2193 \\2193";
+}
+
+.-top {}
+.\\-top {}
+
+#\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\-middle {
+ align-items: center;
+}
+.grid.\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\e901';
+}
+
+.myStyle {
+ content: '\\E901';
+}
+
+.♫ {}
+
+.\\3A \\\`\\( {} /* matches elements with class=":\`(" */
+.\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\.\\\` {
+ color: aliceblue;
+}
+
+\\.\\$\\{foo\\} {
+ color: aliceblue;
+}
+
+/* \` */
+/* \`\` */
+/* \`\`\` */
+/* \${} */
+/* \\\\\` */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\2014\\A0";
+ content: "\\2014 \\A0";
+ content: "\\A0 \\2014";
+ content: "\\A0\\2014";
+ margin-top: 1px\\9;
+ background-color: #000\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`'exportType' option should work and export 'array' by default: warnings 1`] = `[]`;
+
+exports[`'exportType' option should work with 'array' value: errors 1`] = `[]`;
+
+exports[`'exportType' option should work with 'array' value: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./url/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_1___ = new URL("data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class-duplicate-url {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\\\+ { a: b c d; }
+
+.class { content: "\\\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\\\2193";
+ content: "\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193";
+ content: "\\\\2193\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193 \\\\2193";
+}
+
+.-top {}
+.\\\\-top {}
+
+#\\\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\\\-middle {
+ align-items: center;
+}
+.grid.\\\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\\\e901';
+}
+
+.myStyle {
+ content: '\\\\E901';
+}
+
+.♫ {}
+
+.\\\\3A \\\\\\\`\\\\( {} /* matches elements with class=":\\\`(" */
+.\\\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\\\.\\\\\\\` {
+ color: aliceblue;
+}
+
+\\\\.\\\\\\$\\\\{foo\\\\} {
+ color: aliceblue;
+}
+
+/* \\\` */
+/* \\\`\\\` */
+/* \\\`\\\`\\\` */
+/* \\\${} */
+/* \\\\\\\\\\\` */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\\\2014\\\\A0";
+ content: "\\\\2014 \\\\A0";
+ content: "\\\\A0 \\\\2014";
+ content: "\\\\A0\\\\2014";
+ margin-top: 1px\\\\9;
+ background-color: #000\\\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_1___});
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`'exportType' option should work with 'array' value: result 1`] = `
+[
+ [
+ "./basic.css",
+ "@charset "UTF-8";
+
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+.class-duplicate-url {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\+ { a: b c d; }
+
+.class { content: "\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\2193";
+ content: "\\2193\\2193";
+ content: "\\2193 \\2193";
+ content: "\\2193\\2193\\2193";
+ content: "\\2193 \\2193 \\2193";
+}
+
+.-top {}
+.\\-top {}
+
+#\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\-middle {
+ align-items: center;
+}
+.grid.\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\e901';
+}
+
+.myStyle {
+ content: '\\E901';
+}
+
+.♫ {}
+
+.\\3A \\\`\\( {} /* matches elements with class=":\`(" */
+.\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\.\\\` {
+ color: aliceblue;
+}
+
+\\.\\$\\{foo\\} {
+ color: aliceblue;
+}
+
+/* \` */
+/* \`\` */
+/* \`\`\` */
+/* \${} */
+/* \\\\\` */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\2014\\A0";
+ content: "\\2014 \\A0";
+ content: "\\A0 \\2014";
+ content: "\\A0\\2014";
+ margin-top: 1px\\9;
+ background-color: #000\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`'exportType' option should work with 'array' value: warnings 1`] = `[]`;
+
+exports[`'exportType' option should work with 'css-style-sheet' and 'array' values: errors 1`] = `[]`;
+
+exports[`'exportType' option should work with 'css-style-sheet' and 'array' values: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./url/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_1___ = new URL("data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class-duplicate-url {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\\\+ { a: b c d; }
+
+.class { content: "\\\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\\\2193";
+ content: "\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193";
+ content: "\\\\2193\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193 \\\\2193";
+}
+
+.-top {}
+.\\\\-top {}
+
+#\\\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\\\-middle {
+ align-items: center;
+}
+.grid.\\\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\\\e901';
+}
+
+.myStyle {
+ content: '\\\\E901';
+}
+
+.♫ {}
+
+.\\\\3A \\\\\\\`\\\\( {} /* matches elements with class=":\\\`(" */
+.\\\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\\\2014\\\\A0";
+ content: "\\\\2014 \\\\A0";
+ content: "\\\\A0 \\\\2014";
+ content: "\\\\A0\\\\2014";
+ margin-top: 1px\\\\9;
+ background-color: #000\\\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_1___});
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+\`, ""]);
+// Exports
+var ___CSS_LOADER_STYLE_SHEET___ = new CSSStyleSheet();
+___CSS_LOADER_STYLE_SHEET___.replaceSync(___CSS_LOADER_EXPORT___.toString());
+export default ___CSS_LOADER_STYLE_SHEET___;
+"
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' and 'array' values: module 2`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./url/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_1___ = new URL("data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class-duplicate-url {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\\\+ { a: b c d; }
+
+.class { content: "\\\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\\\2193";
+ content: "\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193";
+ content: "\\\\2193\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193 \\\\2193";
+}
+
+.-top {}
+.\\\\-top {}
+
+#\\\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\\\-middle {
+ align-items: center;
+}
+.grid.\\\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\\\e901';
+}
+
+.myStyle {
+ content: '\\\\E901';
+}
+
+.♫ {}
+
+.\\\\3A \\\\\\\`\\\\( {} /* matches elements with class=":\\\`(" */
+.\\\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\\\.\\\\\\\` {
+ color: aliceblue;
+}
+
+\\\\.\\\\\\$\\\\{foo\\\\} {
+ color: aliceblue;
+}
+
+/* \\\` */
+/* \\\`\\\` */
+/* \\\`\\\`\\\` */
+/* \\\${} */
+/* \\\\\\\\\\\` */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\\\2014\\\\A0";
+ content: "\\\\2014 \\\\A0";
+ content: "\\\\A0 \\\\2014";
+ content: "\\\\A0\\\\2014";
+ margin-top: 1px\\\\9;
+ background-color: #000\\\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_1___});
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' and 'array' values: result 1`] = `
+[
+ CSSStyleSheet {
+ "text": "@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(file:///webpack/public/path/img.png);
+}
+
+.class-duplicate-url {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\+ { a: b c d; }
+
+.class { content: "\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\2193";
+ content: "\\2193\\2193";
+ content: "\\2193 \\2193";
+ content: "\\2193\\2193\\2193";
+ content: "\\2193 \\2193 \\2193";
+}
+
+.-top {}
+.\\-top {}
+
+#\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\-middle {
+ align-items: center;
+}
+.grid.\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\e901';
+}
+
+.myStyle {
+ content: '\\E901';
+}
+
+.♫ {}
+
+.\\3A \\\`\\( {} /* matches elements with class=":\`(" */
+.\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\2014\\A0";
+ content: "\\2014 \\A0";
+ content: "\\A0 \\2014";
+ content: "\\A0\\2014";
+ margin-top: 1px\\9;
+ background-color: #000\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+",
+ },
+ [
+ [
+ "./basic.css?foo=1",
+ "@charset "UTF-8";
+
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+.class-duplicate-url {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\+ { a: b c d; }
+
+.class { content: "\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\2193";
+ content: "\\2193\\2193";
+ content: "\\2193 \\2193";
+ content: "\\2193\\2193\\2193";
+ content: "\\2193 \\2193 \\2193";
+}
+
+.-top {}
+.\\-top {}
+
+#\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\-middle {
+ align-items: center;
+}
+.grid.\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\e901';
+}
+
+.myStyle {
+ content: '\\E901';
+}
+
+.♫ {}
+
+.\\3A \\\`\\( {} /* matches elements with class=":\`(" */
+.\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\.\\\` {
+ color: aliceblue;
+}
+
+\\.\\$\\{foo\\} {
+ color: aliceblue;
+}
+
+/* \` */
+/* \`\` */
+/* \`\`\` */
+/* \${} */
+/* \\\\\` */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\2014\\A0";
+ content: "\\2014 \\A0";
+ content: "\\A0 \\2014";
+ content: "\\A0\\2014";
+ margin-top: 1px\\9;
+ background-color: #000\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+",
+ "",
+ ],
+ ],
+]
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' and 'array' values: warnings 1`] = `[]`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and CSS modules and still emit error on '@import' at-rules: errors 1`] = `
+[
+ "ModuleError: Module Error (from \`replaced original path\`):
+/test/fixtures/modules/composes/composes.css:1:1: '@import' rules are not allowed here and will not be processed",
+]
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and CSS modules and still emit error on '@import' at-rules: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+import ___CSS_LOADER_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./values.css";
+import ___CSS_LOADER_ICSS_IMPORT_1___, * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css";
+import ___CSS_LOADER_ICSS_IMPORT_2___, * as ___CSS_LOADER_ICSS_IMPORT_2____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported-simple.css";
+import ___CSS_LOADER_ICSS_IMPORT_3___, * as ___CSS_LOADER_ICSS_IMPORT_3____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./relative.css";
+import ___CSS_LOADER_ICSS_IMPORT_4___, * as ___CSS_LOADER_ICSS_IMPORT_4____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./top-relative.css";
+import ___CSS_LOADER_ICSS_IMPORT_5___, * as ___CSS_LOADER_ICSS_IMPORT_5____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!../issue-861/node_modules/package/style.css";
+import ___CSS_LOADER_ICSS_IMPORT_6___, * as ___CSS_LOADER_ICSS_IMPORT_6____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./alias.css";
+import ___CSS_LOADER_ICSS_IMPORT_7___, * as ___CSS_LOADER_ICSS_IMPORT_7____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!sass-loader!./scss-file.scss";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("../../url/img.png", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_1___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_2___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_3___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_4___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_5___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_6___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_7___, "", true);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@import url(./test-other.css) (min-width: 100px);
+
+.ozGmfTedr1GnFJDWqNUH {
+ color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-def"] };
+}
+
+.zchqshjqLbPAHaRvIBET {
+ color: blue;
+}
+
+.WZBxXqS2GytaA3IBhhnd {
+ display: block;
+}
+
+.W51zcAMuJMsNFi1CXgWr {
+ width: \${ ___CSS_LOADER_ICSS_IMPORT_1____NAMED___["v-something"] };
+}
+
+.KEl5ZxzNkpjfWorrBglC {
+ color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-other"] };
+}
+
+.ecAEWh2vww9pNEdyj9Jn {
+ prop: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-def"] };
+ duplicate: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-other"] };
+}
+
+.CBlowYk8qiAgWWzFeXRA {
+ color: red;
+}
+
+.c_NHnDcX1bd_kuxgsuYi {
+ color: yellow;
+}
+
+.S0Kwou8pVmsENtBP3hYm {
+ color: gray;
+}
+
+.rq663Pq_zV0CjpwttvK4 {
+ color: gray;
+}
+
+.fadRMHArJofp7sWEbPVR {
+ color: gainsboro;
+}
+
+.sg1HlXqlWy6l6_Wm5iA7 {
+ color: gainsboro;
+}
+
+.bnRUswvicYag6u0SPnvI {
+ color: #BF4040;
+}
+
+.kEJRwpukB2OtmkGTknbU {
+ color: black;
+}
+
+@media (min-width: 960px) {
+ .hY2PI5vC9ABuJY1nkWnf {
+ padding: 0 20px;
+ }
+}
+
+.\${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["s-white"] } {
+ color: white;
+}
+
+@media \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["m-small"] } {
+ .hY2PI5vC9ABuJY1nkWnf {
+ padding: 20px 20px;
+ }
+}
+
+.q8mv0HutzqdsVWjl8mAz {
+ v-ident: validIdent;
+ v-pre-defined-ident: left;
+ v-string: 'content';
+ v-string-1: '';
+ v-url: url(https://www.exammple.com/images/my-background.png);
+ v-url-1: url('https://www.exammple.com/images/my-background.png');
+ v-url-2: url("https://www.exammple.com/images/my-background.png");
+ v-integer: 100;
+ v-integer-1: -100;
+ v-integer-2: +100;
+ v-number: .60;
+ v-number-1: -456.8;
+ v-number-2: -3.4e-2;
+ v-dimension: 12px;
+ v-percentage: 100%;
+ v-hex: #fff;
+ v-comment: /* comment */ 10px /* comment */;
+ v-function: rgb(0,0,0);
+ v-unicode-range: U+0025-00FF;
+ mutliple: #fff .60 100%;
+}
+
+
+a {
+ content: 'content';
+}
+
+@supports (content: 'content') {
+ a {
+ content: 'content';
+ }
+}
+
+[class~='content'] {
+ color:green;
+}
+
+.xajoqP1d3SwrjJ4WEM8g {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.Ix5nEHiVOsWuWxdx0twz {
+ background: red;
+}
+\`, ""]);
+// Exports
+var _1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-def"]}\`;
+export { _1 as "v-def" };
+var _2 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-other"]}\`;
+export { _2 as "v-other" };
+var _3 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["s-white"]}\`;
+export { _3 as "s-white" };
+var _4 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["m-small"]}\`;
+export { _4 as "m-small" };
+var _5 = \`\${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["v-something"]}\`;
+export { _5 as "v-something" };
+var _6 = \`blue\`;
+export { _6 as "v-foo" };
+var _7 = \`block\`;
+export { _7 as "v-bar" };
+var _8 = \`#BF4040\`;
+export { _8 as "v-primary" };
+var _9 = \`black-selector\`;
+export { _9 as "s-black" };
+var _a = \`(min-width: 960px)\`;
+export { _a as "m-large" };
+var _b = \`validIdent\`;
+export { _b as "v-ident" };
+var _c = \`left\`;
+export { _c as "v-pre-defined-ident" };
+var _d = \`'content'\`;
+export { _d as "v-string" };
+var _e = \`''\`;
+export { _e as "v-string-1" };
+var _f = \`url(https://www.exammple.com/images/my-background.png)\`;
+export { _f as "v-url" };
+var _10 = \`url('https://www.exammple.com/images/my-background.png')\`;
+export { _10 as "v-url-1" };
+var _11 = \`url("https://www.exammple.com/images/my-background.png")\`;
+export { _11 as "v-url-2" };
+var _12 = \`100\`;
+export { _12 as "v-integer" };
+var _13 = \`-100\`;
+export { _13 as "v-integer-1" };
+var _14 = \`+100\`;
+export { _14 as "v-integer-2" };
+var _15 = \`.60\`;
+export { _15 as "v-number" };
+var _16 = \`-456.8\`;
+export { _16 as "v-number-1" };
+var _17 = \`-3.4e-2\`;
+export { _17 as "v-number-2" };
+var _18 = \`12px\`;
+export { _18 as "v-dimension" };
+var _19 = \`100%\`;
+export { _19 as "v-percentage" };
+var _1a = \`#fff\`;
+export { _1a as "v-hex" };
+var _1b = \` /* comment */\`;
+export { _1b as "v-comment" };
+var _1c = \`rgb(0,0,0)\`;
+export { _1c as "v-function" };
+var _1d = \`U+0025-00FF\`;
+export { _1d as "v-unicode-range" };
+export var ghi = \`ozGmfTedr1GnFJDWqNUH\`;
+var _1e = \`zchqshjqLbPAHaRvIBET\`;
+export { _1e as "my-class" };
+export var other = \`WZBxXqS2GytaA3IBhhnd\`;
+var _1f = \`W51zcAMuJMsNFi1CXgWr\`;
+export { _1f as "other-other" };
+export var green = \`KEl5ZxzNkpjfWorrBglC\`;
+export var foo = \`ecAEWh2vww9pNEdyj9Jn\`;
+export var simple = \`CBlowYk8qiAgWWzFeXRA \${___CSS_LOADER_ICSS_IMPORT_2____NAMED___["imported-simple"]}\`;
+export var relative = \`c_NHnDcX1bd_kuxgsuYi \${___CSS_LOADER_ICSS_IMPORT_3____NAMED___["imported-relative"]}\`;
+var _20 = \`S0Kwou8pVmsENtBP3hYm \${___CSS_LOADER_ICSS_IMPORT_4____NAMED___["imported-relative"]}\`;
+export { _20 as "top-relative" };
+var _21 = \`rq663Pq_zV0CjpwttvK4 \${___CSS_LOADER_ICSS_IMPORT_5____NAMED___["imported-module"]}\`;
+export { _21 as "my-module" };
+export var alias = \`fadRMHArJofp7sWEbPVR \${___CSS_LOADER_ICSS_IMPORT_6____NAMED___["imported-alias"]}\`;
+var _22 = \`sg1HlXqlWy6l6_Wm5iA7 \${___CSS_LOADER_ICSS_IMPORT_6____NAMED___["imported-alias"]}\`;
+export { _22 as "alias-duplicate" };
+var _23 = \`bnRUswvicYag6u0SPnvI\`;
+export { _23 as "primary-selector" };
+var _24 = \`kEJRwpukB2OtmkGTknbU\`;
+export { _24 as "black-selector" };
+export var header = \`hY2PI5vC9ABuJY1nkWnf\`;
+export var foobarbaz = \`q8mv0HutzqdsVWjl8mAz\`;
+export var url = \`xajoqP1d3SwrjJ4WEM8g\`;
+export var main = \`Ix5nEHiVOsWuWxdx0twz \${___CSS_LOADER_ICSS_IMPORT_7____NAMED___["scssClass"]}\`;
+var ___CSS_LOADER_STYLE_SHEET___ = new CSSStyleSheet();
+___CSS_LOADER_STYLE_SHEET___.replaceSync(___CSS_LOADER_EXPORT___.toString());
+export default ___CSS_LOADER_STYLE_SHEET___;
+"
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and CSS modules and still emit error on '@import' at-rules: result 1`] = `
+CSSStyleSheet {
+ "named": {
+ "alias": "fadRMHArJofp7sWEbPVR dnhKs1AYKq4KodZdfzcx",
+ "alias-duplicate": "sg1HlXqlWy6l6_Wm5iA7 dnhKs1AYKq4KodZdfzcx",
+ "black-selector": "kEJRwpukB2OtmkGTknbU",
+ "default": [Circular],
+ "foo": "ecAEWh2vww9pNEdyj9Jn",
+ "foobarbaz": "q8mv0HutzqdsVWjl8mAz",
+ "ghi": "ozGmfTedr1GnFJDWqNUH",
+ "green": "KEl5ZxzNkpjfWorrBglC",
+ "header": "hY2PI5vC9ABuJY1nkWnf",
+ "m-large": "(min-width: 960px)",
+ "m-small": "(min-width: 320px)",
+ "main": "Ix5nEHiVOsWuWxdx0twz oNU7JF6MtPAFrlrthaOD",
+ "my-class": "zchqshjqLbPAHaRvIBET",
+ "my-module": "rq663Pq_zV0CjpwttvK4 q49Ogfvno__tAgAiYJcD",
+ "other": "WZBxXqS2GytaA3IBhhnd",
+ "other-other": "W51zcAMuJMsNFi1CXgWr",
+ "primary-selector": "bnRUswvicYag6u0SPnvI",
+ "relative": "c_NHnDcX1bd_kuxgsuYi o0pMg4suYQOIzdBIQJv1",
+ "s-black": "black-selector",
+ "s-white": "white",
+ "simple": "CBlowYk8qiAgWWzFeXRA pCAAqHK9Lcplw9QM7Rj0",
+ "top-relative": "S0Kwou8pVmsENtBP3hYm l9CmW32NEl99tuNLdbzp",
+ "url": "xajoqP1d3SwrjJ4WEM8g",
+ "v-bar": "block",
+ "v-comment": " /* comment */",
+ "v-def": "red",
+ "v-dimension": "12px",
+ "v-foo": "blue",
+ "v-function": "rgb(0,0,0)",
+ "v-hex": "#fff",
+ "v-ident": "validIdent",
+ "v-integer": "100",
+ "v-integer-1": "-100",
+ "v-integer-2": "+100",
+ "v-number": ".60",
+ "v-number-1": "-456.8",
+ "v-number-2": "-3.4e-2",
+ "v-other": "green",
+ "v-percentage": "100%",
+ "v-pre-defined-ident": "left",
+ "v-primary": "#BF4040",
+ "v-something": "2112moon",
+ "v-string": "'content'",
+ "v-string-1": "''",
+ "v-unicode-range": "U+0025-00FF",
+ "v-url": "url(https://www.exammple.com/images/my-background.png)",
+ "v-url-1": "url('https://www.exammple.com/images/my-background.png')",
+ "v-url-2": "url("https://www.exammple.com/images/my-background.png")",
+ },
+ "text": "@import url(./test-other.css) (min-width: 100px);
+
+.ozGmfTedr1GnFJDWqNUH {
+ color: red;
+}
+
+.zchqshjqLbPAHaRvIBET {
+ color: blue;
+}
+
+.WZBxXqS2GytaA3IBhhnd {
+ display: block;
+}
+
+.W51zcAMuJMsNFi1CXgWr {
+ width: 2112moon;
+}
+
+.KEl5ZxzNkpjfWorrBglC {
+ color: green;
+}
+
+.ecAEWh2vww9pNEdyj9Jn {
+ prop: red;
+ duplicate: green;
+}
+
+.CBlowYk8qiAgWWzFeXRA {
+ color: red;
+}
+
+.c_NHnDcX1bd_kuxgsuYi {
+ color: yellow;
+}
+
+.S0Kwou8pVmsENtBP3hYm {
+ color: gray;
+}
+
+.rq663Pq_zV0CjpwttvK4 {
+ color: gray;
+}
+
+.fadRMHArJofp7sWEbPVR {
+ color: gainsboro;
+}
+
+.sg1HlXqlWy6l6_Wm5iA7 {
+ color: gainsboro;
+}
+
+.bnRUswvicYag6u0SPnvI {
+ color: #BF4040;
+}
+
+.kEJRwpukB2OtmkGTknbU {
+ color: black;
+}
+
+@media (min-width: 960px) {
+ .hY2PI5vC9ABuJY1nkWnf {
+ padding: 0 20px;
+ }
+}
+
+.white {
+ color: white;
+}
+
+@media (min-width: 320px) {
+ .hY2PI5vC9ABuJY1nkWnf {
+ padding: 20px 20px;
+ }
+}
+
+.q8mv0HutzqdsVWjl8mAz {
+ v-ident: validIdent;
+ v-pre-defined-ident: left;
+ v-string: 'content';
+ v-string-1: '';
+ v-url: url(https://www.exammple.com/images/my-background.png);
+ v-url-1: url('https://www.exammple.com/images/my-background.png');
+ v-url-2: url("https://www.exammple.com/images/my-background.png");
+ v-integer: 100;
+ v-integer-1: -100;
+ v-integer-2: +100;
+ v-number: .60;
+ v-number-1: -456.8;
+ v-number-2: -3.4e-2;
+ v-dimension: 12px;
+ v-percentage: 100%;
+ v-hex: #fff;
+ v-comment: /* comment */ 10px /* comment */;
+ v-function: rgb(0,0,0);
+ v-unicode-range: U+0025-00FF;
+ mutliple: #fff .60 100%;
+}
+
+
+a {
+ content: 'content';
+}
+
+@supports (content: 'content') {
+ a {
+ content: 'content';
+ }
+}
+
+[class~='content'] {
+ color:green;
+}
+
+.xajoqP1d3SwrjJ4WEM8g {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+.Ix5nEHiVOsWuWxdx0twz {
+ background: red;
+}
+",
+}
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and CSS modules and still emit error on '@import' at-rules: warnings 1`] = `[]`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and CommonJS modules: errors 1`] = `[]`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and CommonJS modules: module 1`] = `
+"// Imports
+var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = require("../../src/runtime/noSourceMaps.js");
+var ___CSS_LOADER_API_IMPORT___ = require("../../src/runtime/api.js");
+var ___CSS_LOADER_GET_URL_IMPORT___ = require("../../src/runtime/getUrl.js");
+var ___CSS_LOADER_URL_IMPORT_0___ = require("./url/img.png");
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class-duplicate-url {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\\\+ { a: b c d; }
+
+.class { content: "\\\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\\\2193";
+ content: "\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193";
+ content: "\\\\2193\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193 \\\\2193";
+}
+
+.-top {}
+.\\\\-top {}
+
+#\\\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\\\-middle {
+ align-items: center;
+}
+.grid.\\\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\\\e901';
+}
+
+.myStyle {
+ content: '\\\\E901';
+}
+
+.♫ {}
+
+.\\\\3A \\\\\\\`\\\\( {} /* matches elements with class=":\\\`(" */
+.\\\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\\\2014\\\\A0";
+ content: "\\\\2014 \\\\A0";
+ content: "\\\\A0 \\\\2014";
+ content: "\\\\A0\\\\2014";
+ margin-top: 1px\\\\9;
+ background-color: #000\\\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+\`, ""]);
+// Exports
+var ___CSS_LOADER_STYLE_SHEET___ = new CSSStyleSheet();
+___CSS_LOADER_STYLE_SHEET___.replaceSync(___CSS_LOADER_EXPORT___.toString());
+module.exports = ___CSS_LOADER_STYLE_SHEET___;
+"
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and CommonJS modules: result 1`] = `
+CSSStyleSheet {
+ "text": "@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(/webpack/public/path/img.png);
+}
+
+.class-duplicate-url {
+ background: url(/webpack/public/path/img.png);
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\+ { a: b c d; }
+
+.class { content: "\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\2193";
+ content: "\\2193\\2193";
+ content: "\\2193 \\2193";
+ content: "\\2193\\2193\\2193";
+ content: "\\2193 \\2193 \\2193";
+}
+
+.-top {}
+.\\-top {}
+
+#\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\-middle {
+ align-items: center;
+}
+.grid.\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\e901';
+}
+
+.myStyle {
+ content: '\\E901';
+}
+
+.♫ {}
+
+.\\3A \\\`\\( {} /* matches elements with class=":\`(" */
+.\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\2014\\A0";
+ content: "\\2014 \\A0";
+ content: "\\A0 \\2014";
+ content: "\\A0\\2014";
+ margin-top: 1px\\9;
+ background-color: #000\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+",
+}
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and CommonJS modules: warnings 1`] = `[]`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and ECMA modules: errors 1`] = `[]`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and ECMA modules: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./url/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_1___ = new URL("data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class-duplicate-url {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\\\+ { a: b c d; }
+
+.class { content: "\\\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\\\2193";
+ content: "\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193";
+ content: "\\\\2193\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193 \\\\2193";
+}
+
+.-top {}
+.\\\\-top {}
+
+#\\\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\\\-middle {
+ align-items: center;
+}
+.grid.\\\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\\\e901';
+}
+
+.myStyle {
+ content: '\\\\E901';
+}
+
+.♫ {}
+
+.\\\\3A \\\\\\\`\\\\( {} /* matches elements with class=":\\\`(" */
+.\\\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\\\2014\\\\A0";
+ content: "\\\\2014 \\\\A0";
+ content: "\\\\A0 \\\\2014";
+ content: "\\\\A0\\\\2014";
+ margin-top: 1px\\\\9;
+ background-color: #000\\\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_1___});
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+\`, ""]);
+// Exports
+var ___CSS_LOADER_STYLE_SHEET___ = new CSSStyleSheet();
+___CSS_LOADER_STYLE_SHEET___.replaceSync(___CSS_LOADER_EXPORT___.toString());
+export default ___CSS_LOADER_STYLE_SHEET___;
+"
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and ECMA modules: result 1`] = `
+CSSStyleSheet {
+ "text": "@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(file:///webpack/public/path/img.png);
+}
+
+.class-duplicate-url {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\+ { a: b c d; }
+
+.class { content: "\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\2193";
+ content: "\\2193\\2193";
+ content: "\\2193 \\2193";
+ content: "\\2193\\2193\\2193";
+ content: "\\2193 \\2193 \\2193";
+}
+
+.-top {}
+.\\-top {}
+
+#\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\-middle {
+ align-items: center;
+}
+.grid.\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\e901';
+}
+
+.myStyle {
+ content: '\\E901';
+}
+
+.♫ {}
+
+.\\3A \\\`\\( {} /* matches elements with class=":\`(" */
+.\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\2014\\A0";
+ content: "\\2014 \\A0";
+ content: "\\A0 \\2014";
+ content: "\\A0\\2014";
+ margin-top: 1px\\9;
+ background-color: #000\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+",
+}
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and ECMA modules: warnings 1`] = `[]`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and generate source maps: errors 1`] = `[]`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and generate source maps: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from "../../src/runtime/sourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./url/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_1___ = new URL("data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class-duplicate-url {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\\\+ { a: b c d; }
+
+.class { content: "\\\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\\\2193";
+ content: "\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193";
+ content: "\\\\2193\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193 \\\\2193";
+}
+
+.-top {}
+.\\\\-top {}
+
+#\\\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\\\-middle {
+ align-items: center;
+}
+.grid.\\\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\\\e901';
+}
+
+.myStyle {
+ content: '\\\\E901';
+}
+
+.♫ {}
+
+.\\\\3A \\\\\\\`\\\\( {} /* matches elements with class=":\\\`(" */
+.\\\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\\\2014\\\\A0";
+ content: "\\\\2014 \\\\A0";
+ content: "\\\\A0 \\\\2014";
+ content: "\\\\A0\\\\2014";
+ margin-top: 1px\\\\9;
+ background-color: #000\\\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_1___});
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+\`, "",{"version":3,"sources":["webpack://./basic-css-style-sheet.css"],"names":[],"mappings":"AAAA,gBAAgB;;AAEhB,YAAY;;AAEZ;EACE,UAAU;EACV,mDAAgC;AAClC;;AAEA;EACE,mDAAgC;AAClC;;AAEA;EACE,UAAU;EACV,UAAU;AACZ;;AAEA,SAAS,QAAQ,EAAE;;AAEnB,MAAM;;AAEN,SAAS,QAAQ,EAAE;;AAEnB,SAAS,iBAAiB;;AAE1B;EACE;IACE,2BAA2B;EAC7B;AACF;;AAEA;EACE,gBAAgB;EAChB,qBAAqB;EACrB,sBAAsB;EACtB,0BAA0B;EAC1B,4BAA4B;AAC9B;;AAEA,OAAO;AACP,QAAQ;;AAER,SAAS;;AAET;EACE,aAAa;EACb,eAAe;AACjB;AACA;EACE,uBAAuB;AACzB;AACA;EACE,uBAAuB;AACzB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,qBAAqB;AACvB;;AAEA,aAAa;;AAEb,YAAY;;AAEZ,QAAQ;;AAER;EACE,mBAAmB,EAAE,2BAA2B;AAClD;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA,IAAI;;AAEJ,WAAW,EAAE,sCAAsC;AACnD,YAAY,EAAE,yCAAyC;AACvD,YAAY,EAAE,2CAA2C;AACzD,UAAU,EAAE,0CAA0C;AACtD,IAAI,EAAE,oCAAoC;;AAE1C;EACE,qBAAqB;EACrB;;;;;;;;;;GAUC;AACH;;AAEA;EACE,mBAAmB;EACnB,oBAAoB;EACpB,oBAAoB;EACpB,mBAAmB;EACnB,iBAAiB;EACjB,wBAAwB;AAC1B;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,mDAAq1B;AACv1B;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE,WAAW;AACb;;AAEA;EACE,WAAW;AACb","sourcesContent":["@charset \\"UTF-8\\";\\n\\n/* Comment */\\n\\n.class {\\n color: red;\\n background: url(\\"./url/img.png\\");\\n}\\n\\n.class-duplicate-url {\\n background: url(\\"./url/img.png\\");\\n}\\n\\n:root {\\n --foo: 1px;\\n --bar: 2px;\\n}\\n\\n.class { a: b c d; }\\n\\n.two {}\\n\\n.u-m\\\\+ { a: b c d; }\\n\\n.class { content: \\"\\\\F10C\\" }\\n\\n@media only screen and (max-width: 600px) {\\n body {\\n background-color: lightblue;\\n }\\n}\\n\\n.class {\\n content: \\"\\\\2193\\";\\n content: \\"\\\\2193\\\\2193\\";\\n content: \\"\\\\2193 \\\\2193\\";\\n content: \\"\\\\2193\\\\2193\\\\2193\\";\\n content: \\"\\\\2193 \\\\2193 \\\\2193\\";\\n}\\n\\n.-top {}\\n.\\\\-top {}\\n\\n#\\\\#test {}\\n\\n.grid {\\n display: flex;\\n flex-wrap: wrap;\\n}\\n.grid.\\\\-top {\\n align-items: flex-start;\\n}\\n.grid.-top {\\n align-items: flex-start;\\n}\\n.grid.\\\\-middle {\\n align-items: center;\\n}\\n.grid.\\\\-bottom {\\n align-items: flex-end;\\n}\\n\\n.u-m\\\\00002b {}\\n\\n.u-m00002b {}\\n\\n#u-m\\\\+ {}\\n\\nbody {\\n font-family: '微软雅黑'; /* some chinese font name */\\n}\\n\\n.myStyle {\\n content: '\\\\e901';\\n}\\n\\n.myStyle {\\n content: '\\\\E901';\\n}\\n\\n.♫ {}\\n\\n.\\\\3A \\\\\`\\\\( {} /* matches elements with class=\\":\`(\\" */\\n.\\\\31 a2b3c {} /* matches elements with class=\\"1a2b3c\\" */\\n#\\\\#fake-id {} /* matches the element with id=\\"#fake-id\\" */\\n#-a-b-c- {} /* matches the element with id=\\"-a-b-c-\\" */\\n#© {} /* matches the element with id=\\"©\\" */\\n\\n:root {\\n --title-align: center;\\n --sr-only: {\\n position: absolute;\\n width: 1px;\\n height: 1px;\\n padding: 0;\\n overflow: hidden;\\n clip: rect(0,0,0,0);\\n white-space: nowrap;\\n clip-path: inset(50%);\\n border: 0;\\n };\\n}\\n\\n.test {\\n content: \\"\\\\2014\\\\A0\\";\\n content: \\"\\\\2014 \\\\A0\\";\\n content: \\"\\\\A0 \\\\2014\\";\\n content: \\"\\\\A0\\\\2014\\";\\n margin-top: 1px\\\\9;\\n background-color: #000\\\\9;\\n}\\n\\n.light.on .bulb:before{\\n content: '💡';\\n}\\n\\n.base64 {\\n background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);\\n}\\n\\na[href=''] {\\n color: red;\\n}\\n\\na[href='' i] {\\n color: red;\\n}\\n\\na[href=\\"\\"] {\\n color: blue;\\n}\\n\\na[href=\\"\\" i] {\\n color: blue;\\n}\\n"],"sourceRoot":""}]);
+// Exports
+var ___CSS_LOADER_STYLE_SHEET___ = new CSSStyleSheet();
+___CSS_LOADER_STYLE_SHEET___.replaceSync(___CSS_LOADER_EXPORT___.toString());
+export default ___CSS_LOADER_STYLE_SHEET___;
+"
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and generate source maps: result 1`] = `
+CSSStyleSheet {
+ "text": "@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(file:///webpack/public/path/img.png);
+}
+
+.class-duplicate-url {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\+ { a: b c d; }
+
+.class { content: "\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\2193";
+ content: "\\2193\\2193";
+ content: "\\2193 \\2193";
+ content: "\\2193\\2193\\2193";
+ content: "\\2193 \\2193 \\2193";
+}
+
+.-top {}
+.\\-top {}
+
+#\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\-middle {
+ align-items: center;
+}
+.grid.\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\e901';
+}
+
+.myStyle {
+ content: '\\E901';
+}
+
+.♫ {}
+
+.\\3A \\\`\\( {} /* matches elements with class=":\`(" */
+.\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\2014\\A0";
+ content: "\\2014 \\A0";
+ content: "\\A0 \\2014";
+ content: "\\A0\\2014";
+ margin-top: 1px\\9;
+ background-color: #000\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+
+/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL2Jhc2ljLWNzcy1zdHlsZS1zaGVldC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsZ0JBQWdCOztBQUVoQixZQUFZOztBQUVaO0VBQ0UsVUFBVTtFQUNWLG1EQUFnQztBQUNsQzs7QUFFQTtFQUNFLG1EQUFnQztBQUNsQzs7QUFFQTtFQUNFLFVBQVU7RUFDVixVQUFVO0FBQ1o7O0FBRUEsU0FBUyxRQUFRLEVBQUU7O0FBRW5CLE1BQU07O0FBRU4sU0FBUyxRQUFRLEVBQUU7O0FBRW5CLFNBQVMsaUJBQWlCOztBQUUxQjtFQUNFO0lBQ0UsMkJBQTJCO0VBQzdCO0FBQ0Y7O0FBRUE7RUFDRSxnQkFBZ0I7RUFDaEIscUJBQXFCO0VBQ3JCLHNCQUFzQjtFQUN0QiwwQkFBMEI7RUFDMUIsNEJBQTRCO0FBQzlCOztBQUVBLE9BQU87QUFDUCxRQUFROztBQUVSLFNBQVM7O0FBRVQ7RUFDRSxhQUFhO0VBQ2IsZUFBZTtBQUNqQjtBQUNBO0VBQ0UsdUJBQXVCO0FBQ3pCO0FBQ0E7RUFDRSx1QkFBdUI7QUFDekI7QUFDQTtFQUNFLG1CQUFtQjtBQUNyQjtBQUNBO0VBQ0UscUJBQXFCO0FBQ3ZCOztBQUVBLGFBQWE7O0FBRWIsWUFBWTs7QUFFWixRQUFROztBQUVSO0VBQ0UsbUJBQW1CLEVBQUUsMkJBQTJCO0FBQ2xEOztBQUVBO0VBQ0UsZ0JBQWdCO0FBQ2xCOztBQUVBO0VBQ0UsZ0JBQWdCO0FBQ2xCOztBQUVBLElBQUk7O0FBRUosV0FBVyxFQUFFLHNDQUFzQztBQUNuRCxZQUFZLEVBQUUseUNBQXlDO0FBQ3ZELFlBQVksRUFBRSwyQ0FBMkM7QUFDekQsVUFBVSxFQUFFLDBDQUEwQztBQUN0RCxJQUFJLEVBQUUsb0NBQW9DOztBQUUxQztFQUNFLHFCQUFxQjtFQUNyQjs7Ozs7Ozs7OztHQVVDO0FBQ0g7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsb0JBQW9CO0VBQ3BCLG9CQUFvQjtFQUNwQixtQkFBbUI7RUFDbkIsaUJBQWlCO0VBQ2pCLHdCQUF3QjtBQUMxQjs7QUFFQTtFQUNFLGFBQWE7QUFDZjs7QUFFQTtFQUNFLG1EQUFxMUI7QUFDdjFCOztBQUVBO0VBQ0UsVUFBVTtBQUNaOztBQUVBO0VBQ0UsVUFBVTtBQUNaOztBQUVBO0VBQ0UsV0FBVztBQUNiOztBQUVBO0VBQ0UsV0FBVztBQUNiIiwic291cmNlc0NvbnRlbnQiOlsiQGNoYXJzZXQgXCJVVEYtOFwiO1xuXG4vKiBDb21tZW50ICovXG5cbi5jbGFzcyB7XG4gIGNvbG9yOiByZWQ7XG4gIGJhY2tncm91bmQ6IHVybChcIi4vdXJsL2ltZy5wbmdcIik7XG59XG5cbi5jbGFzcy1kdXBsaWNhdGUtdXJsIHtcbiAgYmFja2dyb3VuZDogdXJsKFwiLi91cmwvaW1nLnBuZ1wiKTtcbn1cblxuOnJvb3Qge1xuICAtLWZvbzogMXB4O1xuICAtLWJhcjogMnB4O1xufVxuXG4uY2xhc3MgeyBhOiBiIGMgZDsgfVxuXG4udHdvIHt9XG5cbi51LW1cXCsgeyBhOiBiIGMgZDsgfVxuXG4uY2xhc3MgeyBjb250ZW50OiBcIlxcRjEwQ1wiIH1cblxuQG1lZGlhIG9ubHkgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiA2MDBweCkge1xuICBib2R5IHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiBsaWdodGJsdWU7XG4gIH1cbn1cblxuLmNsYXNzIHtcbiAgY29udGVudDogXCJcXDIxOTNcIjtcbiAgY29udGVudDogXCJcXDIxOTNcXDIxOTNcIjtcbiAgY29udGVudDogXCJcXDIxOTMgXFwyMTkzXCI7XG4gIGNvbnRlbnQ6IFwiXFwyMTkzXFwyMTkzXFwyMTkzXCI7XG4gIGNvbnRlbnQ6IFwiXFwyMTkzIFxcMjE5MyBcXDIxOTNcIjtcbn1cblxuLi10b3Age31cbi5cXC10b3Age31cblxuI1xcI3Rlc3Qge31cblxuLmdyaWQge1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LXdyYXA6IHdyYXA7XG59XG4uZ3JpZC5cXC10b3Age1xuICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbn1cbi5ncmlkLi10b3Age1xuICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbn1cbi5ncmlkLlxcLW1pZGRsZSB7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG59XG4uZ3JpZC5cXC1ib3R0b20ge1xuICBhbGlnbi1pdGVtczogZmxleC1lbmQ7XG59XG5cbi51LW1cXDAwMDAyYiB7fVxuXG4udS1tMDAwMDJiIHt9XG5cbiN1LW1cXCsge31cblxuYm9keSB7XG4gIGZvbnQtZmFtaWx5OiAnw6XCvsKuw6jCvcKvw6nCm8KFw6nCu8KRJzsgLyogc29tZSBjaGluZXNlIGZvbnQgbmFtZSAqL1xufVxuXG4ubXlTdHlsZSB7XG4gIGNvbnRlbnQ6ICdcXGU5MDEnO1xufVxuXG4ubXlTdHlsZSB7XG4gIGNvbnRlbnQ6ICdcXEU5MDEnO1xufVxuXG4uw6LCmcKrIHt9XG5cbi5cXDNBIFxcYFxcKCB7fSAvKiBtYXRjaGVzIGVsZW1lbnRzIHdpdGggY2xhc3M9XCI6YChcIiAqL1xuLlxcMzEgYTJiM2Mge30gLyogbWF0Y2hlcyBlbGVtZW50cyB3aXRoIGNsYXNzPVwiMWEyYjNjXCIgKi9cbiNcXCNmYWtlLWlkIHt9IC8qIG1hdGNoZXMgdGhlIGVsZW1lbnQgd2l0aCBpZD1cIiNmYWtlLWlkXCIgKi9cbiMtYS1iLWMtIHt9IC8qIG1hdGNoZXMgdGhlIGVsZW1lbnQgd2l0aCBpZD1cIi1hLWItYy1cIiAqL1xuI8OCwqkge30gLyogbWF0Y2hlcyB0aGUgZWxlbWVudCB3aXRoIGlkPVwiw4LCqVwiICovXG5cbjpyb290IHtcbiAgLS10aXRsZS1hbGlnbjogY2VudGVyO1xuICAtLXNyLW9ubHk6IHtcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgd2lkdGg6IDFweDtcbiAgICBoZWlnaHQ6IDFweDtcbiAgICBwYWRkaW5nOiAwO1xuICAgIG92ZXJmbG93OiBoaWRkZW47XG4gICAgY2xpcDogcmVjdCgwLDAsMCwwKTtcbiAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICAgIGNsaXAtcGF0aDogaW5zZXQoNTAlKTtcbiAgICBib3JkZXI6IDA7XG4gIH07XG59XG5cbi50ZXN0IHtcbiAgY29udGVudDogXCJcXDIwMTRcXEEwXCI7XG4gIGNvbnRlbnQ6IFwiXFwyMDE0IFxcQTBcIjtcbiAgY29udGVudDogXCJcXEEwIFxcMjAxNFwiO1xuICBjb250ZW50OiBcIlxcQTBcXDIwMTRcIjtcbiAgbWFyZ2luLXRvcDogMXB4XFw5O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjMDAwXFw5O1xufVxuXG4ubGlnaHQub24gLmJ1bGI6YmVmb3Jle1xuICBjb250ZW50OiAnw7DCn8KSwqEnO1xufVxuXG4uYmFzZTY0IHtcbiAgYmFja2dyb3VuZDogdXJsKGRhdGE6aW1nL2pwZztiYXNlNjQsaVZCT1J3MEtHZ29BQUFBTlNVaEVVZ0FBQUJnQUFBQVlDQVlBQUFEZ2R6MzRBQUFBQVhOU1IwSUFyczRjNlFBQUFoeEpSRUZVU0EzdGs3MXJVMUVZeG5NVEVvSlVrb3dXd2RKMmFrRUhCZkdqQ2lJRjZaeWxWVUtTbTJUcVpMR0krQS9vSXUyVVhtOEM0bEF5RjRTV2ppMHRkRkxvMUVvN1ZOMFNhQkVoSDdlL056MG5QVGZHT2ppYUN5ZlBjNTczNHpsZkNRVDZYLzhFL3ZVRXJMODFLQmFMOXkzTFNudWVkNVBjSVRqVU93UjNnc0ZnMmJidGpZdDYvTkdnWEM0UDFldDFsMmFQTG1wQWJEMFNpZGpwZFBxZ1YxNVBBOWQxN3pRYWpVOFV4SFFSSy80RzM1UTVwdmVBSzhMbEkxWmpQTW5sY2x0bnl2bnZid2FPNDF4dnRWcXk3WUh6dE1BQ3E1eG5sYjlFWTNkUmR2Y0dvMWtqNXdSK3QxQW9mREcwZ00rQTg3NUU4RE5qUkNleHNyVjhQajlacVZRaXRWcnRxZWp4ZVB4ak1wbXNzNWhWVEI0YnVYdk1iMkR5VTJ0QlRSUytCanZObFZZVXBQbDdpdVZPM0dxMXVvUXgxRnRTT1cxZ1BncDVaV3JkQnRObVVEZ3Y1YXNneFE4RjFhZjV2aFkwWWp5anVXQzN3VHN6S0p6N0dCT2tjRmxRZlcyT05xNEZqV2krSGo2RFJDS3hRT0syVGxZNHg5MkV1WWQ1ZHZNQWJZSXpmaWthdTNwdTV0SjhLeGFMTGZvMGN5S2NpN3RLNFRaalVNY29YQW1Id3psZTBRL1JhQzVQMUdGTXlWeDlSOUZvOUhZcWxUclNncUR2RmVsQXFWUWE1aG11TVIvV0d0akFhQmRqd0JvRFEwWnNud1ZNWmpLWjluMFplbThEU2VEUGRyblpiTDZGMmwzTk92VVlOWms0b1ZEb1JUYWJQZTRFRE5KekIwWmNqQVl4ZW9aMmkzRk54UTdCSFl3L2NCL2ZsZGFILy9VRVRnSEhPOFM0NEtiZlhnQUFBQUJKUlU1RXJrSmdnZz09KTtcbn1cblxuYVtocmVmPScnXSB7XG4gIGNvbG9yOiByZWQ7XG59XG5cbmFbaHJlZj0nJyBpXSB7XG4gIGNvbG9yOiByZWQ7XG59XG5cbmFbaHJlZj1cIlwiXSB7XG4gIGNvbG9yOiBibHVlO1xufVxuXG5hW2hyZWY9XCJcIiBpXSB7XG4gIGNvbG9yOiBibHVlO1xufVxuIl0sInNvdXJjZVJvb3QiOiIifQ== */",
+}
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and generate source maps: warnings 1`] = `[]`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and keep import and emit errors on \`@import\` at-rules: errors 1`] = `[]`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and keep import and emit errors on \`@import\` at-rules: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./url/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_1___ = new URL("data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class-duplicate-url {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\\\+ { a: b c d; }
+
+.class { content: "\\\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\\\2193";
+ content: "\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193";
+ content: "\\\\2193\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193 \\\\2193";
+}
+
+.-top {}
+.\\\\-top {}
+
+#\\\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\\\-middle {
+ align-items: center;
+}
+.grid.\\\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\\\e901';
+}
+
+.myStyle {
+ content: '\\\\E901';
+}
+
+.♫ {}
+
+.\\\\3A \\\\\\\`\\\\( {} /* matches elements with class=":\\\`(" */
+.\\\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\\\.\\\\\\\` {
+ color: aliceblue;
+}
+
+\\\\.\\\\\\$\\\\{foo\\\\} {
+ color: aliceblue;
+}
+
+/* \\\` */
+/* \\\`\\\` */
+/* \\\`\\\`\\\` */
+/* \\\${} */
+/* \\\\\\\\\\\` */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\\\2014\\\\A0";
+ content: "\\\\2014 \\\\A0";
+ content: "\\\\A0 \\\\2014";
+ content: "\\\\A0\\\\2014";
+ margin-top: 1px\\\\9;
+ background-color: #000\\\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_1___});
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+\`, ""]);
+// Exports
+var ___CSS_LOADER_STYLE_SHEET___ = new CSSStyleSheet();
+___CSS_LOADER_STYLE_SHEET___.replaceSync(___CSS_LOADER_EXPORT___.toString());
+export default ___CSS_LOADER_STYLE_SHEET___;
+"
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and keep import and emit errors on \`@import\` at-rules: result 1`] = `
+CSSStyleSheet {
+ "text": "@charset "UTF-8";
+
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(file:///webpack/public/path/img.png);
+}
+
+.class-duplicate-url {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\+ { a: b c d; }
+
+.class { content: "\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\2193";
+ content: "\\2193\\2193";
+ content: "\\2193 \\2193";
+ content: "\\2193\\2193\\2193";
+ content: "\\2193 \\2193 \\2193";
+}
+
+.-top {}
+.\\-top {}
+
+#\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\-middle {
+ align-items: center;
+}
+.grid.\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\e901';
+}
+
+.myStyle {
+ content: '\\E901';
+}
+
+.♫ {}
+
+.\\3A \\\`\\( {} /* matches elements with class=":\`(" */
+.\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\.\\\` {
+ color: aliceblue;
+}
+
+\\.\\$\\{foo\\} {
+ color: aliceblue;
+}
+
+/* \` */
+/* \`\` */
+/* \`\`\` */
+/* \${} */
+/* \\\\\` */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\2014\\A0";
+ content: "\\2014 \\A0";
+ content: "\\A0 \\2014";
+ content: "\\A0\\2014";
+ margin-top: 1px\\9;
+ background-color: #000\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+",
+}
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and keep import and emit errors on \`@import\` at-rules: warnings 1`] = `[]`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and urls: errors 1`] = `
+[
+ "ModuleError: Module Error (from \`replaced original path\`):
+/test/fixtures/url/url.css:1:1: '@import' rules are not allowed here and will not be processed",
+]
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and urls: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_1___ = new URL("package/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_2___ = new URL("./other-img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_3___ = new URL("./img img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_4___ = new URL("/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_5___ = new URL("data:image/png;base64,AAA", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_6___ = new URL("data:image/svg+xml;charset=utf-8, ", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_7___ = new URL("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2042%2026%27%20fill%3D%27%2523007aff%27%3E%3Crect%20width%3D%274%27%20height%3D%274%27%2F%3E%3Crect%20x%3D%278%27%20y%3D%271%27%20width%3D%2734%27%20height%3D%272%27%2F%3E%3Crect%20y%3D%2711%27%20width%3D%274%27%20height%3D%274%27%2F%3E%3Crect%20x%3D%278%27%20y%3D%2712%27%20width%3D%2734%27%20height%3D%272%27%2F%3E%3Crect%20y%3D%2722%27%20width%3D%274%27%20height%3D%274%27%2F%3E%3Crect%20x%3D%278%27%20y%3D%2723%27%20width%3D%2734%27%20height%3D%272%27%2F%3E%3C%2Fsvg%3E", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_8___ = new URL("data:image/svg+xml;charset=utf-8, #filter", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_9___ = new URL("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%5C%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%5C%22%3E%3Cfilter%20id%3D%5C%22filter%5C%22%3E%3CfeGaussianBlur%20in%3D%5C%22SourceAlpha%5C%22%20stdDeviation%3D%5C%220%5C%22%20%2F%3E%3CfeOffset%20dx%3D%5C%221%5C%22%20dy%3D%5C%222%5C%22%20result%3D%5C%22offsetblur%5C%22%20%2F%3E%3CfeFlood%20flood-color%3D%5C%22rgba%28255%2C255%2C255%2C1%29%5C%22%20%2F%3E%3CfeComposite%20in2%3D%5C%22offsetblur%5C%22%20operator%3D%5C%22in%5C%22%20%2F%3E%3CfeMerge%3E%3CfeMergeNode%20%2F%3E%3CfeMergeNode%20in%3D%5C%22SourceGraphic%5C%22%20%2F%3E%3C%2FfeMerge%3E%3C%2Ffilter%3E%3C%2Fsvg%3E%23filter", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_10___ = new URL("./font.woff", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_11___ = new URL("./font.woff2", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_12___ = new URL("./font.eot", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_13___ = new URL("package/font.ttf", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_14___ = new URL("./font with spaces.eot", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_15___ = new URL("./font.svg", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_16___ = new URL("./font.woff2?foo=bar", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_17___ = new URL("./img1x.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_18___ = new URL("./img2x.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_19___ = new URL("./img.png?foo", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_20___ = new URL("./img.png?foo=bar", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_21___ = new URL("./img.png?", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_22___ = new URL("img-simple.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_23___ = new URL("/url/img-simple.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_24___ = new URL("../url/img-simple.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_25___ = new URL("aliasesImg/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_26___ = new URL("./nested/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_27___ = new URL("nested/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_28___ = new URL("./img3x.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_29___ = new URL("./img1x.png?foo=bar", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_30___ = new URL("./img'img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_31___ = new URL("./img'''img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_32___ = new URL("./img(img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_33___ = new URL("./img)img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_34___ = new URL("./img'() img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_35___ = new URL("img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_36___ = new URL("./something.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_37___ = new URL("./something.png?foo=bar", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_38___ = new URL("./something.png?bar=foo", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_39___ = new URL("./something.png?foo=1&bar=2", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_40___ = new URL("./something.png?foo=2&bar=1", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_41___ = new URL("data:image/svg+xml;charset=UTF-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A%3C%21DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0A%09%20width%3D%22191px%22%20height%3D%22191px%22%20viewBox%3D%220%200%20191%20191%22%20enable-background%3D%22new%200%200%20191%20191%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cpath%20fill%3D%22%23636363%22%20d%3D%22M95.5%2C0C42.8%2C0%2C0%2C42.8%2C0%2C95.5S42.8%2C191%2C95.5%2C191S191%2C148.2%2C191%2C95.5S148.2%2C0%2C95.5%2C0z%20M95.5%2C187.6%0A%09c-50.848%2C0-92.1-41.25-92.1-92.1c0-50.848%2C41.252-92.1%2C92.1-92.1c50.85%2C0%2C92.1%2C41.252%2C92.1%2C92.1%0A%09C187.6%2C146.35%2C146.35%2C187.6%2C95.5%2C187.6z%22%2F%3E%0A%3Cg%3E%0A%09%3Cpath%20fill%3D%22%23636363%22%20d%3D%22M92.9%2C10v8.6H91v-6.5c-0.1%2C0.1-0.2%2C0.2-0.4%2C0.3c-0.2%2C0.1-0.3%2C0.2-0.4%2C0.2c-0.1%2C0-0.3%2C0.1-0.5%2C0.2%0A%09%09c-0.2%2C0.1-0.3%2C0.1-0.5%2C0.1v-1.6c0.5-0.1%2C0.9-0.3%2C1.4-0.5c0.5-0.2%2C0.8-0.5%2C1.2-0.7h1.1V10z%22%2F%3E%0A%09%3Cpath%20fill%3D%22%23636363%22%20d%3D%22M97.1%2C17.1h3.602v1.5h-5.6V18c0-0.4%2C0.1-0.8%2C0.2-1.2c0.1-0.4%2C0.3-0.6%2C0.5-0.9c0.2-0.3%2C0.5-0.5%2C0.7-0.7%0A%09%09c0.2-0.2%2C0.5-0.4%2C0.7-0.6c0.199-0.2%2C0.5-0.3%2C0.6-0.5c0.102-0.2%2C0.301-0.3%2C0.5-0.5c0.2-0.2%2C0.2-0.3%2C0.301-0.5%0A%09%09c0.101-0.2%2C0.101-0.3%2C0.101-0.5c0-0.4-0.101-0.6-0.3-0.8c-0.2-0.2-0.4-0.3-0.801-0.3c-0.699%2C0-1.399%2C0.3-2.101%2C0.9v-1.6%0A%09%09c0.7-0.5%2C1.5-0.7%2C2.5-0.7c0.399%2C0%2C0.8%2C0.1%2C1.101%2C0.2c0.301%2C0.1%2C0.601%2C0.3%2C0.899%2C0.5c0.3%2C0.2%2C0.399%2C0.5%2C0.5%2C0.8%0A%09%09c0.101%2C0.3%2C0.2%2C0.6%2C0.2%2C1s-0.102%2C0.7-0.2%2C1c-0.099%2C0.3-0.3%2C0.6-0.5%2C0.8c-0.2%2C0.2-0.399%2C0.5-0.7%2C0.7c-0.3%2C0.2-0.5%2C0.4-0.8%2C0.6%0A%09%09c-0.2%2C0.1-0.399%2C0.3-0.5%2C0.4s-0.3%2C0.3-0.5%2C0.4s-0.2%2C0.3-0.3%2C0.4C97.1%2C17%2C97.1%2C17%2C97.1%2C17.1z%22%2F%3E%0A%3C%2Fg%3E%0A%3Cg%3E%0A%09%3Cpath%20fill%3D%22%23636363%22%20d%3D%22M15%2C95.4c0%2C0.7-0.1%2C1.4-0.2%2C2c-0.1%2C0.6-0.4%2C1.1-0.7%2C1.5C13.8%2C99.3%2C13.4%2C99.6%2C12.9%2C99.8s-1%2C0.3-1.5%2C0.3%0A%09%09c-0.7%2C0-1.3-0.1-1.8-0.3v-1.5c0.4%2C0.3%2C1%2C0.4%2C1.6%2C0.4c0.6%2C0%2C1.1-0.2%2C1.5-0.7c0.4-0.5%2C0.5-1.1%2C0.5-1.9l0%2C0%0A%09%09C12.8%2C96.7%2C12.3%2C96.9%2C11.5%2C96.9c-0.3%2C0-0.7-0.102-1-0.2c-0.3-0.101-0.5-0.3-0.8-0.5c-0.3-0.2-0.4-0.5-0.5-0.8%0A%09%09c-0.1-0.3-0.2-0.7-0.2-1c0-0.4%2C0.1-0.8%2C0.2-1.2c0.1-0.4%2C0.3-0.7%2C0.6-0.9c0.3-0.2%2C0.6-0.5%2C0.9-0.6c0.3-0.1%2C0.8-0.2%2C1.2-0.2%0A%09%09c0.5%2C0%2C0.9%2C0.1%2C1.2%2C0.3c0.3%2C0.2%2C0.7%2C0.4%2C0.9%2C0.8s0.5%2C0.7%2C0.6%2C1.2S15%2C94.8%2C15%2C95.4z%20M13.1%2C94.4c0-0.2%2C0-0.4-0.1-0.6%0A%09%09c-0.1-0.2-0.1-0.4-0.2-0.5c-0.1-0.1-0.2-0.2-0.4-0.3c-0.2-0.1-0.3-0.1-0.5-0.1c-0.2%2C0-0.3%2C0-0.4%2C0.1s-0.3%2C0.2-0.3%2C0.3%0A%09%09c0%2C0.1-0.2%2C0.3-0.2%2C0.4c0%2C0.1-0.1%2C0.4-0.1%2C0.6c0%2C0.2%2C0%2C0.4%2C0.1%2C0.6c0.1%2C0.2%2C0.1%2C0.3%2C0.2%2C0.4c0.1%2C0.1%2C0.2%2C0.2%2C0.4%2C0.3%0A%09%09c0.2%2C0.1%2C0.3%2C0.1%2C0.5%2C0.1c0.2%2C0%2C0.3%2C0%2C0.4-0.1s0.2-0.2%2C0.3-0.3c0.1-0.1%2C0.2-0.2%2C0.2-0.4C13%2C94.7%2C13.1%2C94.6%2C13.1%2C94.4z%22%2F%3E%0A%3C%2Fg%3E%0A%3Cg%3E%0A%09%3Cpath%20fill%3D%22%23636363%22%20d%3D%22M176%2C99.7V98.1c0.6%2C0.4%2C1.2%2C0.602%2C2%2C0.602c0.5%2C0%2C0.8-0.102%2C1.1-0.301c0.301-0.199%2C0.4-0.5%2C0.4-0.801%0A%09%09c0-0.398-0.2-0.699-0.5-0.898c-0.3-0.2-0.8-0.301-1.3-0.301h-0.802V95h0.701c1.101%2C0%2C1.601-0.4%2C1.601-1.1c0-0.7-0.4-1-1.302-1%0A%09%09c-0.6%2C0-1.1%2C0.2-1.6%2C0.5v-1.5c0.6-0.3%2C1.301-0.4%2C2.1-0.4c0.9%2C0%2C1.5%2C0.2%2C2%2C0.6s0.701%2C0.9%2C0.701%2C1.5c0%2C1.1-0.601%2C1.8-1.701%2C2.1l0%2C0%0A%09%09c0.602%2C0.1%2C1.102%2C0.3%2C1.4%2C0.6s0.5%2C0.8%2C0.5%2C1.3c0%2C0.801-0.3%2C1.4-0.9%2C1.9c-0.6%2C0.5-1.398%2C0.7-2.398%2C0.7%0A%09%09C177.2%2C100.1%2C176.5%2C100%2C176%2C99.7z%22%2F%3E%0A%3C%2Fg%3E%0A%3Cg%3E%0A%09%3Cpath%20fill%3D%22%23636363%22%20d%3D%22M98.5%2C179.102c0%2C0.398-0.1%2C0.799-0.2%2C1.199C98.2%2C180.7%2C98%2C181%2C97.7%2C181.2s-0.601%2C0.5-0.9%2C0.601%0A%09%09c-0.3%2C0.1-0.7%2C0.199-1.2%2C0.199c-0.5%2C0-0.9-0.1-1.3-0.3c-0.4-0.2-0.7-0.399-0.9-0.8c-0.2-0.4-0.5-0.7-0.6-1.2%0A%09%09c-0.1-0.5-0.2-1-0.2-1.601c0-0.699%2C0.1-1.399%2C0.3-2c0.2-0.601%2C0.4-1.101%2C0.8-1.5c0.4-0.399%2C0.7-0.699%2C1.2-1c0.5-0.3%2C1-0.3%2C1.6-0.3%0A%09%09c0.6%2C0%2C1.2%2C0.101%2C1.5%2C0.199v1.5c-0.4-0.199-0.9-0.399-1.4-0.399c-0.3%2C0-0.6%2C0.101-0.8%2C0.2c-0.2%2C0.101-0.5%2C0.3-0.7%2C0.5%0A%09%09c-0.2%2C0.199-0.3%2C0.5-0.4%2C0.8c-0.1%2C0.301-0.2%2C0.7-0.2%2C1.101l0%2C0c0.4-0.601%2C1-0.8%2C1.8-0.8c0.3%2C0%2C0.7%2C0.1%2C0.9%2C0.199%0A%09%09c0.2%2C0.101%2C0.5%2C0.301%2C0.7%2C0.5c0.199%2C0.2%2C0.398%2C0.5%2C0.5%2C0.801C98.5%2C178.2%2C98.5%2C178.7%2C98.5%2C179.102z%20M96.7%2C179.2%0A%09%09c0-0.899-0.4-1.399-1.1-1.399c-0.2%2C0-0.3%2C0-0.5%2C0.1c-0.2%2C0.101-0.3%2C0.201-0.4%2C0.301c-0.1%2C0.101-0.2%2C0.199-0.2%2C0.4%0A%09%09c0%2C0.199-0.1%2C0.299-0.1%2C0.5c0%2C0.199%2C0%2C0.398%2C0.1%2C0.6s0.1%2C0.3%2C0.2%2C0.5c0.1%2C0.199%2C0.2%2C0.199%2C0.4%2C0.3c0.2%2C0.101%2C0.3%2C0.101%2C0.5%2C0.101%0A%09%09c0.2%2C0%2C0.3%2C0%2C0.5-0.101c0.2-0.101%2C0.301-0.199%2C0.301-0.3c0-0.1%2C0.199-0.301%2C0.199-0.399C96.6%2C179.7%2C96.7%2C179.4%2C96.7%2C179.2z%22%2F%3E%0A%3C%2Fg%3E%0A%3Ccircle%20fill%3D%22%23636363%22%20cx%3D%2295%22%20cy%3D%2295%22%20r%3D%227%22%2F%3E%0A%3C%2Fsvg%3E%0A", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_42___ = new URL("/guide/img/banWord/addCoinDialogTitleBg.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_43___ = new URL("!!../../helpers/url-loader.js?esModule=false!package/img-single.png?ignore-asset-modules", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_44___ = new URL("nested/other.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_45___ = new URL("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23343a40%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27M2 5l6 6 6-6%27/%3e%3c/svg%3e", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_46___ = new URL("data:image/svg+xml;utf8, ", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___, { hash: "#hash" });
+var ___CSS_LOADER_URL_REPLACEMENT_2___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
+var ___CSS_LOADER_URL_REPLACEMENT_3___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___);
+var ___CSS_LOADER_URL_REPLACEMENT_4___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_3___);
+var ___CSS_LOADER_URL_REPLACEMENT_5___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_4___);
+var ___CSS_LOADER_URL_REPLACEMENT_6___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_5___);
+var ___CSS_LOADER_URL_REPLACEMENT_7___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_6___);
+var ___CSS_LOADER_URL_REPLACEMENT_8___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_7___);
+var ___CSS_LOADER_URL_REPLACEMENT_9___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_8___);
+var ___CSS_LOADER_URL_REPLACEMENT_10___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_9___);
+var ___CSS_LOADER_URL_REPLACEMENT_11___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_10___);
+var ___CSS_LOADER_URL_REPLACEMENT_12___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_11___);
+var ___CSS_LOADER_URL_REPLACEMENT_13___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_12___);
+var ___CSS_LOADER_URL_REPLACEMENT_14___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_13___);
+var ___CSS_LOADER_URL_REPLACEMENT_15___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_14___);
+var ___CSS_LOADER_URL_REPLACEMENT_16___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_15___, { hash: "#svgFontName" });
+var ___CSS_LOADER_URL_REPLACEMENT_17___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_16___);
+var ___CSS_LOADER_URL_REPLACEMENT_18___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_12___, { hash: "?#iefix" });
+var ___CSS_LOADER_URL_REPLACEMENT_19___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_14___, { hash: "?#iefix" });
+var ___CSS_LOADER_URL_REPLACEMENT_20___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_17___);
+var ___CSS_LOADER_URL_REPLACEMENT_21___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_18___);
+var ___CSS_LOADER_URL_REPLACEMENT_22___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_19___);
+var ___CSS_LOADER_URL_REPLACEMENT_23___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_20___);
+var ___CSS_LOADER_URL_REPLACEMENT_24___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_20___, { hash: "#hash" });
+var ___CSS_LOADER_URL_REPLACEMENT_25___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_21___);
+var ___CSS_LOADER_URL_REPLACEMENT_26___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_22___);
+var ___CSS_LOADER_URL_REPLACEMENT_27___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_23___);
+var ___CSS_LOADER_URL_REPLACEMENT_28___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_24___);
+var ___CSS_LOADER_URL_REPLACEMENT_29___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_25___);
+var ___CSS_LOADER_URL_REPLACEMENT_30___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_26___);
+var ___CSS_LOADER_URL_REPLACEMENT_31___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_27___);
+var ___CSS_LOADER_URL_REPLACEMENT_32___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_17___, { needQuotes: true });
+var ___CSS_LOADER_URL_REPLACEMENT_33___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_18___, { needQuotes: true });
+var ___CSS_LOADER_URL_REPLACEMENT_34___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_3___, { needQuotes: true });
+var ___CSS_LOADER_URL_REPLACEMENT_35___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_28___, { needQuotes: true });
+var ___CSS_LOADER_URL_REPLACEMENT_36___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_29___, { needQuotes: true });
+var ___CSS_LOADER_URL_REPLACEMENT_37___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_17___, { hash: "#hash", needQuotes: true });
+var ___CSS_LOADER_URL_REPLACEMENT_38___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_17___, { hash: "?#iefix", needQuotes: true });
+var ___CSS_LOADER_URL_REPLACEMENT_39___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_28___);
+var ___CSS_LOADER_URL_REPLACEMENT_40___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_30___);
+var ___CSS_LOADER_URL_REPLACEMENT_41___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_31___);
+var ___CSS_LOADER_URL_REPLACEMENT_42___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_32___);
+var ___CSS_LOADER_URL_REPLACEMENT_43___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_33___);
+var ___CSS_LOADER_URL_REPLACEMENT_44___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_34___);
+var ___CSS_LOADER_URL_REPLACEMENT_45___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_35___);
+var ___CSS_LOADER_URL_REPLACEMENT_46___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_36___);
+var ___CSS_LOADER_URL_REPLACEMENT_47___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_37___);
+var ___CSS_LOADER_URL_REPLACEMENT_48___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_37___, { hash: "#hash" });
+var ___CSS_LOADER_URL_REPLACEMENT_49___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_38___);
+var ___CSS_LOADER_URL_REPLACEMENT_50___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_37___, { hash: "#foo" });
+var ___CSS_LOADER_URL_REPLACEMENT_51___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_38___, { hash: "#bar" });
+var ___CSS_LOADER_URL_REPLACEMENT_52___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_39___);
+var ___CSS_LOADER_URL_REPLACEMENT_53___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_40___);
+var ___CSS_LOADER_URL_REPLACEMENT_54___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_41___);
+var ___CSS_LOADER_URL_REPLACEMENT_55___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_42___);
+var ___CSS_LOADER_URL_REPLACEMENT_56___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_43___);
+var ___CSS_LOADER_URL_REPLACEMENT_57___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_44___);
+var ___CSS_LOADER_URL_REPLACEMENT_58___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_45___);
+var ___CSS_LOADER_URL_REPLACEMENT_59___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_46___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@import "./imported.css";
+
+.class {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_1___});
+}
+
+.class {
+ background: url(
+ \${___CSS_LOADER_URL_REPLACEMENT_0___}
+ );
+}
+
+.class {
+ background: green url( \${___CSS_LOADER_URL_REPLACEMENT_0___} ) xyz;
+}
+
+.class {
+ background: green url( \${___CSS_LOADER_URL_REPLACEMENT_0___} ) xyz;
+}
+
+.class {
+ background: green url( \${___CSS_LOADER_URL_REPLACEMENT_0___} ) xyz;
+}
+
+.class {
+ background: green url(\${___CSS_LOADER_URL_REPLACEMENT_2___}) url(\${___CSS_LOADER_URL_REPLACEMENT_3___}) xyz;
+}
+
+.class {
+ background: green url( \${___CSS_LOADER_URL_REPLACEMENT_4___} ) xyz;
+}
+
+.class {
+ background: green url( \${___CSS_LOADER_URL_REPLACEMENT_4___} ) xyz;
+}
+
+.class {
+ background: green url(\${___CSS_LOADER_URL_REPLACEMENT_5___}) xyz;
+}
+
+.class {
+ background: green url(\${___CSS_LOADER_URL_REPLACEMENT_6___}) url(http://example.com/image.jpg) url(//example.com/image.png) xyz;
+}
+
+.class {
+ background-image: url(\${___CSS_LOADER_URL_REPLACEMENT_7___});
+}
+
+.class {
+ background-image: url(\${___CSS_LOADER_URL_REPLACEMENT_8___});
+}
+
+.class {
+ filter: url(\${___CSS_LOADER_URL_REPLACEMENT_9___});
+}
+
+.class {
+ filter: url(\${___CSS_LOADER_URL_REPLACEMENT_10___});
+}
+
+.highlight {
+ filter: url(#highlight);
+}
+
+.highlight {
+ filter: url('#line-marker');
+}
+
+@font-face {
+ src: url(\${___CSS_LOADER_URL_REPLACEMENT_11___}) format('woff'),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_12___}) format('woff2'),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_13___}) format('eot'),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_14___}) format('truetype'),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_15___}) format("embedded-opentype"),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_16___}) format('svg'),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_17___}) format('woff2'),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_18___}) format('embedded-opentype'),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_19___}) format('embedded-opentype');
+}
+
+@media (min-width: 500px) {
+ body {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+ }
+}
+
+a {
+ content: "do not use url(path)";
+}
+
+b {
+ content: 'do not "use" url(path)';
+}
+
+@keyframes anim {
+ background: green url(\${___CSS_LOADER_URL_REPLACEMENT_0___}) xyz;
+}
+
+.a {
+ background-image: -webkit-image-set(url(\${___CSS_LOADER_URL_REPLACEMENT_20___}) 1x, url(\${___CSS_LOADER_URL_REPLACEMENT_21___}) 2x)
+}
+
+.a {
+ background-image: image-set(url(\${___CSS_LOADER_URL_REPLACEMENT_20___}) 1x, url(\${___CSS_LOADER_URL_REPLACEMENT_21___}) 2x)
+}
+
+.class {
+ background: green url() xyz;
+}
+
+.class {
+ background: green url('') xyz;
+}
+
+.class {
+ background: green url("") xyz;
+}
+
+.class {
+ background: green url(' ') xyz;
+}
+
+.class {
+ background: green url(
+ ) xyz;
+}
+
+.class {
+ background: green url(https://raw.githubusercontent.com/webpack/media/master/logo/icon.png) xyz;
+}
+
+.class {
+ background: green url(//raw.githubusercontent.com/webpack/media/master/logo/icon.png) xyz;
+}
+
+.class {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_22___});
+}
+
+.class {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_23___});
+}
+
+.class {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_24___});
+}
+
+.class {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_24___});
+}
+
+.class {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_25___});
+}
+
+.class {
+ background-image: url(\${___CSS_LOADER_URL_REPLACEMENT_0___}) url(\${___CSS_LOADER_URL_REPLACEMENT_7___}) url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class {
+ background: ___CSS_LOADER_URL___;
+ background: ___CSS_LOADER_URL___INDEX___;
+ background: ___CSS_LOADER_URL___99999___;
+ background: ___CSS_LOADER_IMPORT___;
+ background: ___CSS_LOADER_IMPORT___INDEX___;
+ background: ___CSS_LOADER_IMPORT___99999___;
+}
+
+.pure-url {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_26___});
+}
+
+.root-relative {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_27___});
+}
+
+.above-below {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_28___});
+}
+
+.tilde {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_2___});
+}
+
+.aliases {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_29___}) ;
+}
+
+a {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_30___});
+}
+
+a {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_31___});
+}
+
+@font-face {
+ src: url("//at.alicdn.com/t/font_515771_emcns5054x3whfr.eot");
+}
+
+.class {
+ /* Broken */
+ background-image: -webkit-image-set();
+ background-image: -webkit-image-set('');
+ background-image: image-set();
+ background-image: image-set('');
+ background-image: image-set("");
+ background-image: image-set("" 1x);
+ background-image: image-set(url());
+ background-image: image-set(
+ url()
+ );
+ background-image: image-set(URL());
+ background-image: image-set(url(''));
+ background-image: image-set(url(""));
+ background-image: image-set(url('') 1x);
+ background-image: image-set(1x);
+ background-image: image-set(
+ 1x
+ );
+ background: image-set(calc(1rem + 1px) 1x);
+
+ /* Strings */
+ background-image: -webkit-image-set(\${___CSS_LOADER_URL_REPLACEMENT_32___} 1x, \${___CSS_LOADER_URL_REPLACEMENT_33___} 2x);
+ background-image: image-set(\${___CSS_LOADER_URL_REPLACEMENT_32___} 1x);
+ background-image: image-set(\${___CSS_LOADER_URL_REPLACEMENT_32___} 1x, \${___CSS_LOADER_URL_REPLACEMENT_33___} 2x);
+ background-image: image-set(\${___CSS_LOADER_URL_REPLACEMENT_34___} 1x, \${___CSS_LOADER_URL_REPLACEMENT_34___} 2x);
+ background-image: image-set(\${___CSS_LOADER_URL_REPLACEMENT_32___} 1x, \${___CSS_LOADER_URL_REPLACEMENT_33___} 2x),
+ image-set(\${___CSS_LOADER_URL_REPLACEMENT_32___} 1x, \${___CSS_LOADER_URL_REPLACEMENT_33___} 2x);
+ background-image: image-set(
+ \${___CSS_LOADER_URL_REPLACEMENT_32___} 1x,
+ \${___CSS_LOADER_URL_REPLACEMENT_33___} 2x,
+ \${___CSS_LOADER_URL_REPLACEMENT_35___} 600dpi
+ );
+ background-image: image-set(\${___CSS_LOADER_URL_REPLACEMENT_36___} 1x);
+ background-image: image-set(\${___CSS_LOADER_URL_REPLACEMENT_37___} 1x);
+ background-image: image-set(\${___CSS_LOADER_URL_REPLACEMENT_38___} 1x);
+
+ /* With \\\`url\\\` function */
+ background-image: -webkit-image-set(url(\${___CSS_LOADER_URL_REPLACEMENT_20___}) 1x, url(\${___CSS_LOADER_URL_REPLACEMENT_21___}) 2x);
+ background-image: -webkit-image-set(url(\${___CSS_LOADER_URL_REPLACEMENT_20___}) 1x);
+ background-image: -webkit-image-set(
+ url(\${___CSS_LOADER_URL_REPLACEMENT_20___}) 1x
+ );
+ background-image: image-set(url(\${___CSS_LOADER_URL_REPLACEMENT_20___}) 1x);
+ background-image: image-set(
+ url(\${___CSS_LOADER_URL_REPLACEMENT_20___}) 1x
+ );
+ background-image: image-set(url(\${___CSS_LOADER_URL_REPLACEMENT_20___}) 1x, url(\${___CSS_LOADER_URL_REPLACEMENT_21___}) 2x);
+ background-image: image-set(
+ url(\${___CSS_LOADER_URL_REPLACEMENT_20___}) 1x,
+ url(\${___CSS_LOADER_URL_REPLACEMENT_21___}) 2x,
+ url(\${___CSS_LOADER_URL_REPLACEMENT_39___}) 600dpi
+ );
+ background-image: image-set(url(\${___CSS_LOADER_URL_REPLACEMENT_4___}) 1x, url(\${___CSS_LOADER_URL_REPLACEMENT_4___}) 2x);
+
+ background-image: image-set(url(\${___CSS_LOADER_URL_REPLACEMENT_20___}) 1x, \${___CSS_LOADER_URL_REPLACEMENT_33___} 2x);
+}
+
+.class {
+ /* Not allowed on windows */
+ /* background: url(./img\\\\"img.png); */
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_40___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_41___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_42___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_43___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_4___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_44___});
+
+ background-image: image-set(
+ /* Not allowed on windows */
+ /* url(./img\\\\"img.png) 1x, */
+ url(\${___CSS_LOADER_URL_REPLACEMENT_41___}) 2x,
+ url(\${___CSS_LOADER_URL_REPLACEMENT_40___}) 3x,
+ url(\${___CSS_LOADER_URL_REPLACEMENT_42___}) 4x,
+ url(\${___CSS_LOADER_URL_REPLACEMENT_43___}) 5x,
+ url(\${___CSS_LOADER_URL_REPLACEMENT_4___}) 6x,
+ url(\${___CSS_LOADER_URL_REPLACEMENT_44___}) 7x
+ );
+}
+
+.class-class-class {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_41___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_44___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_40___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_42___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_43___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_4___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_4___});
+}
+
+/* Comment */
+
+.class.class.class {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_42___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_42___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_42___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_42___});
+}
+
+.other-test-case {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_41___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_44___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_40___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_42___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_43___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_4___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_41___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_44___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_40___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_42___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_43___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_4___});
+}
+
+.qqq {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_45___});
+}
+
+.www {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_41___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_44___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_40___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_42___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_43___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_4___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_40___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_44___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_44___});
+}
+
+.class {
+ /* Should be one import */
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_46___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_46___});
+
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_47___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_47___});
+
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_48___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_48___});
+
+ /* Should be two imports */
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_47___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_49___});
+
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_50___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_51___});
+
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_52___});
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_53___});
+}
+
+.base {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_54___}) 50% 50%/191px no-repeat;
+}
+
+.strange {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.my-background {
+ background-image: url(\${___CSS_LOADER_URL_REPLACEMENT_55___});
+}
+
+.class {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___}, 'foo', './img.png', url('./img.png'));
+ background-image: image-set(url(\${___CSS_LOADER_URL_REPLACEMENT_0___}, 'foo', './img.png', url('./img.png')) 1x, url(\${___CSS_LOADER_URL_REPLACEMENT_21___}) 2x);
+}
+
+.button {
+ background-image: url('data:image/svg+xml;utf8, ');
+}
+
+/* We need to use \\\`resourceQuery: /inline/\\\` */
+/* Hard to test on webpack v4 */
+.qqq {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_56___})
+}
+
+.class {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_45___});
+}
+
+.class {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_45___});
+}
+
+/** Prefer relative **/
+.class {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_31___});
+}
+
+/** Prefer from modules **/
+.class {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_57___});
+}
+
+.class {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_2___});
+}
+
+.foo {
+ background-image: url(\${___CSS_LOADER_URL_REPLACEMENT_58___});
+}
+
+.bar {
+ background-image: url(\${___CSS_LOADER_URL_REPLACEMENT_59___});
+}
+\`, ""]);
+// Exports
+var ___CSS_LOADER_STYLE_SHEET___ = new CSSStyleSheet();
+___CSS_LOADER_STYLE_SHEET___.replaceSync(___CSS_LOADER_EXPORT___.toString());
+export default ___CSS_LOADER_STYLE_SHEET___;
+"
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and urls: result 1`] = `
+CSSStyleSheet {
+ "text": "@import "./imported.css";
+
+.class {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+.class {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+.class {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+.class {
+ background: url(file:///webpack/public/path/img.png#hash);
+}
+
+.class {
+ background: url(
+ file:///webpack/public/path/img.png
+ );
+}
+
+.class {
+ background: green url( file:///webpack/public/path/img.png ) xyz;
+}
+
+.class {
+ background: green url( file:///webpack/public/path/img.png ) xyz;
+}
+
+.class {
+ background: green url( file:///webpack/public/path/img.png ) xyz;
+}
+
+.class {
+ background: green url(file:///webpack/public/path/img.png) url(file:///webpack/public/path/other-img.png) xyz;
+}
+
+.class {
+ background: green url( "file:///webpack/public/path/img%20img.png" ) xyz;
+}
+
+.class {
+ background: green url( "file:///webpack/public/path/img%20img.png" ) xyz;
+}
+
+.class {
+ background: green url(file:///webpack/public/path/img.png) xyz;
+}
+
+.class {
+ background: green url(data:image/png;base64,AAA) url(http://example.com/image.jpg) url(//example.com/image.png) xyz;
+}
+
+.class {
+ background-image: url("data:image/svg+xml;charset=utf-8, ");
+}
+
+.class {
+ background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2042%2026%27%20fill%3D%27%2523007aff%27%3E%3Crect%20width%3D%274%27%20height%3D%274%27%2F%3E%3Crect%20x%3D%278%27%20y%3D%271%27%20width%3D%2734%27%20height%3D%272%27%2F%3E%3Crect%20y%3D%2711%27%20width%3D%274%27%20height%3D%274%27%2F%3E%3Crect%20x%3D%278%27%20y%3D%2712%27%20width%3D%2734%27%20height%3D%272%27%2F%3E%3Crect%20y%3D%2722%27%20width%3D%274%27%20height%3D%274%27%2F%3E%3Crect%20x%3D%278%27%20y%3D%2723%27%20width%3D%2734%27%20height%3D%272%27%2F%3E%3C%2Fsvg%3E");
+}
+
+.class {
+ filter: url("data:image/svg+xml;charset=utf-8, #filter");
+}
+
+.class {
+ filter: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%5C%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%5C%22%3E%3Cfilter%20id%3D%5C%22filter%5C%22%3E%3CfeGaussianBlur%20in%3D%5C%22SourceAlpha%5C%22%20stdDeviation%3D%5C%220%5C%22%20%2F%3E%3CfeOffset%20dx%3D%5C%221%5C%22%20dy%3D%5C%222%5C%22%20result%3D%5C%22offsetblur%5C%22%20%2F%3E%3CfeFlood%20flood-color%3D%5C%22rgba%28255%2C255%2C255%2C1%29%5C%22%20%2F%3E%3CfeComposite%20in2%3D%5C%22offsetblur%5C%22%20operator%3D%5C%22in%5C%22%20%2F%3E%3CfeMerge%3E%3CfeMergeNode%20%2F%3E%3CfeMergeNode%20in%3D%5C%22SourceGraphic%5C%22%20%2F%3E%3C%2FfeMerge%3E%3C%2Ffilter%3E%3C%2Fsvg%3E%23filter");
+}
+
+.highlight {
+ filter: url(#highlight);
+}
+
+.highlight {
+ filter: url('#line-marker');
+}
+
+@font-face {
+ src: url(file:///webpack/public/path/font.woff) format('woff'),
+ url(file:///webpack/public/path/font.woff2) format('woff2'),
+ url(file:///webpack/public/path/font.eot) format('eot'),
+ url(file:///webpack/public/path/font.ttf) format('truetype'),
+ url("file:///webpack/public/path/font%20with%20spaces.eot") format("embedded-opentype"),
+ url(file:///webpack/public/path/font.svg#svgFontName) format('svg'),
+ url(file:///webpack/public/path/font.woff2) format('woff2'),
+ url(file:///webpack/public/path/font.eot?#iefix) format('embedded-opentype'),
+ url("file:///webpack/public/path/font%20with%20spaces.eot?#iefix") format('embedded-opentype');
+}
+
+@media (min-width: 500px) {
+ body {
+ background: url(file:///webpack/public/path/img.png);
+ }
+}
+
+a {
+ content: "do not use url(path)";
+}
+
+b {
+ content: 'do not "use" url(path)';
+}
+
+@keyframes anim {
+ background: green url(file:///webpack/public/path/img.png) xyz;
+}
+
+.a {
+ background-image: -webkit-image-set(url(file:///webpack/public/path/img1x.png) 1x, url(file:///webpack/public/path/img2x.png) 2x)
+}
+
+.a {
+ background-image: image-set(url(file:///webpack/public/path/img1x.png) 1x, url(file:///webpack/public/path/img2x.png) 2x)
+}
+
+.class {
+ background: green url() xyz;
+}
+
+.class {
+ background: green url('') xyz;
+}
+
+.class {
+ background: green url("") xyz;
+}
+
+.class {
+ background: green url(' ') xyz;
+}
+
+.class {
+ background: green url(
+ ) xyz;
+}
+
+.class {
+ background: green url(https://raw.githubusercontent.com/webpack/media/master/logo/icon.png) xyz;
+}
+
+.class {
+ background: green url(//raw.githubusercontent.com/webpack/media/master/logo/icon.png) xyz;
+}
+
+.class {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+.class {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+.class {
+ background: url(file:///webpack/public/path/img.png#hash);
+}
+
+.class {
+ background: url(file:///webpack/public/path/img.png#hash);
+}
+
+.class {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+.class {
+ background-image: url(file:///webpack/public/path/img.png) url("data:image/svg+xml;charset=utf-8, ") url(file:///webpack/public/path/img.png);
+}
+
+.class {
+ background: ___CSS_LOADER_URL___;
+ background: ___CSS_LOADER_URL___INDEX___;
+ background: ___CSS_LOADER_URL___99999___;
+ background: ___CSS_LOADER_IMPORT___;
+ background: ___CSS_LOADER_IMPORT___INDEX___;
+ background: ___CSS_LOADER_IMPORT___99999___;
+}
+
+.pure-url {
+ background: url(file:///webpack/public/path/img-simple.png);
+}
+
+.root-relative {
+ background: url(file:///webpack/public/path/img-simple.png);
+}
+
+.above-below {
+ background: url(file:///webpack/public/path/img-simple.png);
+}
+
+.tilde {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+.aliases {
+ background: url(file:///webpack/public/path/img.png) ;
+}
+
+a {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+a {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+@font-face {
+ src: url("//at.alicdn.com/t/font_515771_emcns5054x3whfr.eot");
+}
+
+.class {
+ /* Broken */
+ background-image: -webkit-image-set();
+ background-image: -webkit-image-set('');
+ background-image: image-set();
+ background-image: image-set('');
+ background-image: image-set("");
+ background-image: image-set("" 1x);
+ background-image: image-set(url());
+ background-image: image-set(
+ url()
+ );
+ background-image: image-set(URL());
+ background-image: image-set(url(''));
+ background-image: image-set(url(""));
+ background-image: image-set(url('') 1x);
+ background-image: image-set(1x);
+ background-image: image-set(
+ 1x
+ );
+ background: image-set(calc(1rem + 1px) 1x);
+
+ /* Strings */
+ background-image: -webkit-image-set("file:///webpack/public/path/img1x.png" 1x, "file:///webpack/public/path/img2x.png" 2x);
+ background-image: image-set("file:///webpack/public/path/img1x.png" 1x);
+ background-image: image-set("file:///webpack/public/path/img1x.png" 1x, "file:///webpack/public/path/img2x.png" 2x);
+ background-image: image-set("file:///webpack/public/path/img%20img.png" 1x, "file:///webpack/public/path/img%20img.png" 2x);
+ background-image: image-set("file:///webpack/public/path/img1x.png" 1x, "file:///webpack/public/path/img2x.png" 2x),
+ image-set("file:///webpack/public/path/img1x.png" 1x, "file:///webpack/public/path/img2x.png" 2x);
+ background-image: image-set(
+ "file:///webpack/public/path/img1x.png" 1x,
+ "file:///webpack/public/path/img2x.png" 2x,
+ "file:///webpack/public/path/img3x.png" 600dpi
+ );
+ background-image: image-set("file:///webpack/public/path/img1x.png" 1x);
+ background-image: image-set("file:///webpack/public/path/img1x.png#hash" 1x);
+ background-image: image-set("file:///webpack/public/path/img1x.png?#iefix" 1x);
+
+ /* With \`url\` function */
+ background-image: -webkit-image-set(url(file:///webpack/public/path/img1x.png) 1x, url(file:///webpack/public/path/img2x.png) 2x);
+ background-image: -webkit-image-set(url(file:///webpack/public/path/img1x.png) 1x);
+ background-image: -webkit-image-set(
+ url(file:///webpack/public/path/img1x.png) 1x
+ );
+ background-image: image-set(url(file:///webpack/public/path/img1x.png) 1x);
+ background-image: image-set(
+ url(file:///webpack/public/path/img1x.png) 1x
+ );
+ background-image: image-set(url(file:///webpack/public/path/img1x.png) 1x, url(file:///webpack/public/path/img2x.png) 2x);
+ background-image: image-set(
+ url(file:///webpack/public/path/img1x.png) 1x,
+ url(file:///webpack/public/path/img2x.png) 2x,
+ url(file:///webpack/public/path/img3x.png) 600dpi
+ );
+ background-image: image-set(url("file:///webpack/public/path/img%20img.png") 1x, url("file:///webpack/public/path/img%20img.png") 2x);
+
+ background-image: image-set(url(file:///webpack/public/path/img1x.png) 1x, "file:///webpack/public/path/img2x.png" 2x);
+}
+
+.class {
+ /* Not allowed on windows */
+ /* background: url(./img\\"img.png); */
+ background: url("file:///webpack/public/path/img'img.png");
+ background: url("file:///webpack/public/path/img'''img.png");
+ background: url("file:///webpack/public/path/img(img.png");
+ background: url("file:///webpack/public/path/img)img.png");
+ background: url("file:///webpack/public/path/img%20img.png");
+ background: url("file:///webpack/public/path/img'()%20img.png");
+
+ background-image: image-set(
+ /* Not allowed on windows */
+ /* url(./img\\"img.png) 1x, */
+ url("file:///webpack/public/path/img'''img.png") 2x,
+ url("file:///webpack/public/path/img'img.png") 3x,
+ url("file:///webpack/public/path/img(img.png") 4x,
+ url("file:///webpack/public/path/img)img.png") 5x,
+ url("file:///webpack/public/path/img%20img.png") 6x,
+ url("file:///webpack/public/path/img'()%20img.png") 7x
+ );
+}
+
+.class-class-class {
+ background: url("file:///webpack/public/path/img'''img.png");
+ background: url("file:///webpack/public/path/img'()%20img.png");
+ background: url("file:///webpack/public/path/img'img.png");
+ background: url("file:///webpack/public/path/img(img.png");
+ background: url("file:///webpack/public/path/img)img.png");
+ background: url("file:///webpack/public/path/img%20img.png");
+ background: url("file:///webpack/public/path/img%20img.png");
+}
+
+/* Comment */
+
+.class.class.class {
+ background: url("file:///webpack/public/path/img(img.png");
+ background: url("file:///webpack/public/path/img(img.png");
+ background: url("file:///webpack/public/path/img(img.png");
+ background: url("file:///webpack/public/path/img(img.png");
+}
+
+.other-test-case {
+ background: url("file:///webpack/public/path/img'''img.png");
+ background: url("file:///webpack/public/path/img'()%20img.png");
+ background: url("file:///webpack/public/path/img'img.png");
+ background: url("file:///webpack/public/path/img(img.png");
+ background: url("file:///webpack/public/path/img)img.png");
+ background: url("file:///webpack/public/path/img%20img.png");
+ background: url("file:///webpack/public/path/img'''img.png");
+ background: url("file:///webpack/public/path/img'()%20img.png");
+ background: url("file:///webpack/public/path/img'img.png");
+ background: url("file:///webpack/public/path/img(img.png");
+ background: url("file:///webpack/public/path/img)img.png");
+ background: url("file:///webpack/public/path/img%20img.png");
+}
+
+.qqq {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+.www {
+ background: url("file:///webpack/public/path/img'''img.png");
+ background: url("file:///webpack/public/path/img'()%20img.png");
+ background: url("file:///webpack/public/path/img'img.png");
+ background: url("file:///webpack/public/path/img(img.png");
+ background: url("file:///webpack/public/path/img)img.png");
+ background: url("file:///webpack/public/path/img%20img.png");
+ background: url(file:///webpack/public/path/img.png);
+ background: url(file:///webpack/public/path/img.png);
+ background: url("file:///webpack/public/path/img'img.png");
+ background: url("file:///webpack/public/path/img'()%20img.png");
+ background: url("file:///webpack/public/path/img'()%20img.png");
+}
+
+.class {
+ /* Should be one import */
+ background: url(file:///webpack/public/path/something.png);
+ background: url(file:///webpack/public/path/something.png);
+
+ background: url(file:///webpack/public/path/something.png);
+ background: url(file:///webpack/public/path/something.png);
+
+ background: url(file:///webpack/public/path/something.png#hash);
+ background: url(file:///webpack/public/path/something.png#hash);
+
+ /* Should be two imports */
+ background: url(file:///webpack/public/path/something.png);
+ background: url(file:///webpack/public/path/something.png);
+
+ background: url(file:///webpack/public/path/something.png#foo);
+ background: url(file:///webpack/public/path/something.png#bar);
+
+ background: url(file:///webpack/public/path/something.png);
+ background: url(file:///webpack/public/path/something.png);
+}
+
+.base {
+ background: url("data:image/svg+xml;charset=UTF-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A%3C%21DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0A%09%20width%3D%22191px%22%20height%3D%22191px%22%20viewBox%3D%220%200%20191%20191%22%20enable-background%3D%22new%200%200%20191%20191%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cpath%20fill%3D%22%23636363%22%20d%3D%22M95.5%2C0C42.8%2C0%2C0%2C42.8%2C0%2C95.5S42.8%2C191%2C95.5%2C191S191%2C148.2%2C191%2C95.5S148.2%2C0%2C95.5%2C0z%20M95.5%2C187.6%0A%09c-50.848%2C0-92.1-41.25-92.1-92.1c0-50.848%2C41.252-92.1%2C92.1-92.1c50.85%2C0%2C92.1%2C41.252%2C92.1%2C92.1%0A%09C187.6%2C146.35%2C146.35%2C187.6%2C95.5%2C187.6z%22%2F%3E%0A%3Cg%3E%0A%09%3Cpath%20fill%3D%22%23636363%22%20d%3D%22M92.9%2C10v8.6H91v-6.5c-0.1%2C0.1-0.2%2C0.2-0.4%2C0.3c-0.2%2C0.1-0.3%2C0.2-0.4%2C0.2c-0.1%2C0-0.3%2C0.1-0.5%2C0.2%0A%09%09c-0.2%2C0.1-0.3%2C0.1-0.5%2C0.1v-1.6c0.5-0.1%2C0.9-0.3%2C1.4-0.5c0.5-0.2%2C0.8-0.5%2C1.2-0.7h1.1V10z%22%2F%3E%0A%09%3Cpath%20fill%3D%22%23636363%22%20d%3D%22M97.1%2C17.1h3.602v1.5h-5.6V18c0-0.4%2C0.1-0.8%2C0.2-1.2c0.1-0.4%2C0.3-0.6%2C0.5-0.9c0.2-0.3%2C0.5-0.5%2C0.7-0.7%0A%09%09c0.2-0.2%2C0.5-0.4%2C0.7-0.6c0.199-0.2%2C0.5-0.3%2C0.6-0.5c0.102-0.2%2C0.301-0.3%2C0.5-0.5c0.2-0.2%2C0.2-0.3%2C0.301-0.5%0A%09%09c0.101-0.2%2C0.101-0.3%2C0.101-0.5c0-0.4-0.101-0.6-0.3-0.8c-0.2-0.2-0.4-0.3-0.801-0.3c-0.699%2C0-1.399%2C0.3-2.101%2C0.9v-1.6%0A%09%09c0.7-0.5%2C1.5-0.7%2C2.5-0.7c0.399%2C0%2C0.8%2C0.1%2C1.101%2C0.2c0.301%2C0.1%2C0.601%2C0.3%2C0.899%2C0.5c0.3%2C0.2%2C0.399%2C0.5%2C0.5%2C0.8%0A%09%09c0.101%2C0.3%2C0.2%2C0.6%2C0.2%2C1s-0.102%2C0.7-0.2%2C1c-0.099%2C0.3-0.3%2C0.6-0.5%2C0.8c-0.2%2C0.2-0.399%2C0.5-0.7%2C0.7c-0.3%2C0.2-0.5%2C0.4-0.8%2C0.6%0A%09%09c-0.2%2C0.1-0.399%2C0.3-0.5%2C0.4s-0.3%2C0.3-0.5%2C0.4s-0.2%2C0.3-0.3%2C0.4C97.1%2C17%2C97.1%2C17%2C97.1%2C17.1z%22%2F%3E%0A%3C%2Fg%3E%0A%3Cg%3E%0A%09%3Cpath%20fill%3D%22%23636363%22%20d%3D%22M15%2C95.4c0%2C0.7-0.1%2C1.4-0.2%2C2c-0.1%2C0.6-0.4%2C1.1-0.7%2C1.5C13.8%2C99.3%2C13.4%2C99.6%2C12.9%2C99.8s-1%2C0.3-1.5%2C0.3%0A%09%09c-0.7%2C0-1.3-0.1-1.8-0.3v-1.5c0.4%2C0.3%2C1%2C0.4%2C1.6%2C0.4c0.6%2C0%2C1.1-0.2%2C1.5-0.7c0.4-0.5%2C0.5-1.1%2C0.5-1.9l0%2C0%0A%09%09C12.8%2C96.7%2C12.3%2C96.9%2C11.5%2C96.9c-0.3%2C0-0.7-0.102-1-0.2c-0.3-0.101-0.5-0.3-0.8-0.5c-0.3-0.2-0.4-0.5-0.5-0.8%0A%09%09c-0.1-0.3-0.2-0.7-0.2-1c0-0.4%2C0.1-0.8%2C0.2-1.2c0.1-0.4%2C0.3-0.7%2C0.6-0.9c0.3-0.2%2C0.6-0.5%2C0.9-0.6c0.3-0.1%2C0.8-0.2%2C1.2-0.2%0A%09%09c0.5%2C0%2C0.9%2C0.1%2C1.2%2C0.3c0.3%2C0.2%2C0.7%2C0.4%2C0.9%2C0.8s0.5%2C0.7%2C0.6%2C1.2S15%2C94.8%2C15%2C95.4z%20M13.1%2C94.4c0-0.2%2C0-0.4-0.1-0.6%0A%09%09c-0.1-0.2-0.1-0.4-0.2-0.5c-0.1-0.1-0.2-0.2-0.4-0.3c-0.2-0.1-0.3-0.1-0.5-0.1c-0.2%2C0-0.3%2C0-0.4%2C0.1s-0.3%2C0.2-0.3%2C0.3%0A%09%09c0%2C0.1-0.2%2C0.3-0.2%2C0.4c0%2C0.1-0.1%2C0.4-0.1%2C0.6c0%2C0.2%2C0%2C0.4%2C0.1%2C0.6c0.1%2C0.2%2C0.1%2C0.3%2C0.2%2C0.4c0.1%2C0.1%2C0.2%2C0.2%2C0.4%2C0.3%0A%09%09c0.2%2C0.1%2C0.3%2C0.1%2C0.5%2C0.1c0.2%2C0%2C0.3%2C0%2C0.4-0.1s0.2-0.2%2C0.3-0.3c0.1-0.1%2C0.2-0.2%2C0.2-0.4C13%2C94.7%2C13.1%2C94.6%2C13.1%2C94.4z%22%2F%3E%0A%3C%2Fg%3E%0A%3Cg%3E%0A%09%3Cpath%20fill%3D%22%23636363%22%20d%3D%22M176%2C99.7V98.1c0.6%2C0.4%2C1.2%2C0.602%2C2%2C0.602c0.5%2C0%2C0.8-0.102%2C1.1-0.301c0.301-0.199%2C0.4-0.5%2C0.4-0.801%0A%09%09c0-0.398-0.2-0.699-0.5-0.898c-0.3-0.2-0.8-0.301-1.3-0.301h-0.802V95h0.701c1.101%2C0%2C1.601-0.4%2C1.601-1.1c0-0.7-0.4-1-1.302-1%0A%09%09c-0.6%2C0-1.1%2C0.2-1.6%2C0.5v-1.5c0.6-0.3%2C1.301-0.4%2C2.1-0.4c0.9%2C0%2C1.5%2C0.2%2C2%2C0.6s0.701%2C0.9%2C0.701%2C1.5c0%2C1.1-0.601%2C1.8-1.701%2C2.1l0%2C0%0A%09%09c0.602%2C0.1%2C1.102%2C0.3%2C1.4%2C0.6s0.5%2C0.8%2C0.5%2C1.3c0%2C0.801-0.3%2C1.4-0.9%2C1.9c-0.6%2C0.5-1.398%2C0.7-2.398%2C0.7%0A%09%09C177.2%2C100.1%2C176.5%2C100%2C176%2C99.7z%22%2F%3E%0A%3C%2Fg%3E%0A%3Cg%3E%0A%09%3Cpath%20fill%3D%22%23636363%22%20d%3D%22M98.5%2C179.102c0%2C0.398-0.1%2C0.799-0.2%2C1.199C98.2%2C180.7%2C98%2C181%2C97.7%2C181.2s-0.601%2C0.5-0.9%2C0.601%0A%09%09c-0.3%2C0.1-0.7%2C0.199-1.2%2C0.199c-0.5%2C0-0.9-0.1-1.3-0.3c-0.4-0.2-0.7-0.399-0.9-0.8c-0.2-0.4-0.5-0.7-0.6-1.2%0A%09%09c-0.1-0.5-0.2-1-0.2-1.601c0-0.699%2C0.1-1.399%2C0.3-2c0.2-0.601%2C0.4-1.101%2C0.8-1.5c0.4-0.399%2C0.7-0.699%2C1.2-1c0.5-0.3%2C1-0.3%2C1.6-0.3%0A%09%09c0.6%2C0%2C1.2%2C0.101%2C1.5%2C0.199v1.5c-0.4-0.199-0.9-0.399-1.4-0.399c-0.3%2C0-0.6%2C0.101-0.8%2C0.2c-0.2%2C0.101-0.5%2C0.3-0.7%2C0.5%0A%09%09c-0.2%2C0.199-0.3%2C0.5-0.4%2C0.8c-0.1%2C0.301-0.2%2C0.7-0.2%2C1.101l0%2C0c0.4-0.601%2C1-0.8%2C1.8-0.8c0.3%2C0%2C0.7%2C0.1%2C0.9%2C0.199%0A%09%09c0.2%2C0.101%2C0.5%2C0.301%2C0.7%2C0.5c0.199%2C0.2%2C0.398%2C0.5%2C0.5%2C0.801C98.5%2C178.2%2C98.5%2C178.7%2C98.5%2C179.102z%20M96.7%2C179.2%0A%09%09c0-0.899-0.4-1.399-1.1-1.399c-0.2%2C0-0.3%2C0-0.5%2C0.1c-0.2%2C0.101-0.3%2C0.201-0.4%2C0.301c-0.1%2C0.101-0.2%2C0.199-0.2%2C0.4%0A%09%09c0%2C0.199-0.1%2C0.299-0.1%2C0.5c0%2C0.199%2C0%2C0.398%2C0.1%2C0.6s0.1%2C0.3%2C0.2%2C0.5c0.1%2C0.199%2C0.2%2C0.199%2C0.4%2C0.3c0.2%2C0.101%2C0.3%2C0.101%2C0.5%2C0.101%0A%09%09c0.2%2C0%2C0.3%2C0%2C0.5-0.101c0.2-0.101%2C0.301-0.199%2C0.301-0.3c0-0.1%2C0.199-0.301%2C0.199-0.399C96.6%2C179.7%2C96.7%2C179.4%2C96.7%2C179.2z%22%2F%3E%0A%3C%2Fg%3E%0A%3Ccircle%20fill%3D%22%23636363%22%20cx%3D%2295%22%20cy%3D%2295%22%20r%3D%227%22%2F%3E%0A%3C%2Fsvg%3E%0A") 50% 50%/191px no-repeat;
+}
+
+.strange {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+.my-background {
+ background-image: url(file:///webpack/public/path/img.png);
+}
+
+.class {
+ background: url(file:///webpack/public/path/img.png, 'foo', './img.png', url('./img.png'));
+ background-image: image-set(url(file:///webpack/public/path/img.png, 'foo', './img.png', url('./img.png')) 1x, url(file:///webpack/public/path/img2x.png) 2x);
+}
+
+.button {
+ background-image: url('data:image/svg+xml;utf8, ');
+}
+
+/* We need to use \`resourceQuery: /inline/\` */
+/* Hard to test on webpack v4 */
+.qqq {
+ background: url(file:///webpack/public/path/custom-img.png)
+}
+
+.class {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+.class {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+/** Prefer relative **/
+.class {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+/** Prefer from modules **/
+.class {
+ background: url(file:///webpack/public/path/other.png);
+}
+
+.class {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+.foo {
+ background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23343a40%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27M2 5l6 6 6-6%27/%3e%3c/svg%3e");
+}
+
+.bar {
+ background-image: url("data:image/svg+xml;utf8, ");
+}
+",
+}
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and urls: warnings 1`] = `
+[
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(120:3) from "postcss-url-parser" plugin: Unable to find uri in 'background: green url() xyz'
+
+Code:
+ background: green url() xyz
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(124:3) from "postcss-url-parser" plugin: Unable to find uri in 'background: green url('') xyz'
+
+Code:
+ background: green url('') xyz
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(128:3) from "postcss-url-parser" plugin: Unable to find uri in 'background: green url("") xyz'
+
+Code:
+ background: green url("") xyz
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(132:3) from "postcss-url-parser" plugin: Unable to find uri in 'background: green url(' ') xyz'
+
+Code:
+ background: green url(' ') xyz
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(136:3) from "postcss-url-parser" plugin: Unable to find uri in 'background: green url(
+ ) xyz'
+
+Code:
+ background: green url(
+ ) xyz
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(216:3) from "postcss-url-parser" plugin: Unable to find uri in 'background-image: -webkit-image-set('')'
+
+Code:
+ background-image: -webkit-image-set('')
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(218:3) from "postcss-url-parser" plugin: Unable to find uri in 'background-image: image-set('')'
+
+Code:
+ background-image: image-set('')
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(219:3) from "postcss-url-parser" plugin: Unable to find uri in 'background-image: image-set("")'
+
+Code:
+ background-image: image-set("")
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(220:3) from "postcss-url-parser" plugin: Unable to find uri in 'background-image: image-set("" 1x)'
+
+Code:
+ background-image: image-set("" 1x)
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(221:3) from "postcss-url-parser" plugin: Unable to find uri in 'background-image: image-set(url())'
+
+Code:
+ background-image: image-set(url())
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(222:3) from "postcss-url-parser" plugin: Unable to find uri in 'background-image: image-set(
+ url()
+ )'
+
+Code:
+ background-image: image-set(
+ url()
+ )
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(225:3) from "postcss-url-parser" plugin: Unable to find uri in 'background-image: image-set(URL())'
+
+Code:
+ background-image: image-set(URL())
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(226:3) from "postcss-url-parser" plugin: Unable to find uri in 'background-image: image-set(url(''))'
+
+Code:
+ background-image: image-set(url(''))
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(227:3) from "postcss-url-parser" plugin: Unable to find uri in 'background-image: image-set(url(""))'
+
+Code:
+ background-image: image-set(url(""))
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(228:3) from "postcss-url-parser" plugin: Unable to find uri in 'background-image: image-set(url('') 1x)'
+
+Code:
+ background-image: image-set(url('') 1x)
+",
+]
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and with 'sass-loader': errors 1`] = `[]`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and with 'sass-loader': module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`body {
+ font: 100% Helvetica, sans-serif;
+ color: #333;
+}\`, ""]);
+// Exports
+var ___CSS_LOADER_STYLE_SHEET___ = new CSSStyleSheet();
+___CSS_LOADER_STYLE_SHEET___.replaceSync(___CSS_LOADER_EXPORT___.toString());
+export default ___CSS_LOADER_STYLE_SHEET___;
+"
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and with 'sass-loader': result 1`] = `
+CSSStyleSheet {
+ "text": "body {
+ font: 100% Helvetica, sans-serif;
+ color: #333;
+}",
+}
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value and with 'sass-loader': warnings 1`] = `[]`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value: errors 1`] = `[]`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./url/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_1___ = new URL("data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class-duplicate-url {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\\\+ { a: b c d; }
+
+.class { content: "\\\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\\\2193";
+ content: "\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193";
+ content: "\\\\2193\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193 \\\\2193";
+}
+
+.-top {}
+.\\\\-top {}
+
+#\\\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\\\-middle {
+ align-items: center;
+}
+.grid.\\\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\\\e901';
+}
+
+.myStyle {
+ content: '\\\\E901';
+}
+
+.♫ {}
+
+.\\\\3A \\\\\\\`\\\\( {} /* matches elements with class=":\\\`(" */
+.\\\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\\\2014\\\\A0";
+ content: "\\\\2014 \\\\A0";
+ content: "\\\\A0 \\\\2014";
+ content: "\\\\A0\\\\2014";
+ margin-top: 1px\\\\9;
+ background-color: #000\\\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_1___});
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+\`, ""]);
+// Exports
+var ___CSS_LOADER_STYLE_SHEET___ = new CSSStyleSheet();
+___CSS_LOADER_STYLE_SHEET___.replaceSync(___CSS_LOADER_EXPORT___.toString());
+export default ___CSS_LOADER_STYLE_SHEET___;
+"
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value: result 1`] = `
+CSSStyleSheet {
+ "text": "@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(file:///webpack/public/path/img.png);
+}
+
+.class-duplicate-url {
+ background: url(file:///webpack/public/path/img.png);
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\+ { a: b c d; }
+
+.class { content: "\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\2193";
+ content: "\\2193\\2193";
+ content: "\\2193 \\2193";
+ content: "\\2193\\2193\\2193";
+ content: "\\2193 \\2193 \\2193";
+}
+
+.-top {}
+.\\-top {}
+
+#\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\-middle {
+ align-items: center;
+}
+.grid.\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\e901';
+}
+
+.myStyle {
+ content: '\\E901';
+}
+
+.♫ {}
+
+.\\3A \\\`\\( {} /* matches elements with class=":\`(" */
+.\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\2014\\A0";
+ content: "\\2014 \\A0";
+ content: "\\A0 \\2014";
+ content: "\\A0\\2014";
+ margin-top: 1px\\9;
+ background-color: #000\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+",
+}
+`;
+
+exports[`'exportType' option should work with 'css-style-sheet' value: warnings 1`] = `[]`;
+
+exports[`'exportType' option should work with 'string' value and CSS modules: errors 1`] = `[]`;
+
+exports[`'exportType' option should work with 'string' value and CSS modules: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.dvYI1gdIOPlJqjwAWOo8 {
+ color: red;
+}
+\`, ""]);
+// Exports
+var _1 = \`dvYI1gdIOPlJqjwAWOo8\`;
+export { _1 as "some-class" };
+export default ___CSS_LOADER_EXPORT___.toString();
+"
+`;
+
+exports[`'exportType' option should work with 'string' value and CSS modules: result 1`] = `
+{
+ "css": ".dvYI1gdIOPlJqjwAWOo8 {
+ color: red;
+}
+",
+ "locals": {
+ "someClass": "dvYI1gdIOPlJqjwAWOo8",
+ },
+}
+`;
+
+exports[`'exportType' option should work with 'string' value and CSS modules: warnings 1`] = `[]`;
+
+exports[`'exportType' option should work with 'string' value and generate source maps: errors 1`] = `[]`;
+
+exports[`'exportType' option should work with 'string' value and generate source maps: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from "../../src/runtime/sourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./url/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_1___ = new URL("data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class-duplicate-url {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\\\+ { a: b c d; }
+
+.class { content: "\\\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\\\2193";
+ content: "\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193";
+ content: "\\\\2193\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193 \\\\2193";
+}
+
+.-top {}
+.\\\\-top {}
+
+#\\\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\\\-middle {
+ align-items: center;
+}
+.grid.\\\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\\\e901';
+}
+
+.myStyle {
+ content: '\\\\E901';
+}
+
+.♫ {}
+
+.\\\\3A \\\\\\\`\\\\( {} /* matches elements with class=":\\\`(" */
+.\\\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\\\2014\\\\A0";
+ content: "\\\\2014 \\\\A0";
+ content: "\\\\A0 \\\\2014";
+ content: "\\\\A0\\\\2014";
+ margin-top: 1px\\\\9;
+ background-color: #000\\\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_1___});
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+\`, "",{"version":3,"sources":["webpack://./basic-css-style-sheet.css"],"names":[],"mappings":"AAAA,gBAAgB;;AAEhB,YAAY;;AAEZ;EACE,UAAU;EACV,mDAAgC;AAClC;;AAEA;EACE,mDAAgC;AAClC;;AAEA;EACE,UAAU;EACV,UAAU;AACZ;;AAEA,SAAS,QAAQ,EAAE;;AAEnB,MAAM;;AAEN,SAAS,QAAQ,EAAE;;AAEnB,SAAS,iBAAiB;;AAE1B;EACE;IACE,2BAA2B;EAC7B;AACF;;AAEA;EACE,gBAAgB;EAChB,qBAAqB;EACrB,sBAAsB;EACtB,0BAA0B;EAC1B,4BAA4B;AAC9B;;AAEA,OAAO;AACP,QAAQ;;AAER,SAAS;;AAET;EACE,aAAa;EACb,eAAe;AACjB;AACA;EACE,uBAAuB;AACzB;AACA;EACE,uBAAuB;AACzB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,qBAAqB;AACvB;;AAEA,aAAa;;AAEb,YAAY;;AAEZ,QAAQ;;AAER;EACE,mBAAmB,EAAE,2BAA2B;AAClD;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA,IAAI;;AAEJ,WAAW,EAAE,sCAAsC;AACnD,YAAY,EAAE,yCAAyC;AACvD,YAAY,EAAE,2CAA2C;AACzD,UAAU,EAAE,0CAA0C;AACtD,IAAI,EAAE,oCAAoC;;AAE1C;EACE,qBAAqB;EACrB;;;;;;;;;;GAUC;AACH;;AAEA;EACE,mBAAmB;EACnB,oBAAoB;EACpB,oBAAoB;EACpB,mBAAmB;EACnB,iBAAiB;EACjB,wBAAwB;AAC1B;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,mDAAq1B;AACv1B;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE,WAAW;AACb;;AAEA;EACE,WAAW;AACb","sourcesContent":["@charset \\"UTF-8\\";\\n\\n/* Comment */\\n\\n.class {\\n color: red;\\n background: url(\\"./url/img.png\\");\\n}\\n\\n.class-duplicate-url {\\n background: url(\\"./url/img.png\\");\\n}\\n\\n:root {\\n --foo: 1px;\\n --bar: 2px;\\n}\\n\\n.class { a: b c d; }\\n\\n.two {}\\n\\n.u-m\\\\+ { a: b c d; }\\n\\n.class { content: \\"\\\\F10C\\" }\\n\\n@media only screen and (max-width: 600px) {\\n body {\\n background-color: lightblue;\\n }\\n}\\n\\n.class {\\n content: \\"\\\\2193\\";\\n content: \\"\\\\2193\\\\2193\\";\\n content: \\"\\\\2193 \\\\2193\\";\\n content: \\"\\\\2193\\\\2193\\\\2193\\";\\n content: \\"\\\\2193 \\\\2193 \\\\2193\\";\\n}\\n\\n.-top {}\\n.\\\\-top {}\\n\\n#\\\\#test {}\\n\\n.grid {\\n display: flex;\\n flex-wrap: wrap;\\n}\\n.grid.\\\\-top {\\n align-items: flex-start;\\n}\\n.grid.-top {\\n align-items: flex-start;\\n}\\n.grid.\\\\-middle {\\n align-items: center;\\n}\\n.grid.\\\\-bottom {\\n align-items: flex-end;\\n}\\n\\n.u-m\\\\00002b {}\\n\\n.u-m00002b {}\\n\\n#u-m\\\\+ {}\\n\\nbody {\\n font-family: '微软雅黑'; /* some chinese font name */\\n}\\n\\n.myStyle {\\n content: '\\\\e901';\\n}\\n\\n.myStyle {\\n content: '\\\\E901';\\n}\\n\\n.♫ {}\\n\\n.\\\\3A \\\\\`\\\\( {} /* matches elements with class=\\":\`(\\" */\\n.\\\\31 a2b3c {} /* matches elements with class=\\"1a2b3c\\" */\\n#\\\\#fake-id {} /* matches the element with id=\\"#fake-id\\" */\\n#-a-b-c- {} /* matches the element with id=\\"-a-b-c-\\" */\\n#© {} /* matches the element with id=\\"©\\" */\\n\\n:root {\\n --title-align: center;\\n --sr-only: {\\n position: absolute;\\n width: 1px;\\n height: 1px;\\n padding: 0;\\n overflow: hidden;\\n clip: rect(0,0,0,0);\\n white-space: nowrap;\\n clip-path: inset(50%);\\n border: 0;\\n };\\n}\\n\\n.test {\\n content: \\"\\\\2014\\\\A0\\";\\n content: \\"\\\\2014 \\\\A0\\";\\n content: \\"\\\\A0 \\\\2014\\";\\n content: \\"\\\\A0\\\\2014\\";\\n margin-top: 1px\\\\9;\\n background-color: #000\\\\9;\\n}\\n\\n.light.on .bulb:before{\\n content: '💡';\\n}\\n\\n.base64 {\\n background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);\\n}\\n\\na[href=''] {\\n color: red;\\n}\\n\\na[href='' i] {\\n color: red;\\n}\\n\\na[href=\\"\\"] {\\n color: blue;\\n}\\n\\na[href=\\"\\" i] {\\n color: blue;\\n}\\n"],"sourceRoot":""}]);
+// Exports
+export default ___CSS_LOADER_EXPORT___.toString();
+"
+`;
+
+exports[`'exportType' option should work with 'string' value and generate source maps: result 1`] = `
+"@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+.class-duplicate-url {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\+ { a: b c d; }
+
+.class { content: "\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\2193";
+ content: "\\2193\\2193";
+ content: "\\2193 \\2193";
+ content: "\\2193\\2193\\2193";
+ content: "\\2193 \\2193 \\2193";
+}
+
+.-top {}
+.\\-top {}
+
+#\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\-middle {
+ align-items: center;
+}
+.grid.\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\e901';
+}
+
+.myStyle {
+ content: '\\E901';
+}
+
+.♫ {}
+
+.\\3A \\\`\\( {} /* matches elements with class=":\`(" */
+.\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\2014\\A0";
+ content: "\\2014 \\A0";
+ content: "\\A0 \\2014";
+ content: "\\A0\\2014";
+ margin-top: 1px\\9;
+ background-color: #000\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+
+/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8uL2Jhc2ljLWNzcy1zdHlsZS1zaGVldC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsZ0JBQWdCOztBQUVoQixZQUFZOztBQUVaO0VBQ0UsVUFBVTtFQUNWLG1EQUFnQztBQUNsQzs7QUFFQTtFQUNFLG1EQUFnQztBQUNsQzs7QUFFQTtFQUNFLFVBQVU7RUFDVixVQUFVO0FBQ1o7O0FBRUEsU0FBUyxRQUFRLEVBQUU7O0FBRW5CLE1BQU07O0FBRU4sU0FBUyxRQUFRLEVBQUU7O0FBRW5CLFNBQVMsaUJBQWlCOztBQUUxQjtFQUNFO0lBQ0UsMkJBQTJCO0VBQzdCO0FBQ0Y7O0FBRUE7RUFDRSxnQkFBZ0I7RUFDaEIscUJBQXFCO0VBQ3JCLHNCQUFzQjtFQUN0QiwwQkFBMEI7RUFDMUIsNEJBQTRCO0FBQzlCOztBQUVBLE9BQU87QUFDUCxRQUFROztBQUVSLFNBQVM7O0FBRVQ7RUFDRSxhQUFhO0VBQ2IsZUFBZTtBQUNqQjtBQUNBO0VBQ0UsdUJBQXVCO0FBQ3pCO0FBQ0E7RUFDRSx1QkFBdUI7QUFDekI7QUFDQTtFQUNFLG1CQUFtQjtBQUNyQjtBQUNBO0VBQ0UscUJBQXFCO0FBQ3ZCOztBQUVBLGFBQWE7O0FBRWIsWUFBWTs7QUFFWixRQUFROztBQUVSO0VBQ0UsbUJBQW1CLEVBQUUsMkJBQTJCO0FBQ2xEOztBQUVBO0VBQ0UsZ0JBQWdCO0FBQ2xCOztBQUVBO0VBQ0UsZ0JBQWdCO0FBQ2xCOztBQUVBLElBQUk7O0FBRUosV0FBVyxFQUFFLHNDQUFzQztBQUNuRCxZQUFZLEVBQUUseUNBQXlDO0FBQ3ZELFlBQVksRUFBRSwyQ0FBMkM7QUFDekQsVUFBVSxFQUFFLDBDQUEwQztBQUN0RCxJQUFJLEVBQUUsb0NBQW9DOztBQUUxQztFQUNFLHFCQUFxQjtFQUNyQjs7Ozs7Ozs7OztHQVVDO0FBQ0g7O0FBRUE7RUFDRSxtQkFBbUI7RUFDbkIsb0JBQW9CO0VBQ3BCLG9CQUFvQjtFQUNwQixtQkFBbUI7RUFDbkIsaUJBQWlCO0VBQ2pCLHdCQUF3QjtBQUMxQjs7QUFFQTtFQUNFLGFBQWE7QUFDZjs7QUFFQTtFQUNFLG1EQUFxMUI7QUFDdjFCOztBQUVBO0VBQ0UsVUFBVTtBQUNaOztBQUVBO0VBQ0UsVUFBVTtBQUNaOztBQUVBO0VBQ0UsV0FBVztBQUNiOztBQUVBO0VBQ0UsV0FBVztBQUNiIiwic291cmNlc0NvbnRlbnQiOlsiQGNoYXJzZXQgXCJVVEYtOFwiO1xuXG4vKiBDb21tZW50ICovXG5cbi5jbGFzcyB7XG4gIGNvbG9yOiByZWQ7XG4gIGJhY2tncm91bmQ6IHVybChcIi4vdXJsL2ltZy5wbmdcIik7XG59XG5cbi5jbGFzcy1kdXBsaWNhdGUtdXJsIHtcbiAgYmFja2dyb3VuZDogdXJsKFwiLi91cmwvaW1nLnBuZ1wiKTtcbn1cblxuOnJvb3Qge1xuICAtLWZvbzogMXB4O1xuICAtLWJhcjogMnB4O1xufVxuXG4uY2xhc3MgeyBhOiBiIGMgZDsgfVxuXG4udHdvIHt9XG5cbi51LW1cXCsgeyBhOiBiIGMgZDsgfVxuXG4uY2xhc3MgeyBjb250ZW50OiBcIlxcRjEwQ1wiIH1cblxuQG1lZGlhIG9ubHkgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiA2MDBweCkge1xuICBib2R5IHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiBsaWdodGJsdWU7XG4gIH1cbn1cblxuLmNsYXNzIHtcbiAgY29udGVudDogXCJcXDIxOTNcIjtcbiAgY29udGVudDogXCJcXDIxOTNcXDIxOTNcIjtcbiAgY29udGVudDogXCJcXDIxOTMgXFwyMTkzXCI7XG4gIGNvbnRlbnQ6IFwiXFwyMTkzXFwyMTkzXFwyMTkzXCI7XG4gIGNvbnRlbnQ6IFwiXFwyMTkzIFxcMjE5MyBcXDIxOTNcIjtcbn1cblxuLi10b3Age31cbi5cXC10b3Age31cblxuI1xcI3Rlc3Qge31cblxuLmdyaWQge1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LXdyYXA6IHdyYXA7XG59XG4uZ3JpZC5cXC10b3Age1xuICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbn1cbi5ncmlkLi10b3Age1xuICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbn1cbi5ncmlkLlxcLW1pZGRsZSB7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG59XG4uZ3JpZC5cXC1ib3R0b20ge1xuICBhbGlnbi1pdGVtczogZmxleC1lbmQ7XG59XG5cbi51LW1cXDAwMDAyYiB7fVxuXG4udS1tMDAwMDJiIHt9XG5cbiN1LW1cXCsge31cblxuYm9keSB7XG4gIGZvbnQtZmFtaWx5OiAnw6XCvsKuw6jCvcKvw6nCm8KFw6nCu8KRJzsgLyogc29tZSBjaGluZXNlIGZvbnQgbmFtZSAqL1xufVxuXG4ubXlTdHlsZSB7XG4gIGNvbnRlbnQ6ICdcXGU5MDEnO1xufVxuXG4ubXlTdHlsZSB7XG4gIGNvbnRlbnQ6ICdcXEU5MDEnO1xufVxuXG4uw6LCmcKrIHt9XG5cbi5cXDNBIFxcYFxcKCB7fSAvKiBtYXRjaGVzIGVsZW1lbnRzIHdpdGggY2xhc3M9XCI6YChcIiAqL1xuLlxcMzEgYTJiM2Mge30gLyogbWF0Y2hlcyBlbGVtZW50cyB3aXRoIGNsYXNzPVwiMWEyYjNjXCIgKi9cbiNcXCNmYWtlLWlkIHt9IC8qIG1hdGNoZXMgdGhlIGVsZW1lbnQgd2l0aCBpZD1cIiNmYWtlLWlkXCIgKi9cbiMtYS1iLWMtIHt9IC8qIG1hdGNoZXMgdGhlIGVsZW1lbnQgd2l0aCBpZD1cIi1hLWItYy1cIiAqL1xuI8OCwqkge30gLyogbWF0Y2hlcyB0aGUgZWxlbWVudCB3aXRoIGlkPVwiw4LCqVwiICovXG5cbjpyb290IHtcbiAgLS10aXRsZS1hbGlnbjogY2VudGVyO1xuICAtLXNyLW9ubHk6IHtcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgd2lkdGg6IDFweDtcbiAgICBoZWlnaHQ6IDFweDtcbiAgICBwYWRkaW5nOiAwO1xuICAgIG92ZXJmbG93OiBoaWRkZW47XG4gICAgY2xpcDogcmVjdCgwLDAsMCwwKTtcbiAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICAgIGNsaXAtcGF0aDogaW5zZXQoNTAlKTtcbiAgICBib3JkZXI6IDA7XG4gIH07XG59XG5cbi50ZXN0IHtcbiAgY29udGVudDogXCJcXDIwMTRcXEEwXCI7XG4gIGNvbnRlbnQ6IFwiXFwyMDE0IFxcQTBcIjtcbiAgY29udGVudDogXCJcXEEwIFxcMjAxNFwiO1xuICBjb250ZW50OiBcIlxcQTBcXDIwMTRcIjtcbiAgbWFyZ2luLXRvcDogMXB4XFw5O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjMDAwXFw5O1xufVxuXG4ubGlnaHQub24gLmJ1bGI6YmVmb3Jle1xuICBjb250ZW50OiAnw7DCn8KSwqEnO1xufVxuXG4uYmFzZTY0IHtcbiAgYmFja2dyb3VuZDogdXJsKGRhdGE6aW1nL2pwZztiYXNlNjQsaVZCT1J3MEtHZ29BQUFBTlNVaEVVZ0FBQUJnQUFBQVlDQVlBQUFEZ2R6MzRBQUFBQVhOU1IwSUFyczRjNlFBQUFoeEpSRUZVU0EzdGs3MXJVMUVZeG5NVEVvSlVrb3dXd2RKMmFrRUhCZkdqQ2lJRjZaeWxWVUtTbTJUcVpMR0krQS9vSXUyVVhtOEM0bEF5RjRTV2ppMHRkRkxvMUVvN1ZOMFNhQkVoSDdlL056MG5QVGZHT2ppYUN5ZlBjNTczNHpsZkNRVDZYLzhFL3ZVRXJMODFLQmFMOXkzTFNudWVkNVBjSVRqVU93UjNnc0ZnMmJidGpZdDYvTkdnWEM0UDFldDFsMmFQTG1wQWJEMFNpZGpwZFBxZ1YxNVBBOWQxN3pRYWpVOFV4SFFSSy80RzM1UTVwdmVBSzhMbEkxWmpQTW5sY2x0bnl2bnZid2FPNDF4dnRWcXk3WUh6dE1BQ3E1eG5sYjlFWTNkUmR2Y0dvMWtqNXdSK3QxQW9mREcwZ00rQTg3NUU4RE5qUkNleHNyVjhQajlacVZRaXRWcnRxZWp4ZVB4ak1wbXNzNWhWVEI0YnVYdk1iMkR5VTJ0QlRSUytCanZObFZZVXBQbDdpdVZPM0dxMXVvUXgxRnRTT1cxZ1BncDVaV3JkQnRObVVEZ3Y1YXNneFE4RjFhZjV2aFkwWWp5anVXQzN3VHN6S0p6N0dCT2tjRmxRZlcyT05xNEZqV2krSGo2RFJDS3hRT0syVGxZNHg5MkV1WWQ1ZHZNQWJZSXpmaWthdTNwdTV0SjhLeGFMTGZvMGN5S2NpN3RLNFRaalVNY29YQW1Id3psZTBRL1JhQzVQMUdGTXlWeDlSOUZvOUhZcWxUclNncUR2RmVsQXFWUWE1aG11TVIvV0d0akFhQmRqd0JvRFEwWnNud1ZNWmpLWjluMFplbThEU2VEUGRyblpiTDZGMmwzTk92VVlOWms0b1ZEb1JUYWJQZTRFRE5KekIwWmNqQVl4ZW9aMmkzRk54UTdCSFl3L2NCL2ZsZGFILy9VRVRnSEhPOFM0NEtiZlhnQUFBQUJKUlU1RXJrSmdnZz09KTtcbn1cblxuYVtocmVmPScnXSB7XG4gIGNvbG9yOiByZWQ7XG59XG5cbmFbaHJlZj0nJyBpXSB7XG4gIGNvbG9yOiByZWQ7XG59XG5cbmFbaHJlZj1cIlwiXSB7XG4gIGNvbG9yOiBibHVlO1xufVxuXG5hW2hyZWY9XCJcIiBpXSB7XG4gIGNvbG9yOiBibHVlO1xufVxuIl0sInNvdXJjZVJvb3QiOiIifQ== */"
+`;
+
+exports[`'exportType' option should work with 'string' value and generate source maps: warnings 1`] = `[]`;
+
+exports[`'exportType' option should work with 'string' value: errors 1`] = `[]`;
+
+exports[`'exportType' option should work with 'string' value: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./url/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_1___ = new URL("data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class-duplicate-url {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\\\+ { a: b c d; }
+
+.class { content: "\\\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\\\2193";
+ content: "\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193";
+ content: "\\\\2193\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193 \\\\2193";
+}
+
+.-top {}
+.\\\\-top {}
+
+#\\\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\\\-middle {
+ align-items: center;
+}
+.grid.\\\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\\\e901';
+}
+
+.myStyle {
+ content: '\\\\E901';
+}
+
+.♫ {}
+
+.\\\\3A \\\\\\\`\\\\( {} /* matches elements with class=":\\\`(" */
+.\\\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\\\2014\\\\A0";
+ content: "\\\\2014 \\\\A0";
+ content: "\\\\A0 \\\\2014";
+ content: "\\\\A0\\\\2014";
+ margin-top: 1px\\\\9;
+ background-color: #000\\\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_1___});
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___.toString();
+"
+`;
+
+exports[`'exportType' option should work with 'string' value: result 1`] = `
+"@charset "UTF-8";
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+.class-duplicate-url {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\+ { a: b c d; }
+
+.class { content: "\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\2193";
+ content: "\\2193\\2193";
+ content: "\\2193 \\2193";
+ content: "\\2193\\2193\\2193";
+ content: "\\2193 \\2193 \\2193";
+}
+
+.-top {}
+.\\-top {}
+
+#\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\-middle {
+ align-items: center;
+}
+.grid.\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\e901';
+}
+
+.myStyle {
+ content: '\\E901';
+}
+
+.♫ {}
+
+.\\3A \\\`\\( {} /* matches elements with class=":\`(" */
+.\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\2014\\A0";
+ content: "\\2014 \\A0";
+ content: "\\A0 \\2014";
+ content: "\\A0\\2014";
+ margin-top: 1px\\9;
+ background-color: #000\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+"
+`;
+
+exports[`'exportType' option should work with 'string' value: warnings 1`] = `[]`;
+
+exports[`'exportType' option should work with CSS modules and the 'exportOnlyLocals' option: errors 1`] = `[]`;
+
+exports[`'exportType' option should work with CSS modules and the 'exportOnlyLocals' option: module 1`] = `
+"// Imports
+import * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./values.css";
+import * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css";
+import * as ___CSS_LOADER_ICSS_IMPORT_2____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported-simple.css";
+import * as ___CSS_LOADER_ICSS_IMPORT_3____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./relative.css";
+import * as ___CSS_LOADER_ICSS_IMPORT_4____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./top-relative.css";
+import * as ___CSS_LOADER_ICSS_IMPORT_5____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!../issue-861/node_modules/package/style.css";
+import * as ___CSS_LOADER_ICSS_IMPORT_6____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./alias.css";
+import * as ___CSS_LOADER_ICSS_IMPORT_7____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!sass-loader!./scss-file.scss";
+// Exports
+var _1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-def"]}\`;
+export { _1 as "v-def" };
+var _2 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-other"]}\`;
+export { _2 as "v-other" };
+var _3 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["s-white"]}\`;
+export { _3 as "s-white" };
+var _4 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["m-small"]}\`;
+export { _4 as "m-small" };
+var _5 = \`\${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["v-something"]}\`;
+export { _5 as "v-something" };
+var _6 = \`blue\`;
+export { _6 as "v-foo" };
+var _7 = \`block\`;
+export { _7 as "v-bar" };
+var _8 = \`#BF4040\`;
+export { _8 as "v-primary" };
+var _9 = \`black-selector\`;
+export { _9 as "s-black" };
+var _a = \`(min-width: 960px)\`;
+export { _a as "m-large" };
+var _b = \`validIdent\`;
+export { _b as "v-ident" };
+var _c = \`left\`;
+export { _c as "v-pre-defined-ident" };
+var _d = \`'content'\`;
+export { _d as "v-string" };
+var _e = \`''\`;
+export { _e as "v-string-1" };
+var _f = \`url(https://www.exammple.com/images/my-background.png)\`;
+export { _f as "v-url" };
+var _10 = \`url('https://www.exammple.com/images/my-background.png')\`;
+export { _10 as "v-url-1" };
+var _11 = \`url("https://www.exammple.com/images/my-background.png")\`;
+export { _11 as "v-url-2" };
+var _12 = \`100\`;
+export { _12 as "v-integer" };
+var _13 = \`-100\`;
+export { _13 as "v-integer-1" };
+var _14 = \`+100\`;
+export { _14 as "v-integer-2" };
+var _15 = \`.60\`;
+export { _15 as "v-number" };
+var _16 = \`-456.8\`;
+export { _16 as "v-number-1" };
+var _17 = \`-3.4e-2\`;
+export { _17 as "v-number-2" };
+var _18 = \`12px\`;
+export { _18 as "v-dimension" };
+var _19 = \`100%\`;
+export { _19 as "v-percentage" };
+var _1a = \`#fff\`;
+export { _1a as "v-hex" };
+var _1b = \` /* comment */\`;
+export { _1b as "v-comment" };
+var _1c = \`rgb(0,0,0)\`;
+export { _1c as "v-function" };
+var _1d = \`U+0025-00FF\`;
+export { _1d as "v-unicode-range" };
+export var ghi = \`ozGmfTedr1GnFJDWqNUH\`;
+var _1e = \`zchqshjqLbPAHaRvIBET\`;
+export { _1e as "my-class" };
+export var other = \`WZBxXqS2GytaA3IBhhnd\`;
+var _1f = \`W51zcAMuJMsNFi1CXgWr\`;
+export { _1f as "other-other" };
+export var green = \`KEl5ZxzNkpjfWorrBglC\`;
+export var foo = \`ecAEWh2vww9pNEdyj9Jn\`;
+export var simple = \`CBlowYk8qiAgWWzFeXRA \${___CSS_LOADER_ICSS_IMPORT_2____NAMED___["imported-simple"]}\`;
+export var relative = \`c_NHnDcX1bd_kuxgsuYi \${___CSS_LOADER_ICSS_IMPORT_3____NAMED___["imported-relative"]}\`;
+var _20 = \`S0Kwou8pVmsENtBP3hYm \${___CSS_LOADER_ICSS_IMPORT_4____NAMED___["imported-relative"]}\`;
+export { _20 as "top-relative" };
+var _21 = \`rq663Pq_zV0CjpwttvK4 \${___CSS_LOADER_ICSS_IMPORT_5____NAMED___["imported-module"]}\`;
+export { _21 as "my-module" };
+export var alias = \`fadRMHArJofp7sWEbPVR \${___CSS_LOADER_ICSS_IMPORT_6____NAMED___["imported-alias"]}\`;
+var _22 = \`sg1HlXqlWy6l6_Wm5iA7 \${___CSS_LOADER_ICSS_IMPORT_6____NAMED___["imported-alias"]}\`;
+export { _22 as "alias-duplicate" };
+var _23 = \`bnRUswvicYag6u0SPnvI\`;
+export { _23 as "primary-selector" };
+var _24 = \`kEJRwpukB2OtmkGTknbU\`;
+export { _24 as "black-selector" };
+export var header = \`hY2PI5vC9ABuJY1nkWnf\`;
+export var foobarbaz = \`q8mv0HutzqdsVWjl8mAz\`;
+export var url = \`xajoqP1d3SwrjJ4WEM8g\`;
+export var main = \`Ix5nEHiVOsWuWxdx0twz \${___CSS_LOADER_ICSS_IMPORT_7____NAMED___["scssClass"]}\`;
+"
+`;
+
+exports[`'exportType' option should work with CSS modules and the 'exportOnlyLocals' option: result 1`] = `
+{
+ "named": {
+ "alias": "fadRMHArJofp7sWEbPVR dnhKs1AYKq4KodZdfzcx",
+ "alias-duplicate": "sg1HlXqlWy6l6_Wm5iA7 dnhKs1AYKq4KodZdfzcx",
+ "black-selector": "kEJRwpukB2OtmkGTknbU",
+ "foo": "ecAEWh2vww9pNEdyj9Jn",
+ "foobarbaz": "q8mv0HutzqdsVWjl8mAz",
+ "ghi": "ozGmfTedr1GnFJDWqNUH",
+ "green": "KEl5ZxzNkpjfWorrBglC",
+ "header": "hY2PI5vC9ABuJY1nkWnf",
+ "m-large": "(min-width: 960px)",
+ "m-small": "(min-width: 320px)",
+ "main": "Ix5nEHiVOsWuWxdx0twz oNU7JF6MtPAFrlrthaOD",
+ "my-class": "zchqshjqLbPAHaRvIBET",
+ "my-module": "rq663Pq_zV0CjpwttvK4 q49Ogfvno__tAgAiYJcD",
+ "other": "WZBxXqS2GytaA3IBhhnd",
+ "other-other": "W51zcAMuJMsNFi1CXgWr",
+ "primary-selector": "bnRUswvicYag6u0SPnvI",
+ "relative": "c_NHnDcX1bd_kuxgsuYi o0pMg4suYQOIzdBIQJv1",
+ "s-black": "black-selector",
+ "s-white": "white",
+ "simple": "CBlowYk8qiAgWWzFeXRA pCAAqHK9Lcplw9QM7Rj0",
+ "top-relative": "S0Kwou8pVmsENtBP3hYm l9CmW32NEl99tuNLdbzp",
+ "url": "xajoqP1d3SwrjJ4WEM8g",
+ "v-bar": "block",
+ "v-comment": " /* comment */",
+ "v-def": "red",
+ "v-dimension": "12px",
+ "v-foo": "blue",
+ "v-function": "rgb(0,0,0)",
+ "v-hex": "#fff",
+ "v-ident": "validIdent",
+ "v-integer": "100",
+ "v-integer-1": "-100",
+ "v-integer-2": "+100",
+ "v-number": ".60",
+ "v-number-1": "-456.8",
+ "v-number-2": "-3.4e-2",
+ "v-other": "green",
+ "v-percentage": "100%",
+ "v-pre-defined-ident": "left",
+ "v-primary": "#BF4040",
+ "v-something": "2112moon",
+ "v-string": "'content'",
+ "v-string-1": "''",
+ "v-unicode-range": "U+0025-00FF",
+ "v-url": "url(https://www.exammple.com/images/my-background.png)",
+ "v-url-1": "url('https://www.exammple.com/images/my-background.png')",
+ "v-url-2": "url("https://www.exammple.com/images/my-background.png")",
+ },
+}
+`;
+
+exports[`'exportType' option should work with CSS modules and the 'exportOnlyLocals' option: warnings 1`] = `[]`;
diff --git a/test/__snapshots__/getLocalIdent-option.test.js.snap b/test/__snapshots__/getLocalIdent-option.test.js.snap
deleted file mode 100644
index 16ce6a7b..00000000
--- a/test/__snapshots__/getLocalIdent-option.test.js.snap
+++ /dev/null
@@ -1,150 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`getLocalIdent option should accepts arguments: errors 1`] = `Array []`;
-
-exports[`getLocalIdent option should accepts arguments: locals 1`] = `
-Object {
- "abc": "foo",
- "def": "foo",
- "ghi": "foo",
- "jkl": "foo",
-}
-`;
-
-exports[`getLocalIdent option should accepts arguments: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ".foo .foo {
- color: red;
-}
-
-.foo .foo {
- color: blue;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`getLocalIdent option should accepts arguments: warnings 1`] = `Array []`;
-
-exports[`getLocalIdent option should allow to use \`false\` value: errors 1`] = `Array []`;
-
-exports[`getLocalIdent option should allow to use \`false\` value: locals 1`] = `
-Object {
- "abc": "before_abc__1hk_after",
- "def": "before_def__3oo_after",
- "ghi": "before_ghi__2ZR_after",
- "jkl": "before_jkl__aQ1_after",
-}
-`;
-
-exports[`getLocalIdent option should allow to use \`false\` value: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ".before_abc__1hk_after .before_def__3oo_after {
- color: red;
-}
-
-.before_ghi__2ZR_after .before_jkl__aQ1_after {
- color: blue;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`getLocalIdent option should allow to use \`false\` value: warnings 1`] = `Array []`;
-
-exports[`getLocalIdent option should respect \`context\` option: errors 1`] = `Array []`;
-
-exports[`getLocalIdent option should respect \`context\` option: locals 1`] = `
-Object {
- "abc": "_1hksQTRR0UD9eKPUBlgn0X",
- "def": "_3oo37UGTAgyDe0MeQom-28",
- "ghi": "_2ZRWT_7WiIKpOei7U0eJzJ",
- "jkl": "aQ1rQfhbWSRMXFXxIfQcx",
-}
-`;
-
-exports[`getLocalIdent option should respect \`context\` option: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._1hksQTRR0UD9eKPUBlgn0X ._3oo37UGTAgyDe0MeQom-28 {
- color: red;
-}
-
-._2ZRWT_7WiIKpOei7U0eJzJ .aQ1rQfhbWSRMXFXxIfQcx {
- color: blue;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`getLocalIdent option should respect \`context\` option: warnings 1`] = `Array []`;
-
-exports[`getLocalIdent option should work (\`modules: false\`): errors 1`] = `Array []`;
-
-exports[`getLocalIdent option should work (\`modules: false\`): locals 1`] = `
-Object {
- "def": "foo",
- "ghi": "foo",
- "jkl": "foo",
-}
-`;
-
-exports[`getLocalIdent option should work (\`modules: false\`): module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ".abc .foo {
- color: red;
-}
-
-.foo .foo {
- color: blue;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`getLocalIdent option should work (\`modules: false\`): warnings 1`] = `Array []`;
-
-exports[`getLocalIdent option should work (\`modules: true\`): errors 1`] = `Array []`;
-
-exports[`getLocalIdent option should work (\`modules: true\`): locals 1`] = `
-Object {
- "abc": "foo",
- "def": "foo",
- "ghi": "foo",
- "jkl": "foo",
-}
-`;
-
-exports[`getLocalIdent option should work (\`modules: true\`): module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ".foo .foo {
- color: red;
-}
-
-.foo .foo {
- color: blue;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`getLocalIdent option should work (\`modules: true\`): warnings 1`] = `Array []`;
diff --git a/test/__snapshots__/icss.test.js.snap b/test/__snapshots__/icss.test.js.snap
deleted file mode 100644
index ff8f2468..00000000
--- a/test/__snapshots__/icss.test.js.snap
+++ /dev/null
@@ -1,227 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`ICSS case duplicate-export: errors 1`] = `Array []`;
-
-exports[`ICSS case duplicate-export: locals 1`] = `
-Object {
- "_test": "_right_value",
-}
-`;
-
-exports[`ICSS case duplicate-export: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "
-",
- "",
- ],
-]
-`;
-
-exports[`ICSS case duplicate-export: warnings 1`] = `Array []`;
-
-exports[`ICSS case duplicate-export-in-multiple-export: errors 1`] = `Array []`;
-
-exports[`ICSS case duplicate-export-in-multiple-export: locals 1`] = `
-Object {
- "_test": "_right_value",
-}
-`;
-
-exports[`ICSS case duplicate-export-in-multiple-export: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "
-",
- "",
- ],
-]
-`;
-
-exports[`ICSS case duplicate-export-in-multiple-export: warnings 1`] = `Array []`;
-
-exports[`ICSS case empty-export: errors 1`] = `Array []`;
-
-exports[`ICSS case empty-export: locals 1`] = `undefined`;
-
-exports[`ICSS case empty-export: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "
-",
- "",
- ],
-]
-`;
-
-exports[`ICSS case empty-export: warnings 1`] = `Array []`;
-
-exports[`ICSS case empty-import: errors 1`] = `Array []`;
-
-exports[`ICSS case empty-import: locals 1`] = `undefined`;
-
-exports[`ICSS case empty-import: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "
-",
- "",
- ],
-]
-`;
-
-exports[`ICSS case empty-import: warnings 1`] = `Array []`;
-
-exports[`ICSS case export: errors 1`] = `Array []`;
-
-exports[`ICSS case export: locals 1`] = `
-Object {
- "_test": "_test",
-}
-`;
-
-exports[`ICSS case export: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "
-",
- "",
- ],
-]
-`;
-
-exports[`ICSS case export: warnings 1`] = `Array []`;
-
-exports[`ICSS case export-reserved-keywords: errors 1`] = `Array []`;
-
-exports[`ICSS case export-reserved-keywords: locals 1`] = `
-Object {
- "constructor": "constructor",
- "toString": "toString",
-}
-`;
-
-exports[`ICSS case export-reserved-keywords: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "
-",
- "",
- ],
-]
-`;
-
-exports[`ICSS case export-reserved-keywords: warnings 1`] = `Array []`;
-
-exports[`ICSS case import: errors 1`] = `Array []`;
-
-exports[`ICSS case import: locals 1`] = `
-Object {
- "primary-color": "red",
-}
-`;
-
-exports[`ICSS case import: module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- "
-",
- "",
- ],
- Array [
- 1,
- ".className {
- color: red;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`ICSS case import: warnings 1`] = `Array []`;
-
-exports[`ICSS case import-reserved-keywords: errors 1`] = `Array []`;
-
-exports[`ICSS case import-reserved-keywords: locals 1`] = `
-Object {
- "primary-color": "red",
- "secondary-color": "block",
-}
-`;
-
-exports[`ICSS case import-reserved-keywords: module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- "
-",
- "",
- ],
- Array [
- 1,
- ".className {
- color: red;
- display: block;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`ICSS case import-reserved-keywords: warnings 1`] = `Array []`;
-
-exports[`ICSS case multiple-export: errors 1`] = `Array []`;
-
-exports[`ICSS case multiple-export: locals 1`] = `
-Object {
- "_foo": "_bar",
- "_test": "_test",
-}
-`;
-
-exports[`ICSS case multiple-export: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "
-",
- "",
- ],
-]
-`;
-
-exports[`ICSS case multiple-export: warnings 1`] = `Array []`;
-
-exports[`ICSS case multiple-keys-values-in-export: errors 1`] = `Array []`;
-
-exports[`ICSS case multiple-keys-values-in-export: locals 1`] = `
-Object {
- "_test": "_test",
- "_test1": "1",
- "_test2": "'string'",
- "_test3": "1px 2px 3px",
- "_test4": "1px 2px 3px, 1px 2px 3px",
-}
-`;
-
-exports[`ICSS case multiple-keys-values-in-export: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "
-",
- "",
- ],
-]
-`;
-
-exports[`ICSS case multiple-keys-values-in-export: warnings 1`] = `Array []`;
diff --git a/test/__snapshots__/import-option.test.js.snap b/test/__snapshots__/import-option.test.js.snap
index 704c33ff..f0aa2ca8 100644
--- a/test/__snapshots__/import-option.test.js.snap
+++ b/test/__snapshots__/import-option.test.js.snap
@@ -1,535 +1,752 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`import option Function: errors 1`] = `Array []`;
+exports[`"import" option should jeep order of imports with 'webpackIgnore': errors 1`] = `[]`;
+
+exports[`"import" option should jeep order of imports with 'webpackIgnore': module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(/assets/themes.css);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`/*! /* webpackIgnore: true */
-exports[`import option Function: module (evaluated) 1`] = `
-Array [
- Array [
- 3,
- "a {
- b: b;
+body {
+ background: red;
}
-",
- "((min-width: 100px)) and (screen and print)",
- ],
- Array [
- 2,
- ".test {
- c: c;
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"import" option should jeep order of imports with 'webpackIgnore': result 1`] = `
+"@import url(/assets/themes.css);.test {
+ a: a;
+}
+/*! /* webpackIgnore: true */
+
+body {
+ background: red;
+}
+"
+`;
+
+exports[`"import" option should jeep order of imports with 'webpackIgnore': warnings 1`] = `[]`;
+
+exports[`"import" option should keep original order: errors 1`] = `[]`;
+
+exports[`"import" option should keep original order: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./order-1.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_1___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./order-2.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_2___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./order-3.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_3___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./order-4.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_1___);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_1___, "screen and (min-width: 2000px)");
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_2___);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_3___, "screen");
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`div {
+ width: 100%;
+ height: 200px;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"import" option should keep original order: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/order-1.css",
+ ".order-1 {
+ color: red;
}
",
- "screen and print",
+ "",
],
- Array [
- 1,
+ [
+ "./import/order.css",
"@import url(http://example.com/style.css);",
- "",
],
- Array [
- 1,
- "@import url(http://example.com/style.css#hash);",
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/order-2.css",
+ ".order-2 {
+ color: red;
+}
+",
"",
],
- Array [
- 1,
- "@import url(http://example.com/style.css?#hash);",
- "",
+ [
+ "./import/order.css",
+ "@import url(http://example.com/style.css);",
],
- Array [
- 1,
- "@import url(http://example.com/style.css?foo=bar#hash);",
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/order-1.css",
+ ".order-1 {
+ color: red;
+}
+",
"",
],
- Array [
- 1,
- "@import url(http://example.com/other-style.css);",
- "screen and print",
- ],
- Array [
- 1,
- "@import url(//example.com/style.css);",
- "",
+ [
+ "./import/order.css",
+ "@import url(http://example.com/style.css);",
],
- Array [
- 4,
- ".query {
- e: e;
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/order-2.css",
+ ".order-2 {
+ color: red;
}
",
- "",
+ "screen and (min-width: 2000px)",
],
- Array [
- 5,
- ".other-query {
- f: f;
+ [
+ "./import/order.css",
+ "@import url(http://example.com/style.css);",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/order-3-1.css",
+ ".order-3-1 {
+ color: white;
}
",
- "",
+ "screen and (orientation:landscape)",
],
- Array [
- 6,
- ".other-query {
- f: f;
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/order-3.css",
+ ".order-3 {
+ color: red;
}
",
- "screen and print",
- ],
- Array [
- 1,
- "@import url(https://fonts.googleapis.com/css?family=Roboto);",
"",
],
- Array [
- 1,
- "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);",
- "",
+ [
+ "./import/order.css",
+ "@import url(http://example.com/style.css);",
],
- Array [
- 1,
- "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);",
- "",
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/order-4-1.css",
+ "@media (min-width: 1000px) {.order-4-1 {
+ color: red;
+}
+}",
+ "screen",
],
- Array [
- 7,
- ".relative {
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/order-4-2-1.css",
+ "@media (min-width: 2000px) {.order-4-2-1 {
color: red;
}
-",
- "",
+}",
+ "screen",
],
- Array [
- 8,
- ".top-relative {
- color: black;
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/order-4-2-2.css",
+ "@media (min-width: 2000px) {@media (orientation:landscape) {.order-4-2-2 {
+ color: red;
}
-",
- "",
+}}",
+ "screen",
],
- Array [
- 9,
- ".tilde {
- color: yellow;
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/order-4-2.css",
+ "@media (min-width: 2000px) {.order-4-2 {
+ color: red;
}
-",
- "",
+}",
+ "screen",
],
- Array [
- 10,
- ".alias {
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/order-4.css",
+ ".order-4 {
color: red;
}
",
- "",
+ "screen",
],
- Array [
- 11,
- ".background-imported {
- background: url(/webpack/public/path/img.png);
+ [
+ "./import/order.css",
+ "div {
+ width: 100%;
+ height: 200px;
}
",
"",
],
- Array [
- 1,
- "@import url(test.css);
-@import url('test.css');
-@import url(\\"test.css\\");
-@IMPORT url(test.css);
-@import URL(test.css);
-@import url(test.css );
-@import url( test.css);
-@import url( test.css );
-@import url(
- test.css
-);
-@import url();
-@import url('');
-@import url(\\"\\");
-@import \\"test.css\\";
-@import 'test.css';
-@import '';
-@import \\"\\";
-@import \\" \\";
-@import \\"
-\\";
-@import url();
-@import url('');
-@import url(\\"\\");
-@import url(test.css) screen and print;
-@import url(test.css) SCREEN AND PRINT;
-@import url(test.css)screen and print;
-@import url(test.css) screen and print;
-@import url(~package/test.css);
-@import ;
-@import foo-bar;
-@import-normalize;
-@import url('http://') :root {}
+]
+`;
-.class {
- a: b c d;
-}
+exports[`"import" option should keep original order: warnings 1`] = `[]`;
-.foo {
- @import 'path.css';
-}
+exports[`"import" option should resolve "file" protocol: errors 1`] = `[]`;
-.background {
- background: url(/webpack/public/path/img.png);
+exports[`"import" option should resolve "file" protocol: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"import" option should resolve "file" protocol: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/test.css",
+ ".test {
+ a: a;
}
",
"",
],
+ [
+ "./import/import-file-protocol.css",
+ "",
+ "",
+ ],
]
`;
-exports[`import option Function: module 1`] = `
-"exports = module.exports = require(\\"../../../src/runtime/api.js\\")(false);
-// Imports
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test-media.css\\"), \\"screen and print\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test-other.css\\"), \\"(min-width: 100px)\\");
-exports.push([module.id, \\"@import url(http://example.com/style.css);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/style.css#hash);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/style.css?#hash);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/style.css?foo=bar#hash);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/other-style.css);\\", \\"screen and print\\"]);
-exports.push([module.id, \\"@import url(//example.com/style.css);\\", \\"\\"]);
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./query.css?foo=1&bar=1\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./other-query.css?foo=1&bar=1#hash\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./other-query.css?foo=1&bar=1#hash\\"), \\"screen and print\\");
-exports.push([module.id, \\"@import url(https://fonts.googleapis.com/css?family=Roboto);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);\\", \\"\\"]);
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./relative.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!../import/top-relative.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!package/tilde.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!aliasesImport/alias.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./url.css\\"), \\"\\");
-var urlEscape = require(\\"../../../src/runtime/url-escape.js\\");
-var ___CSS_LOADER_URL___0___ = urlEscape(require(\\"./img.png\\"));
+exports[`"import" option should resolve "file" protocol: warnings 1`] = `[]`;
-// Module
-exports.push([module.id, \\"@import url(test.css);\\\\n@import url('test.css');\\\\n@import url(\\\\\\"test.css\\\\\\");\\\\n@IMPORT url(test.css);\\\\n@import URL(test.css);\\\\n@import url(test.css );\\\\n@import url( test.css);\\\\n@import url( test.css );\\\\n@import url(\\\\n test.css\\\\n);\\\\n@import url();\\\\n@import url('');\\\\n@import url(\\\\\\"\\\\\\");\\\\n@import \\\\\\"test.css\\\\\\";\\\\n@import 'test.css';\\\\n@import '';\\\\n@import \\\\\\"\\\\\\";\\\\n@import \\\\\\" \\\\\\";\\\\n@import \\\\\\"\\\\n\\\\\\";\\\\n@import url();\\\\n@import url('');\\\\n@import url(\\\\\\"\\\\\\");\\\\n@import url(test.css) screen and print;\\\\n@import url(test.css) SCREEN AND PRINT;\\\\n@import url(test.css)screen and print;\\\\n@import url(test.css) screen and print;\\\\n@import url(~package/test.css);\\\\n@import ;\\\\n@import foo-bar;\\\\n@import-normalize;\\\\n@import url('http://') :root {}\\\\n\\\\n.class {\\\\n a: b c d;\\\\n}\\\\n\\\\n.foo {\\\\n @import 'path.css';\\\\n}\\\\n\\\\n.background {\\\\n background: url(\\" + ___CSS_LOADER_URL___0___ + \\");\\\\n}\\\\n\\", \\"\\"]);
+exports[`"import" option should resolve absolute path: errors 1`] = `[]`;
+exports[`"import" option should resolve absolute path: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`import option Function: warnings 1`] = `
-Array [
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(12:1) Unable to find uri in '@import url()'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(13:1) Unable to find uri in '@import url('')'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(14:1) Unable to find uri in '@import url(\\"\\")'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(17:1) Unable to find uri in '@import '''",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(18:1) Unable to find uri in '@import \\"\\"'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+exports[`"import" option should resolve absolute path: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/test.css",
+ ".test {
+ a: a;
+}
+",
+ "",
+ ],
+ [
+ "./import/import-absolute.css",
+ "",
+ "",
+ ],
+]
+`;
-(19:1) Unable to find uri in '@import \\" \\"'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+exports[`"import" option should resolve absolute path: warnings 1`] = `[]`;
-(20:1) Unable to find uri in '@import \\"
-\\"'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+exports[`"import" option should resolve server-relative url relative rootContext: errors 1`] = `[]`;
-(22:1) Unable to find uri in '@import url()'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+exports[`"import" option should resolve server-relative url relative rootContext: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.class {
+ a: b c d;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
-(23:1) Unable to find uri in '@import url('')'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+exports[`"import" option should resolve server-relative url relative rootContext: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/test.css",
+ ".test {
+ a: a;
+}
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/test.css",
+ ".test {
+ a: a;
+}
+",
+ "",
+ ],
+ [
+ "./import/import-server-relative-url.css",
+ ".class {
+ a: b c d;
+}
+",
+ "",
+ ],
+]
+`;
-(24:1) Unable to find uri in '@import url(\\"\\")'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+exports[`"import" option should resolve server-relative url relative rootContext: warnings 1`] = `[]`;
-(40:1) Unable to find uri in '@import '",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+exports[`"import" option should respect conditionNames: errors 1`] = `[]`;
-(41:1) Unable to find uri in '@import foo-bar'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+exports[`"import" option should respect conditionNames: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./node_modules/package-with-exports/style.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
-(43:1) It looks like you didn't end your @import statement correctly. Child nodes are attached to it.",
+exports[`"import" option should respect conditionNames: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/node_modules/package-with-exports/style.css",
+ ".load-me {
+ color: red;
+}
+",
+ "",
+ ],
+ [
+ "./import/import-conditionNames.css",
+ "
+",
+ "",
+ ],
]
`;
-exports[`import option false: errors 1`] = `Array []`;
-
-exports[`import option false: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "@import url(test.css);
-@import url('test.css');
-@import url(\\"test.css\\");
-@IMPORT url(test.css);
-@import URL(test.css);
-@import url(test.css );
-@import url( test.css);
-@import url( test.css );
-@import url(
- test.css
-);
-@import url();
-@import url('');
-@import url(\\"\\");
-@import \\"test.css\\";
-@import 'test.css';
-@import '';
-@import \\"\\";
-@import \\" \\";
-@import \\"
-\\";
-@import url();
-@import url('');
-@import url(\\"\\");
-@import url(test.css) screen and print;
-@import url(test.css) SCREEN AND PRINT;
-@import url(test.css)screen and print;
-@import url(test.css) screen and print;
-@import url(test-media.css) screen and print;
-@import url(test-other.css) (min-width: 100px);
-@import url(http://example.com/style.css);
-@import url(http://example.com/style.css);
-@import url(http://example.com/style.css#hash);
-@import url(http://example.com/style.css?#hash);
-@import url(http://example.com/style.css?foo=bar#hash);
-@import url(http://example.com/other-style.css) screen and print;
-@import url(http://example.com/other-style.css) screen and print;
-@import url(\\"//example.com/style.css\\");
-@import url(~package/test.css);
-@import ;
-@import foo-bar;
-@import-normalize;
-@import url('http://') :root {}
-@import url('query.css?foo=1&bar=1');
-@import url('other-query.css?foo=1&bar=1#hash');
-@import url('other-query.css?foo=1&bar=1#hash') screen and print;
-@import url('https://fonts.googleapis.com/css?family=Roboto');
-@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC');
-@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto');
+exports[`"import" option should respect conditionNames: warnings 1`] = `[]`;
-.class {
- a: b c d;
-}
+exports[`"import" option should respect style field in package.json: errors 1`] = `[]`;
-.foo {
- @import 'path.css';
+exports[`"import" option should respect style field in package.json: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.test {
+ color: coral;
}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
-@import url('./relative.css');
-@import url('../import/top-relative.css');
-@import url(~package/tilde.css);
-@import url(~aliasesImport/alias.css);
-@import url('./url.css');
-
-.background {
- background: url(/webpack/public/path/img.png);
+exports[`"import" option should respect style field in package.json: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/node_modules/issue-683-package/test.css",
+ ".test {
+ color: coral;
}
+",
+ "",
+ ],
+ [
+ "./import/issue-683.css",
+ "
",
"",
],
]
`;
-exports[`import option false: module 1`] = `
-"exports = module.exports = require(\\"../../../src/runtime/api.js\\")(false);
-// Imports
-var urlEscape = require(\\"../../../src/runtime/url-escape.js\\");
-var ___CSS_LOADER_URL___0___ = urlEscape(require(\\"./img.png\\"));
+exports[`"import" option should respect style field in package.json: warnings 1`] = `[]`;
-// Module
-exports.push([module.id, \\"@import url(test.css);\\\\n@import url('test.css');\\\\n@import url(\\\\\\"test.css\\\\\\");\\\\n@IMPORT url(test.css);\\\\n@import URL(test.css);\\\\n@import url(test.css );\\\\n@import url( test.css);\\\\n@import url( test.css );\\\\n@import url(\\\\n test.css\\\\n);\\\\n@import url();\\\\n@import url('');\\\\n@import url(\\\\\\"\\\\\\");\\\\n@import \\\\\\"test.css\\\\\\";\\\\n@import 'test.css';\\\\n@import '';\\\\n@import \\\\\\"\\\\\\";\\\\n@import \\\\\\" \\\\\\";\\\\n@import \\\\\\"\\\\n\\\\\\";\\\\n@import url();\\\\n@import url('');\\\\n@import url(\\\\\\"\\\\\\");\\\\n@import url(test.css) screen and print;\\\\n@import url(test.css) SCREEN AND PRINT;\\\\n@import url(test.css)screen and print;\\\\n@import url(test.css) screen and print;\\\\n@import url(test-media.css) screen and print;\\\\n@import url(test-other.css) (min-width: 100px);\\\\n@import url(http://example.com/style.css);\\\\n@import url(http://example.com/style.css);\\\\n@import url(http://example.com/style.css#hash);\\\\n@import url(http://example.com/style.css?#hash);\\\\n@import url(http://example.com/style.css?foo=bar#hash);\\\\n@import url(http://example.com/other-style.css) screen and print;\\\\n@import url(http://example.com/other-style.css) screen and print;\\\\n@import url(\\\\\\"//example.com/style.css\\\\\\");\\\\n@import url(~package/test.css);\\\\n@import ;\\\\n@import foo-bar;\\\\n@import-normalize;\\\\n@import url('http://') :root {}\\\\n@import url('query.css?foo=1&bar=1');\\\\n@import url('other-query.css?foo=1&bar=1#hash');\\\\n@import url('other-query.css?foo=1&bar=1#hash') screen and print;\\\\n@import url('https://fonts.googleapis.com/css?family=Roboto');\\\\n@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC');\\\\n@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto');\\\\n\\\\n.class {\\\\n a: b c d;\\\\n}\\\\n\\\\n.foo {\\\\n @import 'path.css';\\\\n}\\\\n\\\\n@import url('./relative.css');\\\\n@import url('../import/top-relative.css');\\\\n@import url(~package/tilde.css);\\\\n@import url(~aliasesImport/alias.css);\\\\n@import url('./url.css');\\\\n\\\\n.background {\\\\n background: url(\\" + ___CSS_LOADER_URL___0___ + \\");\\\\n}\\\\n\\", \\"\\"]);
+exports[`"import" option should throw an error on unresolved import: errors 1`] = `
+[
+ "ModuleBuildError: Module build failed (from \`replaced original path\`):
+Error: Can't resolve 'unresolved-file.css' in '/test/fixtures/import'",
+]
+`;
+exports[`"import" option should throw an error on unresolved import: warnings 1`] = `[]`;
+
+exports[`"import" option should work and output media: errors 1`] = `[]`;
+
+exports[`"import" option should work and output media: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./dark.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "(prefers-color-scheme: dark)");
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`a {
+ color: black;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`import option false: warnings 1`] = `Array []`;
+exports[`"import" option should work and output media: result 1`] = `
+"@media (prefers-color-scheme: dark) {a {
+ color: white;
+}
+}a {
+ color: black;
+}
+"
+`;
-exports[`import option true and modules \`false\`: errors 1`] = `Array []`;
+exports[`"import" option should work and output media: warnings 1`] = `[]`;
+
+exports[`"import" option should work resolve order: local -> node_modules -> alias: errors 1`] = `[]`;
+
+exports[`"import" option should work resolve order: local -> node_modules -> alias: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_1___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./issue-683.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_2___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./node_modules/package/tilde.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_1___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_2___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
-exports[`import option true and modules \`false\`: module (evaluated) 1`] = `
-Array [
- Array [
- 2,
+exports[`"import" option should work resolve order: local -> node_modules -> alias: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/test.css",
".test {
a: a;
}
",
"",
],
- Array [
- 3,
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/node_modules/issue-683-package/test.css",
".test {
- a: a;
+ color: coral;
}
",
- "screen and print",
+ "",
],
- Array [
- 5,
- "a {
- b: b;
-}
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/issue-683.css",
+ "
",
- "((min-width: 100px)) and (screen and print)",
+ "",
],
- Array [
- 4,
- ".test {
- c: c;
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/node_modules/package/tilde.css",
+ ".tilde {
+ color: yellow;
}
",
- "screen and print",
- ],
- Array [
- 1,
- "@import url(http://example.com/style.css);",
"",
],
- Array [
- 1,
- "@import url(http://example.com/style.css#hash);",
+ [
+ "./import/import-order.css",
+ "
+",
"",
],
- Array [
- 1,
- "@import url(http://example.com/style.css?#hash);",
- "",
- ],
- Array [
- 1,
- "@import url(http://example.com/style.css?foo=bar#hash);",
- "",
- ],
- Array [
- 1,
- "@import url(http://example.com/other-style.css);",
- "screen and print",
- ],
- Array [
- 1,
- "@import url(//example.com/style.css);",
- "",
- ],
- Array [
- 6,
- ".test {
- d: d
-}
-",
- "",
- ],
- Array [
- 7,
- ".query {
- e: e;
-}
-",
- "",
- ],
- Array [
- 8,
- ".other-query {
- f: f;
-}
-",
- "",
- ],
- Array [
- 9,
- ".other-query {
- f: f;
-}
-",
- "screen and print",
- ],
- Array [
- 1,
- "@import url(https://fonts.googleapis.com/css?family=Roboto);",
- "",
- ],
- Array [
- 1,
- "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);",
- "",
- ],
- Array [
- 1,
- "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);",
- "",
- ],
- Array [
- 10,
- ".relative {
+]
+`;
+
+exports[`"import" option should work resolve order: local -> node_modules -> alias: warnings 1`] = `[]`;
+
+exports[`"import" option should work when 'import.loaders' not specified: errors 1`] = `[]`;
+
+exports[`"import" option should work when 'import.loaders' not specified: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js!./imported.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_1___ from "-!../../../src/index.js!./other-imported.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.foo {
color: red;
+ color: rgb(0 0 100% / 90%);
}
-",
- "",
- ],
- Array [
- 11,
- ".top-relative {
- color: black;
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"import" option should work when 'import.loaders' not specified: result 1`] = `
+[
+ [
+ "../../src/index.js!./nested-import/imported.css",
+ ".bar {
+ color: blue;
+ color: rgb(0 0 100% / 90%);
}
",
"",
],
- Array [
- 12,
- ".tilde {
- color: yellow;
+ [
+ "../../src/index.js!./nested-import/other-imported.css",
+ ".baz {
+ color: green;
+ color: rgb(0 0 100% / 90%);
}
",
"",
],
- Array [
- 13,
- ".alias {
+ [
+ "./nested-import/source.css",
+ ".foo {
color: red;
+ color: rgb(0 0 100% / 90%);
}
",
"",
],
- Array [
- 14,
- ".background-imported {
- background: url(/webpack/public/path/img.png);
-}
-",
- "",
- ],
- Array [
- 1,
- "@import url();
+]
+`;
+
+exports[`"import" option should work when 'import.loaders' not specified: warnings 1`] = `[]`;
+
+exports[`"import" option should work when not specified and print correct output: errors 1`] = `[]`;
+
+exports[`"import" option should work when not specified and print correct output: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_1___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_2___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test-other.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_3___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./node_modules/package/test.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_4___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./query.css?foo=1&bar=1";
+import ___CSS_LOADER_AT_RULE_IMPORT_5___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./other-query.css?foo=1&bar=1#hash";
+import ___CSS_LOADER_AT_RULE_IMPORT_6___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./relative.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_7___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./top-relative.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_8___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./node_modules/package/tilde.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_9___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./alias.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_10___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./url.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_11___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./te'st.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_12___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test test.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_13___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!!!../../helpers/string-loader.js?esModule=false!./node_modules/package/tilde.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_14___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test.css?foo=bar";
+import ___CSS_LOADER_AT_RULE_IMPORT_15___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test.css?foo=bar#hash";
+import ___CSS_LOADER_AT_RULE_IMPORT_16___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test.css?#hash";
+import ___CSS_LOADER_AT_RULE_IMPORT_17___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_18___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=bar";
+import ___CSS_LOADER_AT_RULE_IMPORT_19___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=bar#hash";
+import ___CSS_LOADER_AT_RULE_IMPORT_20___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?bar=foo";
+import ___CSS_LOADER_AT_RULE_IMPORT_21___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=bar#one";
+import ___CSS_LOADER_AT_RULE_IMPORT_22___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=bar#two";
+import ___CSS_LOADER_AT_RULE_IMPORT_23___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=1&bar=2";
+import ___CSS_LOADER_AT_RULE_IMPORT_24___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=2&bar=1";
+import ___CSS_LOADER_AT_RULE_IMPORT_25___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./my.scss";
+import ___CSS_LOADER_AT_RULE_IMPORT_26___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./package/first.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_27___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./node_modules/package/second.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_28___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_29___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./deep-import-with-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_30___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-supports.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_31___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./deep-import-with-supports.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_32___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-supports-and-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_33___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-deep-with-supports-and-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_34___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_35___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./deep-import-with-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_36___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-multiple-with-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_37___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-layer-unnamed.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_38___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-unnamed-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_39___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-multiple-unnamed-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_40___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-layer-and-supports.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_41___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-layer-and-supports-and-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_42___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./deep-layer.css";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./img.png", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (orientation: landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_1___, "screen and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_2___, "(min-width: 100px)");
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css#hash);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css?#hash);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css?foo=bar#hash);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/other-style.css);", "screen and (orientation:landscape)"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/other-style.css);", "screen and (orientation:landscape)"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(//example.com/style.css);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_3___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_4___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_5___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_5___, "screen and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(https://fonts.googleapis.com/css?family=Roboto);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_6___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_7___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_8___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_9___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_10___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_11___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_11___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_11___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_11___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_13___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_14___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_15___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_16___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (orientation:landscape)", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_17___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_17___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_18___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_18___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_19___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_19___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_18___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_20___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_21___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_22___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_23___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_24___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_25___);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(https://fonts.googleapis.com/css?family=Roboto);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_13___);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(data:text/css;charset=utf-8,a%20%7B%0D%0A%20%20color%3A%20red%3B%0D%0A%7D);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_26___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_27___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, "");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, "unknown");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, "display: flex !important");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width: 400px)", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, undefined, "");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, undefined, "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width: 400px)", false, "display: flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width: 400px)", false, "display: flex", "");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width: 400px)", false, "display: flex", "");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, undefined, "");
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css);", "screen and (min-width: 400px)", false, "display: flex"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width:400px)", false, "display: flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width: 400px)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and ( min-width : 400px )", false, "display : flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width: 400px)", false, "display: flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "/* comment */ screen/* comment */ and/* comment */ (/* comment */min-width/* comment */: /* comment */400px/* comment */)", false, "/* comment */ /* comment */display/* comment */:/* comment */ flex/* comment */", "/* comment */ /* comment */default/* comment */");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "/* comment */ print and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "/* comment */ print and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_28___, "screen and (min-width: 400px)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_29___, "(prefers-color-scheme: dark)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_30___, "", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_30___, "", false, "((display: flex))");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_31___, "", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, "display: grid");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_32___, "screen and (min-width: 400px)", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_33___, "screen and (min-width: 400px)", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, undefined, "framework");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_34___, "", false, undefined, "framework");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_35___, "", false, undefined, "framework");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_36___, "", false, undefined, "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_37___, "", false, undefined, "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_38___, "", false, undefined, "base");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_39___, "", false, undefined, "base");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_40___, "", false, "display: flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_41___, "screen and (min-width: 400px)", false, "display: flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_42___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "unknown(default) unknown(display: flex) unknown");
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@import url();
@import url('');
-@import url(\\"\\");
+@import url("");
@import '';
-@import \\"\\";
-@import \\" \\";
-@import \\"
-\\";
+@import "";
+@import " ";
+@import "
+";
@import url();
@import url('');
-@import url(\\"\\");
+@import url("");
@import ;
@import foo-bar;
@import-normalize;
@@ -544,1122 +761,3515 @@ Array [
}
.background {
- background: url(/webpack/public/path/img.png);
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
}
-",
- "",
- ],
-]
-`;
-
-exports[`import option true and modules \`false\`: module 1`] = `
-"exports = module.exports = require(\\"../../../src/runtime/api.js\\")(false);
-// Imports
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test.css\\"), \\"screen and print\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test-media.css\\"), \\"screen and print\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test-other.css\\"), \\"(min-width: 100px)\\");
-exports.push([module.id, \\"@import url(http://example.com/style.css);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/style.css#hash);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/style.css?#hash);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/style.css?foo=bar#hash);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/other-style.css);\\", \\"screen and print\\"]);
-exports.push([module.id, \\"@import url(//example.com/style.css);\\", \\"\\"]);
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!package/test.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./query.css?foo=1&bar=1\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./other-query.css?foo=1&bar=1#hash\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./other-query.css?foo=1&bar=1#hash\\"), \\"screen and print\\");
-exports.push([module.id, \\"@import url(https://fonts.googleapis.com/css?family=Roboto);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);\\", \\"\\"]);
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./relative.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!../import/top-relative.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!package/tilde.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!aliasesImport/alias.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./url.css\\"), \\"\\");
-var urlEscape = require(\\"../../../src/runtime/url-escape.js\\");
-var ___CSS_LOADER_URL___0___ = urlEscape(require(\\"./img.png\\"));
-
-// Module
-exports.push([module.id, \\"@import url();\\\\n@import url('');\\\\n@import url(\\\\\\"\\\\\\");\\\\n@import '';\\\\n@import \\\\\\"\\\\\\";\\\\n@import \\\\\\" \\\\\\";\\\\n@import \\\\\\"\\\\n\\\\\\";\\\\n@import url();\\\\n@import url('');\\\\n@import url(\\\\\\"\\\\\\");\\\\n@import ;\\\\n@import foo-bar;\\\\n@import-normalize;\\\\n@import url('http://') :root {}\\\\n\\\\n.class {\\\\n a: b c d;\\\\n}\\\\n\\\\n.foo {\\\\n @import 'path.css';\\\\n}\\\\n\\\\n.background {\\\\n background: url(\\" + ___CSS_LOADER_URL___0___ + \\");\\\\n}\\\\n\\", \\"\\"]);
-
-"
-`;
-
-exports[`import option true and modules \`false\`: warnings 1`] = `
-Array [
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(12:1) Unable to find uri in '@import url()'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(13:1) Unable to find uri in '@import url('')'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(14:1) Unable to find uri in '@import url(\\"\\")'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(17:1) Unable to find uri in '@import '''",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(18:1) Unable to find uri in '@import \\"\\"'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+@import nourl(test.css);
+@import '\\\\
+\\\\
+\\\\
+';
-(19:1) Unable to find uri in '@import \\" \\"'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(20:1) Unable to find uri in '@import \\"
-\\"'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+/* Should be one import and two css modules */
-(22:1) Unable to find uri in '@import url()'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+/* Should be one import and two css modules */
-(23:1) Unable to find uri in '@import url('')'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+/* Should be one import and two css modules */
-(24:1) Unable to find uri in '@import url(\\"\\")'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+/* Should be two import and two css modules */
-(40:1) Unable to find uri in '@import '",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+/* Should be two import and two css modules */
-(41:1) Unable to find uri in '@import foo-bar'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+/* Should be two import and two css modules */
+@import url('!!../../helpers/string-loader.js?esModule=false!');
-(43:1) It looks like you didn't end your @import statement correctly. Child nodes are attached to it.",
-]
+/* Prefer relative */
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
`;
-exports[`import option true and modules \`global\`: errors 1`] = `Array []`;
-
-exports[`import option true and modules \`global\`: module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- ".test {
+exports[`"import" option should work when not specified and print correct output: result 1`] = `
+".test {
a: a;
}
-",
- "",
- ],
- Array [
- 3,
- ".test {
+.test {
a: a;
}
-",
- "screen and print",
- ],
- Array [
- 5,
- "a {
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+@media screen and (orientation:landscape) {.test {
+ a: a;
+}
+}@media screen and (orientation: landscape) {.test {
+ a: a;
+}
+}@media screen and (orientation:landscape) {.test {
+ a: a;
+}
+}@media screen and (orientation:landscape) {.test {
+ a: a;
+}
+}@media screen and (orientation:landscape) {@media (min-width: 100px) {a {
b: b;
}
-",
- "((min-width: 100px)) and (screen and print)",
- ],
- Array [
- 4,
- ".test {
+}}@media screen and (orientation:landscape) {.test {
c: c;
}
-",
- "screen and print",
- ],
- Array [
- 1,
- "@import url(http://example.com/style.css);",
- "",
- ],
- Array [
- 1,
- "@import url(http://example.com/style.css#hash);",
- "",
- ],
- Array [
- 1,
- "@import url(http://example.com/style.css?#hash);",
- "",
- ],
- Array [
- 1,
- "@import url(http://example.com/style.css?foo=bar#hash);",
- "",
- ],
- Array [
- 1,
- "@import url(http://example.com/other-style.css);",
- "screen and print",
- ],
- Array [
- 1,
- "@import url(//example.com/style.css);",
- "",
- ],
- Array [
- 6,
- ".test {
+}@media (min-width: 100px) {.test {
+ d: d;
+}
+}@import url(http://example.com/style.css);@import url(http://example.com/style.css);@import url(http://example.com/style.css#hash);@import url(http://example.com/style.css?#hash);@import url(http://example.com/style.css?foo=bar#hash);@media screen and (orientation:landscape) {@import url(http://example.com/other-style.css);}@media screen and (orientation:landscape) {@import url(http://example.com/other-style.css);}@import url(//example.com/style.css);.test {
d: d
}
-",
- "",
- ],
- Array [
- 7,
- ".query {
+.query {
e: e;
}
-",
- "",
- ],
- Array [
- 8,
- ".other-query {
+.other-query {
f: f;
}
-",
- "",
- ],
- Array [
- 9,
- ".other-query {
+@media screen and (orientation:landscape) {.other-query {
f: f;
}
-",
- "screen and print",
- ],
- Array [
- 1,
- "@import url(https://fonts.googleapis.com/css?family=Roboto);",
- "",
- ],
- Array [
- 1,
- "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);",
- "",
- ],
- Array [
- 1,
- "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);",
- "",
- ],
- Array [
- 10,
- ".relative {
+}@import url(https://fonts.googleapis.com/css?family=Roboto);@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);.relative {
color: red;
}
-",
- "",
- ],
- Array [
- 11,
- ".top-relative {
+.top-relative {
color: black;
}
-",
- "",
- ],
- Array [
- 12,
- ".tilde {
+.tilde {
color: yellow;
}
-",
- "",
- ],
- Array [
- 13,
- ".alias {
+.alias {
color: red;
}
-",
- "",
- ],
- Array [
- 14,
- ".background-imported {
- background: url(/webpack/public/path/img.png);
+.background-imported {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
}
-",
- "",
- ],
- Array [
- 1,
- "@import url();
-@import url('');
-@import url(\\"\\");
-@import '';
-@import \\"\\";
-@import \\" \\";
-@import \\"
-\\";
-@import url();
-@import url('');
-@import url(\\"\\");
-@import ;
-@import foo-bar;
-@import-normalize;
-@import url('http://') :root {}
-
-.class {
- a: b c d;
+.test {
+ a: a;
}
-
-.foo {
- @import 'path.css';
+.test {
+ a: a;
}
-
-.background {
- background: url(/webpack/public/path/img.png);
+.test {
+ a: a;
}
-",
- "",
- ],
-]
-`;
-
-exports[`import option true and modules \`global\`: module 1`] = `
-"exports = module.exports = require(\\"../../../src/runtime/api.js\\")(false);
-// Imports
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test.css\\"), \\"screen and print\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test-media.css\\"), \\"screen and print\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test-other.css\\"), \\"(min-width: 100px)\\");
-exports.push([module.id, \\"@import url(http://example.com/style.css);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/style.css#hash);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/style.css?#hash);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/style.css?foo=bar#hash);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/other-style.css);\\", \\"screen and print\\"]);
-exports.push([module.id, \\"@import url(//example.com/style.css);\\", \\"\\"]);
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!package/test.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./query.css?foo=1&bar=1\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./other-query.css?foo=1&bar=1#hash\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./other-query.css?foo=1&bar=1#hash\\"), \\"screen and print\\");
-exports.push([module.id, \\"@import url(https://fonts.googleapis.com/css?family=Roboto);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);\\", \\"\\"]);
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./relative.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!../import/top-relative.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!package/tilde.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!aliasesImport/alias.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./url.css\\"), \\"\\");
-var urlEscape = require(\\"../../../src/runtime/url-escape.js\\");
-var ___CSS_LOADER_URL___0___ = urlEscape(require(\\"./img.png\\"));
-
-// Module
-exports.push([module.id, \\"@import url();\\\\n@import url('');\\\\n@import url(\\\\\\"\\\\\\");\\\\n@import '';\\\\n@import \\\\\\"\\\\\\";\\\\n@import \\\\\\" \\\\\\";\\\\n@import \\\\\\"\\\\n\\\\\\";\\\\n@import url();\\\\n@import url('');\\\\n@import url(\\\\\\"\\\\\\");\\\\n@import ;\\\\n@import foo-bar;\\\\n@import-normalize;\\\\n@import url('http://') :root {}\\\\n\\\\n.class {\\\\n a: b c d;\\\\n}\\\\n\\\\n.foo {\\\\n @import 'path.css';\\\\n}\\\\n\\\\n.background {\\\\n background: url(\\" + ___CSS_LOADER_URL___0___ + \\");\\\\n}\\\\n\\", \\"\\"]);
-
-"
-`;
-
-exports[`import option true and modules \`global\`: warnings 1`] = `
-Array [
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(12:1) Unable to find uri in '@import url()'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(13:1) Unable to find uri in '@import url('')'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(14:1) Unable to find uri in '@import url(\\"\\")'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(17:1) Unable to find uri in '@import '''",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(18:1) Unable to find uri in '@import \\"\\"'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(19:1) Unable to find uri in '@import \\" \\"'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(20:1) Unable to find uri in '@import \\"
-\\"'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(22:1) Unable to find uri in '@import url()'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(23:1) Unable to find uri in '@import url('')'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(24:1) Unable to find uri in '@import url(\\"\\")'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(40:1) Unable to find uri in '@import '",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(41:1) Unable to find uri in '@import foo-bar'",
- "ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
-
-(43:1) It looks like you didn't end your @import statement correctly. Child nodes are attached to it.",
-]
-`;
-
-exports[`import option true and modules \`local\`: errors 1`] = `Array []`;
-
-exports[`import option true and modules \`local\`: module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- "._3fDHa2l1HOcl9VXVfSKtB7 {
+.test {
a: a;
}
-",
- "",
- ],
- Array [
- 3,
- "._3fDHa2l1HOcl9VXVfSKtB7 {
+.test {
a: a;
}
-",
- "screen and print",
- ],
- Array [
- 5,
- "a {
- b: b;
+.strange {
+ color: red;
}
-",
- "((min-width: 100px)) and (screen and print)",
- ],
- Array [
- 4,
- ".f63QYE3dlpdhZuYg8R4pd {
- c: c;
+.strange {
+ color: red;
}
-",
- "screen and print",
- ],
- Array [
- 1,
- "@import url(http://example.com/style.css);",
- "",
- ],
- Array [
- 1,
- "@import url(http://example.com/style.css#hash);",
- "",
- ],
- Array [
- 1,
- "@import url(http://example.com/style.css?#hash);",
- "",
- ],
- Array [
- 1,
- "@import url(http://example.com/style.css?foo=bar#hash);",
- "",
- ],
- Array [
- 1,
- "@import url(http://example.com/other-style.css);",
- "screen and print",
- ],
- Array [
- 1,
- "@import url(//example.com/style.css);",
- "",
- ],
- Array [
- 6,
- "._1lN7KGFmbEaXH8rJdLC9cT {
- d: d
+.strange {
+ color: red;
}
-",
- "",
- ],
- Array [
- 7,
- "._2FiPFdRUJ6bc--oLN32vUX {
- e: e;
+.strange {
+ color: red;
}
-",
- "",
- ],
- Array [
- 8,
- "._2nQ7ONr22lmMu683ljj0MN {
- f: f;
+.space {
+ color: gray;
}
-",
- "",
- ],
- Array [
- 9,
- "._2nQ7ONr22lmMu683ljj0MN {
- f: f;
+.space {
+ color: gray;
}
-",
- "screen and print",
- ],
- Array [
- 1,
- "@import url(https://fonts.googleapis.com/css?family=Roboto);",
- "",
- ],
- Array [
- 1,
- "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);",
- "",
- ],
- Array [
- 1,
- "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);",
- "",
- ],
- Array [
- 10,
- "._37G_Iu-0wcPjXN9ZhzZjlT {
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.test {
+ a: a;
+}
+a { color: red };.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+@supports (display: flex) {.test {
+ a: a;
+}
+}@supports (display: flex) {@media screen and (orientation:landscape) {.test {
+ a: a;
+}
+}}.my-box {
color: red;
}
-",
- "",
- ],
- Array [
- 11,
- "._4a-iWS8tumU5J8-oW8LlR {
- color: black;
+.my-box {
+ color: red;
}
-",
- "",
- ],
- Array [
- 12,
- "._2VXavzz3TUKPrbI3S1tkrW {
- color: yellow;
+.my-box {
+ color: red;
}
-",
- "",
- ],
- Array [
- 13,
- "._2E2zpPgFs4vJaVymauWk3p {
+.my-box {
color: red;
}
-",
- "",
- ],
- Array [
- 14,
- "._1N9oVhfOd30-kQu9zrdhrJ {
- background: url(/webpack/public/path/img.png);
+.my-box {
+ color: red;
}
-",
- "",
- ],
- Array [
- 1,
- "@import url();
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+a {
+ color: red;
+}@import url(https://fonts.googleapis.com/css?family=Roboto);a { color: red };@import url(data:text/css;charset=utf-8,a%20%7B%0D%0A%20%20color%3A%20red%3B%0D%0A%7D);.first {
+ color: red;
+}
+.second {
+ color: red;
+}
+.test {
+ a: a;
+}
+@supports (unknown) {.test {
+ a: a;
+}
+}@supports (display: flex) {.test {
+ a: a;
+}
+}@supports (display: flex !important) {.test {
+ a: a;
+}
+}@supports (display: flex) {@media screen and (min-width: 400px) {.test {
+ a: a;
+}
+}}@layer {.test {
+ a: a;
+}
+}@layer default {.test {
+ a: a;
+}
+}@supports (display: flex) {@media screen and (min-width: 400px) {@layer default {.test {
+ a: a;
+}
+}}}@supports (display: flex) {@media screen and (min-width: 400px) {@layer {.test {
+ a: a;
+}
+}}}@supports (display: flex) {@media screen and (min-width: 400px) {@layer {.test {
+ a: a;
+}
+}}}@layer {.test {
+ a: a;
+}
+}@supports (display: flex) {@media screen and (min-width: 400px) {@import url(http://example.com/style.css);}}@supports (display: flex) {@media screen and (min-width:400px) {@layer default {.test {
+ a: a;
+}
+}}}@media screen and (min-width: 400px) {.test {
+ a: a;
+}
+}@supports (display : flex) {@media screen and ( min-width : 400px ) {@layer default {.test {
+ a: a;
+}
+}}}@supports (display: flex) {@media screen and (min-width: 400px) {@layer default {.test {
+ a: a;
+}
+}}}@supports (/* comment */ /* comment */display/* comment */:/* comment */ flex/* comment */) {@media /* comment */ screen/* comment */ and/* comment */ (/* comment */min-width/* comment */: /* comment */400px/* comment */) {@layer /* comment */ /* comment */default/* comment */ {.test {
+ a: a;
+}
+}}}.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+@media /* comment */ print and (orientation:landscape) {.test {
+ a: a;
+}
+}@media /* comment */ print and (orientation:landscape) {.test {
+ a: a;
+}
+}@media screen and (min-width: 400px) {@media screen and (max-width: 1200px) {.test {
+ a: a;
+}
+}}@media screen and (min-width: 400px) {
+}@media (prefers-color-scheme: dark) {@media screen and (min-width: 400px) {@media screen and (max-width: 1200px) {.test {
+ a: a;
+}
+}}}@media (prefers-color-scheme: dark) {@media screen and (min-width: 400px) {
+}}@media (prefers-color-scheme: dark) {}@supports (display: flex) {@supports (display: grid) {.test {
+ a: a;
+}
+}}@supports (display: flex) {}@supports (((display: flex))) {@supports (display: grid) {.test {
+ a: a;
+}
+}}@supports (((display: flex))) {}@supports (display: flex) {@supports (display: block) {@supports (display: grid) {.test {
+ a: a;
+}
+}}}@supports (display: flex) {@supports (display: block) {}}@supports (display: flex) {}@supports (display: grid) {.test {
+ a: a;
+}
+}@supports (display: flex) {@media screen and (min-width: 400px) {@supports (display: grid) {@media screen and (max-width: 1200px) {.test {
+ a: a;
+}
+}}}}@supports (display: flex) {@media screen and (min-width: 400px) {}}@supports (display: flex) {@media screen and (min-width: 400px) {@supports (display: flex) {@media screen and (min-width: 400px) {@supports (display: grid) {@media screen and (max-width: 1200px) {.test {
+ a: a;
+}
+}}}}}}@supports (display: flex) {@media screen and (min-width: 400px) {@supports (display: flex) {@media screen and (min-width: 400px) {}}}}@supports (display: flex) {@media screen and (min-width: 400px) {}}@layer framework {.test {
+ a: a;
+}
+}@layer framework {@layer base {.test {
+ a: a;
+}
+}}@layer framework {@layer base {
+ .foo {
+ color: red;
+ }
+}
+}@layer framework {@layer form {@layer base {.test {
+ a: a;
+}
+}}}@layer framework {@layer form {@layer base {
+ .foo {
+ color: red;
+ }
+}
+}}@layer framework {@layer form {
+ .bar {
+ color: red;
+ }
+}
+}@layer default {@layer base {.test {
+ a: a;
+}
+}}@layer default {@layer base {.relative {
+ color: red;
+}
+}}@layer default {@layer base {
+ .foo {
+ color: red;
+ }
+}
+}@layer default {@layer {.test {
+ a: a;
+}
+}}@layer default {}@layer base {@layer {.test {
+ a: a;
+}
+}}@layer base {.foo {
+ color: red;
+}
+}@layer base {@layer {.test {
+ a: a;
+}
+}}@layer base {@layer {.relative {
+ color: red;
+}
+}}@layer base {.foo {
+ color: red;
+}
+}@supports (display: flex) {@layer default {@layer base {.test {
+ a: a;
+}
+}}}@supports (display: flex) {@layer default {}}@supports (display: flex) {@media screen and (min-width: 400px) {@layer default {@supports (display: grid) {@media screen and (min-width: 900px) {@layer base {.test {
+ a: a;
+}
+}}}}}}@supports (display: flex) {@media screen and (min-width: 400px) {@layer default {}}}@layer bootstrap {@layer base {@layer {.relative {
+ color: red;
+}
+}}}@layer bootstrap {@layer base {@layer {.test {
+ a: a;
+}
+}}}@layer bootstrap {@layer base {/* unnamed wrapper layers around each sub-file */
+}}@layer bootstrap {/* the internal names are hidden from access, subsumed in "base" */}/* Adds additional styles to the bootstrap layer: */
+@layer bootstrap {
+ .test {
+ color: red;
+ }
+}@media unknown(default) unknown(display: flex) unknown {.test {
+ a: a;
+}
+}@import url();
@import url('');
-@import url(\\"\\");
+@import url("");
@import '';
-@import \\"\\";
-@import \\" \\";
-@import \\"
-\\";
+@import "";
+@import " ";
+@import "
+";
@import url();
@import url('');
-@import url(\\"\\");
+@import url("");
@import ;
@import foo-bar;
@import-normalize;
@import url('http://') :root {}
-.hnxX78DgkaA2kCp_BPbLd {
+.class {
a: b c d;
}
-._1Lug_45kZL-M7XuNeM4SCw {
+.foo {
@import 'path.css';
}
-._1E9CLkKp-0idM8IkvZwXn9 {
- background: url(/webpack/public/path/img.png);
+.background {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
}
-",
- "",
- ],
-]
-`;
+@import nourl(test.css);
+@import '\\
+\\
+\\
+';
-exports[`import option true and modules \`local\`: module 1`] = `
-"exports = module.exports = require(\\"../../../src/runtime/api.js\\")(false);
-// Imports
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test.css\\"), \\"screen and print\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test-media.css\\"), \\"screen and print\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test-other.css\\"), \\"(min-width: 100px)\\");
-exports.push([module.id, \\"@import url(http://example.com/style.css);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/style.css#hash);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/style.css?#hash);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/style.css?foo=bar#hash);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/other-style.css);\\", \\"screen and print\\"]);
-exports.push([module.id, \\"@import url(//example.com/style.css);\\", \\"\\"]);
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!package/test.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./query.css?foo=1&bar=1\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./other-query.css?foo=1&bar=1#hash\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./other-query.css?foo=1&bar=1#hash\\"), \\"screen and print\\");
-exports.push([module.id, \\"@import url(https://fonts.googleapis.com/css?family=Roboto);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);\\", \\"\\"]);
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./relative.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!../import/top-relative.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!package/tilde.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!aliasesImport/alias.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./url.css\\"), \\"\\");
-var urlEscape = require(\\"../../../src/runtime/url-escape.js\\");
-var ___CSS_LOADER_URL___0___ = urlEscape(require(\\"./img.png\\"));
+/* Should be one import and two css modules */
-// Module
-exports.push([module.id, \\"@import url();\\\\n@import url('');\\\\n@import url(\\\\\\"\\\\\\");\\\\n@import '';\\\\n@import \\\\\\"\\\\\\";\\\\n@import \\\\\\" \\\\\\";\\\\n@import \\\\\\"\\\\n\\\\\\";\\\\n@import url();\\\\n@import url('');\\\\n@import url(\\\\\\"\\\\\\");\\\\n@import ;\\\\n@import foo-bar;\\\\n@import-normalize;\\\\n@import url('http://') :root {}\\\\n\\\\n.hnxX78DgkaA2kCp_BPbLd {\\\\n a: b c d;\\\\n}\\\\n\\\\n._1Lug_45kZL-M7XuNeM4SCw {\\\\n @import 'path.css';\\\\n}\\\\n\\\\n._1E9CLkKp-0idM8IkvZwXn9 {\\\\n background: url(\\" + ___CSS_LOADER_URL___0___ + \\");\\\\n}\\\\n\\", \\"\\"]);
+/* Should be one import and two css modules */
-// Exports
-exports.locals = {
- \\"class\\": \\"hnxX78DgkaA2kCp_BPbLd\\",
- \\"foo\\": \\"_1Lug_45kZL-M7XuNeM4SCw\\",
- \\"background\\": \\"_1E9CLkKp-0idM8IkvZwXn9\\"
-};"
+/* Should be one import and two css modules */
+
+/* Should be two import and two css modules */
+
+/* Should be two import and two css modules */
+
+/* Should be two import and two css modules */
+@import url('!!../../helpers/string-loader.js?esModule=false!');
+
+/* Prefer relative */
+"
`;
-exports[`import option true and modules \`local\`: warnings 1`] = `
-Array [
+exports[`"import" option should work when not specified and print correct output: warnings 1`] = `
+[
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(105:1) from "postcss-import-parser" plugin: Unable to find uri in "@import nourl(test.css)"
+
+Code:
+ @import nourl(test.css)
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(106:1) from "postcss-import-parser" plugin: Unable to find uri in "@import '\\
+\\
+\\
+'"
+
+Code:
+ @import '\\
+\\
+\\
+'
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(12:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url()"
+
+Code:
+ @import url()
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(13:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url('')"
-(12:1) Unable to find uri in '@import url()'",
+Code:
+ @import url('')
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(14:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url("")"
-(13:1) Unable to find uri in '@import url('')'",
+Code:
+ @import url("")
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(154:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url('!!../../helpers/string-loader.js?esModule=false!')"
-(14:1) Unable to find uri in '@import url(\\"\\")'",
+Code:
+ @import url('!!../../helpers/string-loader.js?esModule=false!')
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(17:1) from "postcss-import-parser" plugin: Unable to find uri in "@import ''"
-(17:1) Unable to find uri in '@import '''",
+Code:
+ @import ''
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(18:1) from "postcss-import-parser" plugin: Unable to find uri in "@import """
-(18:1) Unable to find uri in '@import \\"\\"'",
+Code:
+ @import ""
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(19:1) from "postcss-import-parser" plugin: Unable to find uri in "@import " ""
-(19:1) Unable to find uri in '@import \\" \\"'",
+Code:
+ @import " "
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(20:1) from "postcss-import-parser" plugin: Unable to find uri in "@import "
+""
-(20:1) Unable to find uri in '@import \\"
-\\"'",
+Code:
+ @import "
+"
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(22:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url()"
-(22:1) Unable to find uri in '@import url()'",
+Code:
+ @import url()
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(23:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url('')"
-(23:1) Unable to find uri in '@import url('')'",
+Code:
+ @import url('')
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(24:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url("")"
-(24:1) Unable to find uri in '@import url(\\"\\")'",
+Code:
+ @import url("")
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(40:1) from "postcss-import-parser" plugin: Unable to find uri in "@import "
-(40:1) Unable to find uri in '@import '",
+Code:
+ @import
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(41:1) from "postcss-import-parser" plugin: Unable to find uri in "@import foo-bar"
-(41:1) Unable to find uri in '@import foo-bar'",
+Code:
+ @import foo-bar
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(43:1) from "postcss-import-parser" plugin: It looks like you didn't end your @import statement correctly. Child nodes are attached to it.
-(43:1) It looks like you didn't end your @import statement correctly. Child nodes are attached to it.",
+Code:
+ @import url('http://') :root {}
+",
]
`;
-exports[`import option true and modules \`true\`: errors 1`] = `Array []`;
+exports[`"import" option should work when not specified: errors 1`] = `[]`;
+
+exports[`"import" option should work when not specified: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_1___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_2___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test-other.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_3___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./node_modules/package/test.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_4___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./query.css?foo=1&bar=1";
+import ___CSS_LOADER_AT_RULE_IMPORT_5___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./other-query.css?foo=1&bar=1#hash";
+import ___CSS_LOADER_AT_RULE_IMPORT_6___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./relative.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_7___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./top-relative.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_8___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./node_modules/package/tilde.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_9___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./alias.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_10___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./url.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_11___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./te'st.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_12___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test test.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_13___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!!!../../helpers/string-loader.js?esModule=false!./node_modules/package/tilde.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_14___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test.css?foo=bar";
+import ___CSS_LOADER_AT_RULE_IMPORT_15___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test.css?foo=bar#hash";
+import ___CSS_LOADER_AT_RULE_IMPORT_16___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test.css?#hash";
+import ___CSS_LOADER_AT_RULE_IMPORT_17___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_18___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=bar";
+import ___CSS_LOADER_AT_RULE_IMPORT_19___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=bar#hash";
+import ___CSS_LOADER_AT_RULE_IMPORT_20___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?bar=foo";
+import ___CSS_LOADER_AT_RULE_IMPORT_21___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=bar#one";
+import ___CSS_LOADER_AT_RULE_IMPORT_22___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=bar#two";
+import ___CSS_LOADER_AT_RULE_IMPORT_23___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=1&bar=2";
+import ___CSS_LOADER_AT_RULE_IMPORT_24___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=2&bar=1";
+import ___CSS_LOADER_AT_RULE_IMPORT_25___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./my.scss";
+import ___CSS_LOADER_AT_RULE_IMPORT_26___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./package/first.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_27___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./node_modules/package/second.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_28___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_29___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./deep-import-with-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_30___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-supports.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_31___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./deep-import-with-supports.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_32___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-supports-and-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_33___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-deep-with-supports-and-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_34___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_35___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./deep-import-with-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_36___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-multiple-with-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_37___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-layer-unnamed.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_38___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-unnamed-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_39___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-multiple-unnamed-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_40___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-layer-and-supports.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_41___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-layer-and-supports-and-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_42___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./deep-layer.css";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./img.png", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (orientation: landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_1___, "screen and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_2___, "(min-width: 100px)");
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css#hash);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css?#hash);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css?foo=bar#hash);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/other-style.css);", "screen and (orientation:landscape)"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/other-style.css);", "screen and (orientation:landscape)"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(//example.com/style.css);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_3___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_4___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_5___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_5___, "screen and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(https://fonts.googleapis.com/css?family=Roboto);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_6___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_7___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_8___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_9___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_10___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_11___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_11___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_11___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_11___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_13___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_14___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_15___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_16___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (orientation:landscape)", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_17___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_17___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_18___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_18___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_19___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_19___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_18___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_20___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_21___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_22___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_23___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_24___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_25___);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(https://fonts.googleapis.com/css?family=Roboto);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_13___);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(data:text/css;charset=utf-8,a%20%7B%0D%0A%20%20color%3A%20red%3B%0D%0A%7D);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_26___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_27___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, "");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, "unknown");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, "display: flex !important");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width: 400px)", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, undefined, "");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, undefined, "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width: 400px)", false, "display: flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width: 400px)", false, "display: flex", "");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width: 400px)", false, "display: flex", "");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, undefined, "");
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css);", "screen and (min-width: 400px)", false, "display: flex"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width:400px)", false, "display: flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width: 400px)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and ( min-width : 400px )", false, "display : flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width: 400px)", false, "display: flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "/* comment */ screen/* comment */ and/* comment */ (/* comment */min-width/* comment */: /* comment */400px/* comment */)", false, "/* comment */ /* comment */display/* comment */:/* comment */ flex/* comment */", "/* comment */ /* comment */default/* comment */");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "/* comment */ print and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "/* comment */ print and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_28___, "screen and (min-width: 400px)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_29___, "(prefers-color-scheme: dark)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_30___, "", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_30___, "", false, "((display: flex))");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_31___, "", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, "display: grid");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_32___, "screen and (min-width: 400px)", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_33___, "screen and (min-width: 400px)", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, undefined, "framework");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_34___, "", false, undefined, "framework");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_35___, "", false, undefined, "framework");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_36___, "", false, undefined, "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_37___, "", false, undefined, "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_38___, "", false, undefined, "base");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_39___, "", false, undefined, "base");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_40___, "", false, "display: flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_41___, "screen and (min-width: 400px)", false, "display: flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_42___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "unknown(default) unknown(display: flex) unknown");
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@import url();
+@import url('');
+@import url("");
+@import '';
+@import "";
+@import " ";
+@import "
+";
+@import url();
+@import url('');
+@import url("");
+@import ;
+@import foo-bar;
+@import-normalize;
+@import url('http://') :root {}
-exports[`import option true and modules \`true\`: module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- "._3fDHa2l1HOcl9VXVfSKtB7 {
- a: a;
+.class {
+ a: b c d;
}
-",
- "",
- ],
- Array [
- 3,
- "._3fDHa2l1HOcl9VXVfSKtB7 {
- a: a;
+
+.foo {
+ @import 'path.css';
}
-",
- "screen and print",
- ],
- Array [
- 5,
- "a {
+
+.background {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+@import nourl(test.css);
+@import '\\\\
+\\\\
+\\\\
+';
+
+/* Should be one import and two css modules */
+
+/* Should be one import and two css modules */
+
+/* Should be one import and two css modules */
+
+/* Should be two import and two css modules */
+
+/* Should be two import and two css modules */
+
+/* Should be two import and two css modules */
+@import url('!!../../helpers/string-loader.js?esModule=false!');
+
+/* Prefer relative */
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"import" option should work when not specified: result 1`] = `
+".test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+@media screen and (orientation:landscape) {.test {
+ a: a;
+}
+}@media screen and (orientation: landscape) {.test {
+ a: a;
+}
+}@media screen and (orientation:landscape) {.test {
+ a: a;
+}
+}@media screen and (orientation:landscape) {.test {
+ a: a;
+}
+}@media screen and (orientation:landscape) {@media (min-width: 100px) {a {
+ b: b;
+}
+}}@media screen and (orientation:landscape) {.test {
+ c: c;
+}
+}@media (min-width: 100px) {.test {
+ d: d;
+}
+}@import url(http://example.com/style.css);@import url(http://example.com/style.css);@import url(http://example.com/style.css#hash);@import url(http://example.com/style.css?#hash);@import url(http://example.com/style.css?foo=bar#hash);@media screen and (orientation:landscape) {@import url(http://example.com/other-style.css);}@media screen and (orientation:landscape) {@import url(http://example.com/other-style.css);}@import url(//example.com/style.css);.test {
+ d: d
+}
+.query {
+ e: e;
+}
+.other-query {
+ f: f;
+}
+@media screen and (orientation:landscape) {.other-query {
+ f: f;
+}
+}@import url(https://fonts.googleapis.com/css?family=Roboto);@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);.relative {
+ color: red;
+}
+.top-relative {
+ color: black;
+}
+.tilde {
+ color: yellow;
+}
+.alias {
+ color: red;
+}
+.background-imported {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.strange {
+ color: red;
+}
+.strange {
+ color: red;
+}
+.strange {
+ color: red;
+}
+.strange {
+ color: red;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.test {
+ a: a;
+}
+a { color: red };.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+@supports (display: flex) {.test {
+ a: a;
+}
+}@supports (display: flex) {@media screen and (orientation:landscape) {.test {
+ a: a;
+}
+}}.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+a {
+ color: red;
+}@import url(https://fonts.googleapis.com/css?family=Roboto);a { color: red };@import url(data:text/css;charset=utf-8,a%20%7B%0D%0A%20%20color%3A%20red%3B%0D%0A%7D);.first {
+ color: red;
+}
+.second {
+ color: red;
+}
+.test {
+ a: a;
+}
+@supports (unknown) {.test {
+ a: a;
+}
+}@supports (display: flex) {.test {
+ a: a;
+}
+}@supports (display: flex !important) {.test {
+ a: a;
+}
+}@supports (display: flex) {@media screen and (min-width: 400px) {.test {
+ a: a;
+}
+}}@layer {.test {
+ a: a;
+}
+}@layer default {.test {
+ a: a;
+}
+}@supports (display: flex) {@media screen and (min-width: 400px) {@layer default {.test {
+ a: a;
+}
+}}}@supports (display: flex) {@media screen and (min-width: 400px) {@layer {.test {
+ a: a;
+}
+}}}@supports (display: flex) {@media screen and (min-width: 400px) {@layer {.test {
+ a: a;
+}
+}}}@layer {.test {
+ a: a;
+}
+}@supports (display: flex) {@media screen and (min-width: 400px) {@import url(http://example.com/style.css);}}@supports (display: flex) {@media screen and (min-width:400px) {@layer default {.test {
+ a: a;
+}
+}}}@media screen and (min-width: 400px) {.test {
+ a: a;
+}
+}@supports (display : flex) {@media screen and ( min-width : 400px ) {@layer default {.test {
+ a: a;
+}
+}}}@supports (display: flex) {@media screen and (min-width: 400px) {@layer default {.test {
+ a: a;
+}
+}}}@supports (/* comment */ /* comment */display/* comment */:/* comment */ flex/* comment */) {@media /* comment */ screen/* comment */ and/* comment */ (/* comment */min-width/* comment */: /* comment */400px/* comment */) {@layer /* comment */ /* comment */default/* comment */ {.test {
+ a: a;
+}
+}}}.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+@media /* comment */ print and (orientation:landscape) {.test {
+ a: a;
+}
+}@media /* comment */ print and (orientation:landscape) {.test {
+ a: a;
+}
+}@media screen and (min-width: 400px) {@media screen and (max-width: 1200px) {.test {
+ a: a;
+}
+}}@media screen and (min-width: 400px) {
+}@media (prefers-color-scheme: dark) {@media screen and (min-width: 400px) {@media screen and (max-width: 1200px) {.test {
+ a: a;
+}
+}}}@media (prefers-color-scheme: dark) {@media screen and (min-width: 400px) {
+}}@media (prefers-color-scheme: dark) {}@supports (display: flex) {@supports (display: grid) {.test {
+ a: a;
+}
+}}@supports (display: flex) {}@supports (((display: flex))) {@supports (display: grid) {.test {
+ a: a;
+}
+}}@supports (((display: flex))) {}@supports (display: flex) {@supports (display: block) {@supports (display: grid) {.test {
+ a: a;
+}
+}}}@supports (display: flex) {@supports (display: block) {}}@supports (display: flex) {}@supports (display: grid) {.test {
+ a: a;
+}
+}@supports (display: flex) {@media screen and (min-width: 400px) {@supports (display: grid) {@media screen and (max-width: 1200px) {.test {
+ a: a;
+}
+}}}}@supports (display: flex) {@media screen and (min-width: 400px) {}}@supports (display: flex) {@media screen and (min-width: 400px) {@supports (display: flex) {@media screen and (min-width: 400px) {@supports (display: grid) {@media screen and (max-width: 1200px) {.test {
+ a: a;
+}
+}}}}}}@supports (display: flex) {@media screen and (min-width: 400px) {@supports (display: flex) {@media screen and (min-width: 400px) {}}}}@supports (display: flex) {@media screen and (min-width: 400px) {}}@layer framework {.test {
+ a: a;
+}
+}@layer framework {@layer base {.test {
+ a: a;
+}
+}}@layer framework {@layer base {
+ .foo {
+ color: red;
+ }
+}
+}@layer framework {@layer form {@layer base {.test {
+ a: a;
+}
+}}}@layer framework {@layer form {@layer base {
+ .foo {
+ color: red;
+ }
+}
+}}@layer framework {@layer form {
+ .bar {
+ color: red;
+ }
+}
+}@layer default {@layer base {.test {
+ a: a;
+}
+}}@layer default {@layer base {.relative {
+ color: red;
+}
+}}@layer default {@layer base {
+ .foo {
+ color: red;
+ }
+}
+}@layer default {@layer {.test {
+ a: a;
+}
+}}@layer default {}@layer base {@layer {.test {
+ a: a;
+}
+}}@layer base {.foo {
+ color: red;
+}
+}@layer base {@layer {.test {
+ a: a;
+}
+}}@layer base {@layer {.relative {
+ color: red;
+}
+}}@layer base {.foo {
+ color: red;
+}
+}@supports (display: flex) {@layer default {@layer base {.test {
+ a: a;
+}
+}}}@supports (display: flex) {@layer default {}}@supports (display: flex) {@media screen and (min-width: 400px) {@layer default {@supports (display: grid) {@media screen and (min-width: 900px) {@layer base {.test {
+ a: a;
+}
+}}}}}}@supports (display: flex) {@media screen and (min-width: 400px) {@layer default {}}}@layer bootstrap {@layer base {@layer {.relative {
+ color: red;
+}
+}}}@layer bootstrap {@layer base {@layer {.test {
+ a: a;
+}
+}}}@layer bootstrap {@layer base {/* unnamed wrapper layers around each sub-file */
+}}@layer bootstrap {/* the internal names are hidden from access, subsumed in "base" */}/* Adds additional styles to the bootstrap layer: */
+@layer bootstrap {
+ .test {
+ color: red;
+ }
+}@media unknown(default) unknown(display: flex) unknown {.test {
+ a: a;
+}
+}@import url();
+@import url('');
+@import url("");
+@import '';
+@import "";
+@import " ";
+@import "
+";
+@import url();
+@import url('');
+@import url("");
+@import ;
+@import foo-bar;
+@import-normalize;
+@import url('http://') :root {}
+
+.class {
+ a: b c d;
+}
+
+.foo {
+ @import 'path.css';
+}
+
+.background {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+@import nourl(test.css);
+@import '\\
+\\
+\\
+';
+
+/* Should be one import and two css modules */
+
+/* Should be one import and two css modules */
+
+/* Should be one import and two css modules */
+
+/* Should be two import and two css modules */
+
+/* Should be two import and two css modules */
+
+/* Should be two import and two css modules */
+@import url('!!../../helpers/string-loader.js?esModule=false!');
+
+/* Prefer relative */
+"
+`;
+
+exports[`"import" option should work when not specified: warnings 1`] = `
+[
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(105:1) from "postcss-import-parser" plugin: Unable to find uri in "@import nourl(test.css)"
+
+Code:
+ @import nourl(test.css)
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(106:1) from "postcss-import-parser" plugin: Unable to find uri in "@import '\\
+\\
+\\
+'"
+
+Code:
+ @import '\\
+\\
+\\
+'
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(12:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url()"
+
+Code:
+ @import url()
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(13:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url('')"
+
+Code:
+ @import url('')
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(14:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url("")"
+
+Code:
+ @import url("")
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(154:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url('!!../../helpers/string-loader.js?esModule=false!')"
+
+Code:
+ @import url('!!../../helpers/string-loader.js?esModule=false!')
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(17:1) from "postcss-import-parser" plugin: Unable to find uri in "@import ''"
+
+Code:
+ @import ''
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(18:1) from "postcss-import-parser" plugin: Unable to find uri in "@import """
+
+Code:
+ @import ""
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(19:1) from "postcss-import-parser" plugin: Unable to find uri in "@import " ""
+
+Code:
+ @import " "
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(20:1) from "postcss-import-parser" plugin: Unable to find uri in "@import "
+""
+
+Code:
+ @import "
+"
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(22:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url()"
+
+Code:
+ @import url()
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(23:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url('')"
+
+Code:
+ @import url('')
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(24:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url("")"
+
+Code:
+ @import url("")
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(40:1) from "postcss-import-parser" plugin: Unable to find uri in "@import "
+
+Code:
+ @import
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(41:1) from "postcss-import-parser" plugin: Unable to find uri in "@import foo-bar"
+
+Code:
+ @import foo-bar
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(43:1) from "postcss-import-parser" plugin: It looks like you didn't end your @import statement correctly. Child nodes are attached to it.
+
+Code:
+ @import url('http://') :root {}
+",
+]
+`;
+
+exports[`"import" option should work with 'false' aliases: errors 1`] = `[]`;
+
+exports[`"import" option should work with 'false' aliases: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@import "/style.css";
+
+.class {
+ color: red;
+}\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"import" option should work with 'false' aliases: result 1`] = `
+[
+ [
+ "./import/false-alias.css",
+ "@import "/style.css";
+
+.class {
+ color: red;
+}",
+ "",
+ ],
+]
+`;
+
+exports[`"import" option should work with 'false' aliases: warnings 1`] = `[]`;
+
+exports[`"import" option should work with 'resolve.byDependency.css.extensions': errors 1`] = `[]`;
+
+exports[`"import" option should work with 'resolve.byDependency.css.extensions': module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./extensions-imported.mycss";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`a {
+ color: red;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"import" option should work with 'resolve.byDependency.css.extensions': result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/extensions-imported.mycss",
+ "div {
+ color: red;
+}
+",
+ "",
+ ],
+ [
+ "./import/extensions.css",
+ "a {
+ color: red;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"import" option should work with 'resolve.byDependency.css.extensions': warnings 1`] = `[]`;
+
+exports[`"import" option should work with 'resolve.extensions': errors 1`] = `[]`;
+
+exports[`"import" option should work with 'resolve.extensions': module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./extensions-imported.mycss";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`a {
+ color: red;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"import" option should work with 'resolve.extensions': result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./import/extensions-imported.mycss",
+ "div {
+ color: red;
+}
+",
+ "",
+ ],
+ [
+ "./import/extensions.css",
+ "a {
+ color: red;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"import" option should work with 'resolve.extensions': warnings 1`] = `[]`;
+
+exports[`"import" option should work with a "import.loaders" value equal to ""1"" ("postcss-loader" before): errors 1`] = `[]`;
+
+exports[`"import" option should work with a "import.loaders" value equal to ""1"" ("postcss-loader" before): module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./imported.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_1___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./other-imported.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.foo {
+ color: red;
+ color: rgb(0 0 100% / 90%);
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"import" option should work with a "import.loaders" value equal to ""1"" ("postcss-loader" before): result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./nested-import/imported.css",
+ ".bar {
+ color: blue;
+ color: rgb(0 0 100% / 90%);
+}
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./nested-import/other-imported.css",
+ ".baz {
+ color: green;
+ color: rgb(0 0 100% / 90%);
+}
+",
+ "",
+ ],
+ [
+ "./nested-import/source.css",
+ ".foo {
+ color: red;
+ color: rgb(0 0 100% / 90%);
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"import" option should work with a "import.loaders" value equal to ""1"" ("postcss-loader" before): warnings 1`] = `[]`;
+
+exports[`"import" option should work with a "import.loaders" value equal to "0" (\`postcss-loader\` before): errors 1`] = `[]`;
+
+exports[`"import" option should work with a "import.loaders" value equal to "0" (\`postcss-loader\` before): module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_1___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./other-imported.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.foo {
+ color: red;
+ color: rgb(0 0 100% / 90%);
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"import" option should work with a "import.loaders" value equal to "0" (\`postcss-loader\` before): result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./nested-import/imported.css",
+ ".bar {
+ color: blue;
+ color: rgb(0 0 100% / 90%);
+}
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./nested-import/other-imported.css",
+ ".baz {
+ color: green;
+ color: rgb(0 0 100% / 90%);
+}
+",
+ "",
+ ],
+ [
+ "./nested-import/source.css",
+ ".foo {
+ color: red;
+ color: rgb(0 0 100% / 90%);
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"import" option should work with a "import.loaders" value equal to "0" (\`postcss-loader\` before): warnings 1`] = `[]`;
+
+exports[`"import" option should work with a "import.loaders" value equal to "1" ("postcss-loader" before): errors 1`] = `[]`;
+
+exports[`"import" option should work with a "import.loaders" value equal to "1" ("postcss-loader" before): module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./imported.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_1___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./other-imported.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.foo {
+ color: red;
+ color: rgb(0 0 100% / 90%);
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"import" option should work with a "import.loaders" value equal to "1" ("postcss-loader" before): result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./nested-import/imported.css",
+ ".bar {
+ color: blue;
+ color: rgb(0 0 100% / 90%);
+}
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./nested-import/other-imported.css",
+ ".baz {
+ color: green;
+ color: rgb(0 0 100% / 90%);
+}
+",
+ "",
+ ],
+ [
+ "./nested-import/source.css",
+ ".foo {
+ color: red;
+ color: rgb(0 0 100% / 90%);
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"import" option should work with a "import.loaders" value equal to "1" ("postcss-loader" before): warnings 1`] = `[]`;
+
+exports[`"import" option should work with a "import.loaders" value equal to "1" (no loaders before): errors 1`] = `[]`;
+
+exports[`"import" option should work with a "import.loaders" value equal to "1" (no loaders before): module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_1___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./other-imported.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.foo {
+ color: red;
+ color: rgb(0 0 100% / 90%);
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"import" option should work with a "import.loaders" value equal to "1" (no loaders before): result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./nested-import/imported.css",
+ ".bar {
+ color: blue;
+ color: rgb(0 0 100% / 90%);
+}
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./nested-import/other-imported.css",
+ ".baz {
+ color: green;
+ color: rgb(0 0 100% / 90%);
+}
+",
+ "",
+ ],
+ [
+ "./nested-import/source.css",
+ ".foo {
+ color: red;
+ color: rgb(0 0 100% / 90%);
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"import" option should work with a "import.loaders" value equal to "1" (no loaders before): warnings 1`] = `[]`;
+
+exports[`"import" option should work with a "import.loaders" value equal to "2" ("postcss-loader" before): errors 1`] = `[]`;
+
+exports[`"import" option should work with a "import.loaders" value equal to "2" ("postcss-loader" before): module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./imported.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_1___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./other-imported.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.foo {
+ color: red;
+ color: rgb(0 0 100% / 90%);
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"import" option should work with a "import.loaders" value equal to "2" ("postcss-loader" before): result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./nested-import/imported.css",
+ ".bar {
+ color: blue;
+ color: rgb(0 0 100% / 90%);
+}
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./nested-import/other-imported.css",
+ ".baz {
+ color: green;
+ color: rgb(0 0 100% / 90%);
+}
+",
+ "",
+ ],
+ [
+ "./nested-import/source.css",
+ ".foo {
+ color: red;
+ color: rgb(0 0 100% / 90%);
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"import" option should work with a "import.loaders" value equal to "2" ("postcss-loader" before): warnings 1`] = `[]`;
+
+exports[`"import" option should work with a value equal to "false": errors 1`] = `[]`;
+
+exports[`"import" option should work with a value equal to "false": module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./img.png", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@import url(test.css);
+@import url('test.css');
+@import url("test.css");
+@IMPORT url(test.css);
+@import URL(test.css);
+@import url(test.css );
+@import url( test.css);
+@import url( test.css );
+@import url(
+ test.css
+);
+@import url();
+@import url('');
+@import url("");
+@import "test.css";
+@import 'test.css';
+@import '';
+@import "";
+@import " ";
+@import "
+";
+@import url();
+@import url('');
+@import url("");
+@import url(test.css) screen and (orientation:landscape);
+@import url(test.css) SCREEN AND (ORIENTATION: LANDSCAPE);
+@import url(test.css)screen and (orientation:landscape);
+@import url(test.css) screen and (orientation:landscape);
+@import url(test-media.css) screen and (orientation:landscape);
+@import url(test-other.css) (min-width: 100px);
+@import url(http://example.com/style.css);
+@import url(http://example.com/style.css);
+@import url(http://example.com/style.css#hash);
+@import url(http://example.com/style.css?#hash);
+@import url(http://example.com/style.css?foo=bar#hash);
+@import url(http://example.com/other-style.css) screen and (orientation:landscape);
+@import url(http://example.com/other-style.css) screen and (orientation:landscape);
+@import url("//example.com/style.css");
+@import url(~package/test.css);
+@import ;
+@import foo-bar;
+@import-normalize;
+@import url('http://') :root {}
+@import url('query.css?foo=1&bar=1');
+@import url('other-query.css?foo=1&bar=1#hash');
+@import url('other-query.css?foo=1&bar=1#hash') screen and (orientation:landscape);
+@import url('https://fonts.googleapis.com/css?family=Roboto');
+@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC');
+@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto');
+
+.class {
+ a: b c d;
+}
+
+.foo {
+ @import 'path.css';
+}
+
+@import url('./relative.css');
+@import url('../import/top-relative.css');
+@import url(~package/tilde.css);
+@import url(~aliasesImport/alias.css);
+@import url('./url.css');
+
+.background {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+@import url(./test.css);
+
+@import './te\\\\
+st.css';
+@import './te\\\\
+\\\\
+\\\\
+st.css';
+@import url('./te\\\\
+st.css');
+@import url('./te\\\\
+\\\\
+\\\\
+st.css');
+
+@import "./te'st.css";
+@import url("./te'st.css");
+@import './te\\\\'st.css';
+@import url('./te\\\\'st.css');
+@import './test test.css';
+@import url('./test test.css');
+@import './test\\\\ test.css';
+@import url('./test\\\\ test.css');
+@import './test%20test.css';
+@import url('./test%20test.css');
+@import './\\\\74\\\\65\\\\73\\\\74.css';
+@import url('./\\\\74\\\\65\\\\73\\\\74.css');
+@import './t\\\\65\\\\73\\\\74.css';
+@import url('./t\\\\65\\\\73\\\\74.css');
+@import url(./test\\\\ test.css);
+@import url(./t\\\\65st%20test.css);
+@import url('./t\\\\65st%20test.css');
+@import url("./t\\\\65st%20test.css");
+@import "./t\\\\65st%20test.css";
+@import './t\\\\65st%20test.css';
+@import url( test.css );
+@import nourl(test.css);
+@import '\\\\
+\\\\
+\\\\
+';
+@import url('!!../../helpers/string-loader.js?esModule=false!~package/tilde.css');
+@import url(test.css?foo=bar);
+@import url(test.css?foo=bar#hash);
+@import url(test.css?#hash);
+@import "test.css" supports(display: flex);
+@import "test.css" supports(display: flex) screen and (orientation:landscape);
+
+/* Should be one import and two css modules */
+
+@import url('something.css');
+@import url('something.css');
+
+/* Should be one import and two css modules */
+
+@import url('something.css?foo=bar');
+@import url('something.css?foo=bar');
+
+/* Should be one import and two css modules */
+
+@import url('something.css?foo=bar#hash');
+@import url('something.css?foo=bar#hash');
+
+/* Should be two import and two css modules */
+
+@import url('something.css?foo=bar');
+@import url('something.css?bar=foo');
+
+/* Should be two import and two css modules */
+
+@import url('something.css?foo=bar#one');
+@import url('something.css?foo=bar#two');
+
+/* Should be two import and two css modules */
+
+@import url('something.css?foo=1&bar=2');
+@import url('something.css?foo=2&bar=1');
+
+@import " ./test.css ";
+@import url(' ./test.css ');
+@import url( ./test.css );
+
+@import "./my.scss";
+
+@import url(' https://fonts.googleapis.com/css?family=Roboto ');
+@import url('!!../../helpers/string-loader.js?esModule=false!');
+@import url(' !!../../helpers/string-loader.js?esModule=false!~package/tilde.css ');
+@import url(data:text/css;charset=utf-8,a%20%7B%0D%0A%20%20color%3A%20red%3B%0D%0A%7D);
+
+/* Prefer relative */
+@import url(package/first.css);
+@import url(package/second.css);
+
+@import url("./test.css") supports();
+@import url("./test.css") supports(unknown);
+@import url("./test.css") supports(display: flex);
+@import url("./test.css") supports(display: flex !important);
+@import url("./test.css") supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css") layer;
+@import url("./test.css") layer(default);
+@import url("./test.css") layer(default) supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css") layer supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css") layer() supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css") layer();
+@import url("http://example.com/style.css") supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css")layer(default)supports(display: flex)screen and (min-width:400px);
+@import url("./test.css")screen and (min-width: 400px);
+@import url("./test.css") layer( default ) supports( display : flex ) screen and ( min-width : 400px );
+@import url("./test.css") LAYER(DEFAULT) SUPPORTS(DISPLAY: FLEX) SCREEN AND (MIN-WIDTH: 400PX);
+@import url("./test.css") /* Comment */ layer(/* Comment */default/* Comment */) /* Comment */ supports(/* Comment */display/* Comment */:/* Comment */ flex/* Comment */)/* Comment */ screen/* Comment */ and/* Comment */ (/* Comment */min-width/* Comment */: /* Comment */400px/* Comment */);
+@import url(test.css) /* Comment */;
+@import /* Comment */ url(test.css) /* Comment */;
+@import url(test.css) /* Comment */ print and (orientation:landscape);
+@import /* Comment */ url(test.css) /* Comment */ print and (orientation:landscape);
+
+@import url("./import-with-media.css") screen and (min-width: 400px);
+@import url("./deep-import-with-media.css") (prefers-color-scheme: dark);
+@import url("./import-with-supports.css") supports(display: flex);
+@import url("./import-with-supports.css") supports(((display: flex)));
+@import url("./deep-import-with-supports.css") supports(display: flex);
+@import url('./test.css') supports(display: grid);
+@import url("./import-with-supports-and-media.css") supports(display: flex) screen and (min-width: 400px);
+@import url("./import-deep-with-supports-and-media.css") supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css") layer(framework);
+@import url("./import-with-layer.css") layer(framework);
+@import url("./deep-import-with-layer.css") layer(framework);
+@import url("./import-multiple-with-layer.css") layer(default);
+@import url("./import-with-layer-unnamed.css") layer(default);
+@import url("./import-unnamed-layer.css") layer(base);
+@import url("./import-multiple-unnamed-layer.css") layer(base);
+@import url("./import-with-layer-and-supports.css") layer(default) supports(display: flex);
+@import url("./import-with-layer-and-supports-and-media.css") layer(default) supports(display: flex) screen and (min-width: 400px);
+@import url("./deep-layer.css");
+
+@import url("./test.css") unknown(default) unknown(display: flex) unknown;
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"import" option should work with a value equal to "false": result 1`] = `
+"@import url(test.css);
+@import url('test.css');
+@import url("test.css");
+@IMPORT url(test.css);
+@import URL(test.css);
+@import url(test.css );
+@import url( test.css);
+@import url( test.css );
+@import url(
+ test.css
+);
+@import url();
+@import url('');
+@import url("");
+@import "test.css";
+@import 'test.css';
+@import '';
+@import "";
+@import " ";
+@import "
+";
+@import url();
+@import url('');
+@import url("");
+@import url(test.css) screen and (orientation:landscape);
+@import url(test.css) SCREEN AND (ORIENTATION: LANDSCAPE);
+@import url(test.css)screen and (orientation:landscape);
+@import url(test.css) screen and (orientation:landscape);
+@import url(test-media.css) screen and (orientation:landscape);
+@import url(test-other.css) (min-width: 100px);
+@import url(http://example.com/style.css);
+@import url(http://example.com/style.css);
+@import url(http://example.com/style.css#hash);
+@import url(http://example.com/style.css?#hash);
+@import url(http://example.com/style.css?foo=bar#hash);
+@import url(http://example.com/other-style.css) screen and (orientation:landscape);
+@import url(http://example.com/other-style.css) screen and (orientation:landscape);
+@import url("//example.com/style.css");
+@import url(~package/test.css);
+@import ;
+@import foo-bar;
+@import-normalize;
+@import url('http://') :root {}
+@import url('query.css?foo=1&bar=1');
+@import url('other-query.css?foo=1&bar=1#hash');
+@import url('other-query.css?foo=1&bar=1#hash') screen and (orientation:landscape);
+@import url('https://fonts.googleapis.com/css?family=Roboto');
+@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC');
+@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto');
+
+.class {
+ a: b c d;
+}
+
+.foo {
+ @import 'path.css';
+}
+
+@import url('./relative.css');
+@import url('../import/top-relative.css');
+@import url(~package/tilde.css);
+@import url(~aliasesImport/alias.css);
+@import url('./url.css');
+
+.background {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+@import url(./test.css);
+
+@import './te\\
+st.css';
+@import './te\\
+\\
+\\
+st.css';
+@import url('./te\\
+st.css');
+@import url('./te\\
+\\
+\\
+st.css');
+
+@import "./te'st.css";
+@import url("./te'st.css");
+@import './te\\'st.css';
+@import url('./te\\'st.css');
+@import './test test.css';
+@import url('./test test.css');
+@import './test\\ test.css';
+@import url('./test\\ test.css');
+@import './test%20test.css';
+@import url('./test%20test.css');
+@import './\\74\\65\\73\\74.css';
+@import url('./\\74\\65\\73\\74.css');
+@import './t\\65\\73\\74.css';
+@import url('./t\\65\\73\\74.css');
+@import url(./test\\ test.css);
+@import url(./t\\65st%20test.css);
+@import url('./t\\65st%20test.css');
+@import url("./t\\65st%20test.css");
+@import "./t\\65st%20test.css";
+@import './t\\65st%20test.css';
+@import url( test.css );
+@import nourl(test.css);
+@import '\\
+\\
+\\
+';
+@import url('!!../../helpers/string-loader.js?esModule=false!~package/tilde.css');
+@import url(test.css?foo=bar);
+@import url(test.css?foo=bar#hash);
+@import url(test.css?#hash);
+@import "test.css" supports(display: flex);
+@import "test.css" supports(display: flex) screen and (orientation:landscape);
+
+/* Should be one import and two css modules */
+
+@import url('something.css');
+@import url('something.css');
+
+/* Should be one import and two css modules */
+
+@import url('something.css?foo=bar');
+@import url('something.css?foo=bar');
+
+/* Should be one import and two css modules */
+
+@import url('something.css?foo=bar#hash');
+@import url('something.css?foo=bar#hash');
+
+/* Should be two import and two css modules */
+
+@import url('something.css?foo=bar');
+@import url('something.css?bar=foo');
+
+/* Should be two import and two css modules */
+
+@import url('something.css?foo=bar#one');
+@import url('something.css?foo=bar#two');
+
+/* Should be two import and two css modules */
+
+@import url('something.css?foo=1&bar=2');
+@import url('something.css?foo=2&bar=1');
+
+@import " ./test.css ";
+@import url(' ./test.css ');
+@import url( ./test.css );
+
+@import "./my.scss";
+
+@import url(' https://fonts.googleapis.com/css?family=Roboto ');
+@import url('!!../../helpers/string-loader.js?esModule=false!');
+@import url(' !!../../helpers/string-loader.js?esModule=false!~package/tilde.css ');
+@import url(data:text/css;charset=utf-8,a%20%7B%0D%0A%20%20color%3A%20red%3B%0D%0A%7D);
+
+/* Prefer relative */
+@import url(package/first.css);
+@import url(package/second.css);
+
+@import url("./test.css") supports();
+@import url("./test.css") supports(unknown);
+@import url("./test.css") supports(display: flex);
+@import url("./test.css") supports(display: flex !important);
+@import url("./test.css") supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css") layer;
+@import url("./test.css") layer(default);
+@import url("./test.css") layer(default) supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css") layer supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css") layer() supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css") layer();
+@import url("http://example.com/style.css") supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css")layer(default)supports(display: flex)screen and (min-width:400px);
+@import url("./test.css")screen and (min-width: 400px);
+@import url("./test.css") layer( default ) supports( display : flex ) screen and ( min-width : 400px );
+@import url("./test.css") LAYER(DEFAULT) SUPPORTS(DISPLAY: FLEX) SCREEN AND (MIN-WIDTH: 400PX);
+@import url("./test.css") /* Comment */ layer(/* Comment */default/* Comment */) /* Comment */ supports(/* Comment */display/* Comment */:/* Comment */ flex/* Comment */)/* Comment */ screen/* Comment */ and/* Comment */ (/* Comment */min-width/* Comment */: /* Comment */400px/* Comment */);
+@import url(test.css) /* Comment */;
+@import /* Comment */ url(test.css) /* Comment */;
+@import url(test.css) /* Comment */ print and (orientation:landscape);
+@import /* Comment */ url(test.css) /* Comment */ print and (orientation:landscape);
+
+@import url("./import-with-media.css") screen and (min-width: 400px);
+@import url("./deep-import-with-media.css") (prefers-color-scheme: dark);
+@import url("./import-with-supports.css") supports(display: flex);
+@import url("./import-with-supports.css") supports(((display: flex)));
+@import url("./deep-import-with-supports.css") supports(display: flex);
+@import url('./test.css') supports(display: grid);
+@import url("./import-with-supports-and-media.css") supports(display: flex) screen and (min-width: 400px);
+@import url("./import-deep-with-supports-and-media.css") supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css") layer(framework);
+@import url("./import-with-layer.css") layer(framework);
+@import url("./deep-import-with-layer.css") layer(framework);
+@import url("./import-multiple-with-layer.css") layer(default);
+@import url("./import-with-layer-unnamed.css") layer(default);
+@import url("./import-unnamed-layer.css") layer(base);
+@import url("./import-multiple-unnamed-layer.css") layer(base);
+@import url("./import-with-layer-and-supports.css") layer(default) supports(display: flex);
+@import url("./import-with-layer-and-supports-and-media.css") layer(default) supports(display: flex) screen and (min-width: 400px);
+@import url("./deep-layer.css");
+
+@import url("./test.css") unknown(default) unknown(display: flex) unknown;
+"
+`;
+
+exports[`"import" option should work with a value equal to "false": warnings 1`] = `[]`;
+
+exports[`"import" option should work with a value equal to "true": errors 1`] = `[]`;
+
+exports[`"import" option should work with a value equal to "true": module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_1___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_2___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test-other.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_3___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./node_modules/package/test.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_4___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./query.css?foo=1&bar=1";
+import ___CSS_LOADER_AT_RULE_IMPORT_5___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./other-query.css?foo=1&bar=1#hash";
+import ___CSS_LOADER_AT_RULE_IMPORT_6___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./relative.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_7___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./top-relative.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_8___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./node_modules/package/tilde.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_9___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./alias.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_10___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./url.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_11___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./te'st.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_12___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test test.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_13___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!!!../../helpers/string-loader.js?esModule=false!./node_modules/package/tilde.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_14___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test.css?foo=bar";
+import ___CSS_LOADER_AT_RULE_IMPORT_15___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test.css?foo=bar#hash";
+import ___CSS_LOADER_AT_RULE_IMPORT_16___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test.css?#hash";
+import ___CSS_LOADER_AT_RULE_IMPORT_17___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_18___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=bar";
+import ___CSS_LOADER_AT_RULE_IMPORT_19___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=bar#hash";
+import ___CSS_LOADER_AT_RULE_IMPORT_20___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?bar=foo";
+import ___CSS_LOADER_AT_RULE_IMPORT_21___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=bar#one";
+import ___CSS_LOADER_AT_RULE_IMPORT_22___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=bar#two";
+import ___CSS_LOADER_AT_RULE_IMPORT_23___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=1&bar=2";
+import ___CSS_LOADER_AT_RULE_IMPORT_24___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=2&bar=1";
+import ___CSS_LOADER_AT_RULE_IMPORT_25___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./my.scss";
+import ___CSS_LOADER_AT_RULE_IMPORT_26___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./package/first.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_27___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./node_modules/package/second.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_28___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_29___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./deep-import-with-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_30___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-supports.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_31___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./deep-import-with-supports.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_32___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-supports-and-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_33___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-deep-with-supports-and-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_34___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_35___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./deep-import-with-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_36___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-multiple-with-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_37___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-layer-unnamed.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_38___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-unnamed-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_39___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-multiple-unnamed-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_40___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-layer-and-supports.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_41___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-layer-and-supports-and-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_42___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./deep-layer.css";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./img.png", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (orientation: landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_1___, "screen and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_2___, "(min-width: 100px)");
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css#hash);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css?#hash);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css?foo=bar#hash);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/other-style.css);", "screen and (orientation:landscape)"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/other-style.css);", "screen and (orientation:landscape)"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(//example.com/style.css);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_3___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_4___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_5___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_5___, "screen and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(https://fonts.googleapis.com/css?family=Roboto);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_6___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_7___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_8___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_9___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_10___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_11___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_11___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_11___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_11___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_13___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_14___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_15___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_16___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (orientation:landscape)", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_17___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_17___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_18___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_18___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_19___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_19___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_18___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_20___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_21___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_22___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_23___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_24___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_25___);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(https://fonts.googleapis.com/css?family=Roboto);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_13___);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(data:text/css;charset=utf-8,a%20%7B%0D%0A%20%20color%3A%20red%3B%0D%0A%7D);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_26___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_27___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, "");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, "unknown");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, "display: flex !important");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width: 400px)", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, undefined, "");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, undefined, "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width: 400px)", false, "display: flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width: 400px)", false, "display: flex", "");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width: 400px)", false, "display: flex", "");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, undefined, "");
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css);", "screen and (min-width: 400px)", false, "display: flex"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width:400px)", false, "display: flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width: 400px)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and ( min-width : 400px )", false, "display : flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (min-width: 400px)", false, "display: flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "/* comment */ screen/* comment */ and/* comment */ (/* comment */min-width/* comment */: /* comment */400px/* comment */)", false, "/* comment */ /* comment */display/* comment */:/* comment */ flex/* comment */", "/* comment */ /* comment */default/* comment */");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "/* comment */ print and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "/* comment */ print and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_28___, "screen and (min-width: 400px)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_29___, "(prefers-color-scheme: dark)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_30___, "", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_30___, "", false, "((display: flex))");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_31___, "", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, "display: grid");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_32___, "screen and (min-width: 400px)", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_33___, "screen and (min-width: 400px)", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "", false, undefined, "framework");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_34___, "", false, undefined, "framework");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_35___, "", false, undefined, "framework");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_36___, "", false, undefined, "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_37___, "", false, undefined, "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_38___, "", false, undefined, "base");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_39___, "", false, undefined, "base");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_40___, "", false, "display: flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_41___, "screen and (min-width: 400px)", false, "display: flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_42___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "unknown(default) unknown(display: flex) unknown");
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@import url();
+@import url('');
+@import url("");
+@import '';
+@import "";
+@import " ";
+@import "
+";
+@import url();
+@import url('');
+@import url("");
+@import ;
+@import foo-bar;
+@import-normalize;
+@import url('http://') :root {}
+
+.class {
+ a: b c d;
+}
+
+.foo {
+ @import 'path.css';
+}
+
+.background {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+@import nourl(test.css);
+@import '\\\\
+\\\\
+\\\\
+';
+
+/* Should be one import and two css modules */
+
+/* Should be one import and two css modules */
+
+/* Should be one import and two css modules */
+
+/* Should be two import and two css modules */
+
+/* Should be two import and two css modules */
+
+/* Should be two import and two css modules */
+@import url('!!../../helpers/string-loader.js?esModule=false!');
+
+/* Prefer relative */
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"import" option should work with a value equal to "true": result 1`] = `
+".test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+@media screen and (orientation:landscape) {.test {
+ a: a;
+}
+}@media screen and (orientation: landscape) {.test {
+ a: a;
+}
+}@media screen and (orientation:landscape) {.test {
+ a: a;
+}
+}@media screen and (orientation:landscape) {.test {
+ a: a;
+}
+}@media screen and (orientation:landscape) {@media (min-width: 100px) {a {
b: b;
}
-",
- "((min-width: 100px)) and (screen and print)",
- ],
- Array [
- 4,
- ".f63QYE3dlpdhZuYg8R4pd {
+}}@media screen and (orientation:landscape) {.test {
c: c;
}
-",
- "screen and print",
- ],
- Array [
- 1,
- "@import url(http://example.com/style.css);",
- "",
- ],
- Array [
- 1,
- "@import url(http://example.com/style.css#hash);",
- "",
- ],
- Array [
- 1,
- "@import url(http://example.com/style.css?#hash);",
- "",
- ],
- Array [
- 1,
- "@import url(http://example.com/style.css?foo=bar#hash);",
- "",
- ],
- Array [
- 1,
- "@import url(http://example.com/other-style.css);",
- "screen and print",
- ],
- Array [
- 1,
- "@import url(//example.com/style.css);",
- "",
- ],
- Array [
- 6,
- "._1lN7KGFmbEaXH8rJdLC9cT {
+}@media (min-width: 100px) {.test {
+ d: d;
+}
+}@import url(http://example.com/style.css);@import url(http://example.com/style.css);@import url(http://example.com/style.css#hash);@import url(http://example.com/style.css?#hash);@import url(http://example.com/style.css?foo=bar#hash);@media screen and (orientation:landscape) {@import url(http://example.com/other-style.css);}@media screen and (orientation:landscape) {@import url(http://example.com/other-style.css);}@import url(//example.com/style.css);.test {
d: d
}
-",
- "",
- ],
- Array [
- 7,
- "._2FiPFdRUJ6bc--oLN32vUX {
+.query {
e: e;
}
-",
- "",
- ],
- Array [
- 8,
- "._2nQ7ONr22lmMu683ljj0MN {
+.other-query {
f: f;
}
-",
- "",
- ],
- Array [
- 9,
- "._2nQ7ONr22lmMu683ljj0MN {
+@media screen and (orientation:landscape) {.other-query {
f: f;
}
-",
- "screen and print",
- ],
- Array [
- 1,
- "@import url(https://fonts.googleapis.com/css?family=Roboto);",
- "",
- ],
- Array [
- 1,
- "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);",
- "",
- ],
- Array [
- 1,
- "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);",
- "",
- ],
- Array [
- 10,
- "._37G_Iu-0wcPjXN9ZhzZjlT {
+}@import url(https://fonts.googleapis.com/css?family=Roboto);@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);.relative {
color: red;
}
-",
- "",
- ],
- Array [
- 11,
- "._4a-iWS8tumU5J8-oW8LlR {
+.top-relative {
color: black;
}
-",
- "",
- ],
- Array [
- 12,
- "._2VXavzz3TUKPrbI3S1tkrW {
+.tilde {
color: yellow;
}
-",
- "",
- ],
- Array [
- 13,
- "._2E2zpPgFs4vJaVymauWk3p {
+.alias {
color: red;
}
-",
- "",
- ],
- Array [
- 14,
- "._1N9oVhfOd30-kQu9zrdhrJ {
- background: url(/webpack/public/path/img.png);
+.background-imported {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
}
-",
- "",
- ],
- Array [
- 1,
- "@import url();
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.strange {
+ color: red;
+}
+.strange {
+ color: red;
+}
+.strange {
+ color: red;
+}
+.strange {
+ color: red;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.space {
+ color: gray;
+}
+.test {
+ a: a;
+}
+a { color: red };.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+@supports (display: flex) {.test {
+ a: a;
+}
+}@supports (display: flex) {@media screen and (orientation:landscape) {.test {
+ a: a;
+}
+}}.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+a {
+ color: red;
+}@import url(https://fonts.googleapis.com/css?family=Roboto);a { color: red };@import url(data:text/css;charset=utf-8,a%20%7B%0D%0A%20%20color%3A%20red%3B%0D%0A%7D);.first {
+ color: red;
+}
+.second {
+ color: red;
+}
+.test {
+ a: a;
+}
+@supports (unknown) {.test {
+ a: a;
+}
+}@supports (display: flex) {.test {
+ a: a;
+}
+}@supports (display: flex !important) {.test {
+ a: a;
+}
+}@supports (display: flex) {@media screen and (min-width: 400px) {.test {
+ a: a;
+}
+}}@layer {.test {
+ a: a;
+}
+}@layer default {.test {
+ a: a;
+}
+}@supports (display: flex) {@media screen and (min-width: 400px) {@layer default {.test {
+ a: a;
+}
+}}}@supports (display: flex) {@media screen and (min-width: 400px) {@layer {.test {
+ a: a;
+}
+}}}@supports (display: flex) {@media screen and (min-width: 400px) {@layer {.test {
+ a: a;
+}
+}}}@layer {.test {
+ a: a;
+}
+}@supports (display: flex) {@media screen and (min-width: 400px) {@import url(http://example.com/style.css);}}@supports (display: flex) {@media screen and (min-width:400px) {@layer default {.test {
+ a: a;
+}
+}}}@media screen and (min-width: 400px) {.test {
+ a: a;
+}
+}@supports (display : flex) {@media screen and ( min-width : 400px ) {@layer default {.test {
+ a: a;
+}
+}}}@supports (display: flex) {@media screen and (min-width: 400px) {@layer default {.test {
+ a: a;
+}
+}}}@supports (/* comment */ /* comment */display/* comment */:/* comment */ flex/* comment */) {@media /* comment */ screen/* comment */ and/* comment */ (/* comment */min-width/* comment */: /* comment */400px/* comment */) {@layer /* comment */ /* comment */default/* comment */ {.test {
+ a: a;
+}
+}}}.test {
+ a: a;
+}
+.test {
+ a: a;
+}
+@media /* comment */ print and (orientation:landscape) {.test {
+ a: a;
+}
+}@media /* comment */ print and (orientation:landscape) {.test {
+ a: a;
+}
+}@media screen and (min-width: 400px) {@media screen and (max-width: 1200px) {.test {
+ a: a;
+}
+}}@media screen and (min-width: 400px) {
+}@media (prefers-color-scheme: dark) {@media screen and (min-width: 400px) {@media screen and (max-width: 1200px) {.test {
+ a: a;
+}
+}}}@media (prefers-color-scheme: dark) {@media screen and (min-width: 400px) {
+}}@media (prefers-color-scheme: dark) {}@supports (display: flex) {@supports (display: grid) {.test {
+ a: a;
+}
+}}@supports (display: flex) {}@supports (((display: flex))) {@supports (display: grid) {.test {
+ a: a;
+}
+}}@supports (((display: flex))) {}@supports (display: flex) {@supports (display: block) {@supports (display: grid) {.test {
+ a: a;
+}
+}}}@supports (display: flex) {@supports (display: block) {}}@supports (display: flex) {}@supports (display: grid) {.test {
+ a: a;
+}
+}@supports (display: flex) {@media screen and (min-width: 400px) {@supports (display: grid) {@media screen and (max-width: 1200px) {.test {
+ a: a;
+}
+}}}}@supports (display: flex) {@media screen and (min-width: 400px) {}}@supports (display: flex) {@media screen and (min-width: 400px) {@supports (display: flex) {@media screen and (min-width: 400px) {@supports (display: grid) {@media screen and (max-width: 1200px) {.test {
+ a: a;
+}
+}}}}}}@supports (display: flex) {@media screen and (min-width: 400px) {@supports (display: flex) {@media screen and (min-width: 400px) {}}}}@supports (display: flex) {@media screen and (min-width: 400px) {}}@layer framework {.test {
+ a: a;
+}
+}@layer framework {@layer base {.test {
+ a: a;
+}
+}}@layer framework {@layer base {
+ .foo {
+ color: red;
+ }
+}
+}@layer framework {@layer form {@layer base {.test {
+ a: a;
+}
+}}}@layer framework {@layer form {@layer base {
+ .foo {
+ color: red;
+ }
+}
+}}@layer framework {@layer form {
+ .bar {
+ color: red;
+ }
+}
+}@layer default {@layer base {.test {
+ a: a;
+}
+}}@layer default {@layer base {.relative {
+ color: red;
+}
+}}@layer default {@layer base {
+ .foo {
+ color: red;
+ }
+}
+}@layer default {@layer {.test {
+ a: a;
+}
+}}@layer default {}@layer base {@layer {.test {
+ a: a;
+}
+}}@layer base {.foo {
+ color: red;
+}
+}@layer base {@layer {.test {
+ a: a;
+}
+}}@layer base {@layer {.relative {
+ color: red;
+}
+}}@layer base {.foo {
+ color: red;
+}
+}@supports (display: flex) {@layer default {@layer base {.test {
+ a: a;
+}
+}}}@supports (display: flex) {@layer default {}}@supports (display: flex) {@media screen and (min-width: 400px) {@layer default {@supports (display: grid) {@media screen and (min-width: 900px) {@layer base {.test {
+ a: a;
+}
+}}}}}}@supports (display: flex) {@media screen and (min-width: 400px) {@layer default {}}}@layer bootstrap {@layer base {@layer {.relative {
+ color: red;
+}
+}}}@layer bootstrap {@layer base {@layer {.test {
+ a: a;
+}
+}}}@layer bootstrap {@layer base {/* unnamed wrapper layers around each sub-file */
+}}@layer bootstrap {/* the internal names are hidden from access, subsumed in "base" */}/* Adds additional styles to the bootstrap layer: */
+@layer bootstrap {
+ .test {
+ color: red;
+ }
+}@media unknown(default) unknown(display: flex) unknown {.test {
+ a: a;
+}
+}@import url();
@import url('');
-@import url(\\"\\");
+@import url("");
@import '';
-@import \\"\\";
-@import \\" \\";
-@import \\"
-\\";
+@import "";
+@import " ";
+@import "
+";
@import url();
@import url('');
-@import url(\\"\\");
+@import url("");
@import ;
@import foo-bar;
@import-normalize;
@import url('http://') :root {}
-.hnxX78DgkaA2kCp_BPbLd {
+.class {
a: b c d;
}
-._1Lug_45kZL-M7XuNeM4SCw {
+.foo {
@import 'path.css';
}
-._1E9CLkKp-0idM8IkvZwXn9 {
- background: url(/webpack/public/path/img.png);
+.background {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
}
-",
- "",
- ],
-]
-`;
+@import nourl(test.css);
+@import '\\
+\\
+\\
+';
+
+/* Should be one import and two css modules */
+
+/* Should be one import and two css modules */
-exports[`import option true and modules \`true\`: module 1`] = `
-"exports = module.exports = require(\\"../../../src/runtime/api.js\\")(false);
-// Imports
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test.css\\"), \\"screen and print\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test-media.css\\"), \\"screen and print\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test-other.css\\"), \\"(min-width: 100px)\\");
-exports.push([module.id, \\"@import url(http://example.com/style.css);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/style.css#hash);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/style.css?#hash);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/style.css?foo=bar#hash);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/other-style.css);\\", \\"screen and print\\"]);
-exports.push([module.id, \\"@import url(//example.com/style.css);\\", \\"\\"]);
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!package/test.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./query.css?foo=1&bar=1\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./other-query.css?foo=1&bar=1#hash\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./other-query.css?foo=1&bar=1#hash\\"), \\"screen and print\\");
-exports.push([module.id, \\"@import url(https://fonts.googleapis.com/css?family=Roboto);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);\\", \\"\\"]);
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./relative.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!../import/top-relative.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!package/tilde.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!aliasesImport/alias.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./url.css\\"), \\"\\");
-var urlEscape = require(\\"../../../src/runtime/url-escape.js\\");
-var ___CSS_LOADER_URL___0___ = urlEscape(require(\\"./img.png\\"));
+/* Should be one import and two css modules */
-// Module
-exports.push([module.id, \\"@import url();\\\\n@import url('');\\\\n@import url(\\\\\\"\\\\\\");\\\\n@import '';\\\\n@import \\\\\\"\\\\\\";\\\\n@import \\\\\\" \\\\\\";\\\\n@import \\\\\\"\\\\n\\\\\\";\\\\n@import url();\\\\n@import url('');\\\\n@import url(\\\\\\"\\\\\\");\\\\n@import ;\\\\n@import foo-bar;\\\\n@import-normalize;\\\\n@import url('http://') :root {}\\\\n\\\\n.hnxX78DgkaA2kCp_BPbLd {\\\\n a: b c d;\\\\n}\\\\n\\\\n._1Lug_45kZL-M7XuNeM4SCw {\\\\n @import 'path.css';\\\\n}\\\\n\\\\n._1E9CLkKp-0idM8IkvZwXn9 {\\\\n background: url(\\" + ___CSS_LOADER_URL___0___ + \\");\\\\n}\\\\n\\", \\"\\"]);
+/* Should be two import and two css modules */
-// Exports
-exports.locals = {
- \\"class\\": \\"hnxX78DgkaA2kCp_BPbLd\\",
- \\"foo\\": \\"_1Lug_45kZL-M7XuNeM4SCw\\",
- \\"background\\": \\"_1E9CLkKp-0idM8IkvZwXn9\\"
-};"
+/* Should be two import and two css modules */
+
+/* Should be two import and two css modules */
+@import url('!!../../helpers/string-loader.js?esModule=false!');
+
+/* Prefer relative */
+"
`;
-exports[`import option true and modules \`true\`: warnings 1`] = `
-Array [
+exports[`"import" option should work with a value equal to "true": warnings 1`] = `
+[
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(105:1) from "postcss-import-parser" plugin: Unable to find uri in "@import nourl(test.css)"
+
+Code:
+ @import nourl(test.css)
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(106:1) from "postcss-import-parser" plugin: Unable to find uri in "@import '\\
+\\
+\\
+'"
+
+Code:
+ @import '\\
+\\
+\\
+'
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(12:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url()"
+
+Code:
+ @import url()
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(13:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url('')"
-(12:1) Unable to find uri in '@import url()'",
+Code:
+ @import url('')
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(14:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url("")"
-(13:1) Unable to find uri in '@import url('')'",
+Code:
+ @import url("")
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(154:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url('!!../../helpers/string-loader.js?esModule=false!')"
-(14:1) Unable to find uri in '@import url(\\"\\")'",
+Code:
+ @import url('!!../../helpers/string-loader.js?esModule=false!')
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(17:1) from "postcss-import-parser" plugin: Unable to find uri in "@import ''"
-(17:1) Unable to find uri in '@import '''",
+Code:
+ @import ''
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(18:1) from "postcss-import-parser" plugin: Unable to find uri in "@import """
-(18:1) Unable to find uri in '@import \\"\\"'",
+Code:
+ @import ""
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(19:1) from "postcss-import-parser" plugin: Unable to find uri in "@import " ""
-(19:1) Unable to find uri in '@import \\" \\"'",
+Code:
+ @import " "
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(20:1) from "postcss-import-parser" plugin: Unable to find uri in "@import "
+""
-(20:1) Unable to find uri in '@import \\"
-\\"'",
+Code:
+ @import "
+"
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(22:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url()"
-(22:1) Unable to find uri in '@import url()'",
+Code:
+ @import url()
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(23:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url('')"
-(23:1) Unable to find uri in '@import url('')'",
+Code:
+ @import url('')
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(24:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url("")"
-(24:1) Unable to find uri in '@import url(\\"\\")'",
+Code:
+ @import url("")
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(40:1) from "postcss-import-parser" plugin: Unable to find uri in "@import "
-(40:1) Unable to find uri in '@import '",
+Code:
+ @import
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(41:1) from "postcss-import-parser" plugin: Unable to find uri in "@import foo-bar"
-(41:1) Unable to find uri in '@import foo-bar'",
+Code:
+ @import foo-bar
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(43:1) from "postcss-import-parser" plugin: It looks like you didn't end your @import statement correctly. Child nodes are attached to it.
-(43:1) It looks like you didn't end your @import statement correctly. Child nodes are attached to it.",
+Code:
+ @import url('http://') :root {}
+",
]
`;
-exports[`import option true: errors 1`] = `Array []`;
+exports[`"import" option should work with absolute URLs: errors 1`] = `[]`;
+
+exports[`"import" option should work with absolute URLs: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("https://raw.githubusercontent.com/webpack-contrib/css-loader/master/test/fixtures/url/img.png", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(https://raw.githubusercontent.com/webpack-contrib/css-loader/master/test/fixtures/url/imported.css);"]);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`a {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
-exports[`import option true: module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- ".test {
- a: a;
+exports[`"import" option should work with absolute URLs: result 1`] = `
+[
+ [
+ "./import/absolute-url.css",
+ "@import url(https://raw.githubusercontent.com/webpack-contrib/css-loader/master/test/fixtures/url/imported.css);",
+ ],
+ [
+ "./import/absolute-url.css",
+ "a {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
}
",
"",
],
- Array [
- 3,
- ".test {
- a: a;
+]
+`;
+
+exports[`"import" option should work with absolute URLs: warnings 1`] = `[]`;
+
+exports[`"import" option should work with circular \`@import\`: errors 1`] = `[]`;
+
+exports[`"import" option should work with circular \`@import\`: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./relative.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`/*
+ // TODO fixed nested circular \\\`@import\\\`
+ @import url(circular-nested.css);
+*/
+
+a {
+ color: red;
}
-",
- "screen and print",
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"import" option should work with circular \`@import\`: result 1`] = `
+".relative {
+ color: red;
+}
+/*
+ // TODO fixed nested circular \`@import\`
+ @import url(circular-nested.css);
+*/
+
+a {
+ color: red;
+}
+"
+`;
+
+exports[`"import" option should work with circular \`@import\`: warnings 1`] = `[]`;
+
+exports[`"import" option should work with data URI: errors 1`] = `[]`;
+
+exports[`"import" option should work with data URI: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(data:text/css;charset=utf-8;base64,YSB7DQogIGNvbG9yOiByZWQ7DQp9);"]);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`a {
+ display: block;
+ width: 100px;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"import" option should work with data URI: result 1`] = `
+[
+ [
+ "./import/data-uri.css",
+ "@import url(data:text/css;charset=utf-8;base64,YSB7DQogIGNvbG9yOiByZWQ7DQp9);",
],
- Array [
- 5,
+ [
+ "./import/data-uri.css",
"a {
- b: b;
+ display: block;
+ width: 100px;
}
",
- "((min-width: 100px)) and (screen and print)",
+ "",
],
- Array [
- 4,
- ".test {
+]
+`;
+
+exports[`"import" option should work with data URI: warnings 1`] = `[]`;
+
+exports[`"import" option should work with import.filter: errors 1`] = `[]`;
+
+exports[`"import" option should work with import.filter: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_1___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./test-other.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_2___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./query.css?foo=1&bar=1";
+import ___CSS_LOADER_AT_RULE_IMPORT_3___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./other-query.css?foo=1&bar=1#hash";
+import ___CSS_LOADER_AT_RULE_IMPORT_4___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./relative.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_5___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./top-relative.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_6___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./node_modules/package/tilde.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_7___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./alias.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_8___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./url.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_9___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./te'st.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_10___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!!!../../helpers/string-loader.js?esModule=false!./node_modules/package/tilde.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_11___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_12___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=bar";
+import ___CSS_LOADER_AT_RULE_IMPORT_13___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=bar#hash";
+import ___CSS_LOADER_AT_RULE_IMPORT_14___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?bar=foo";
+import ___CSS_LOADER_AT_RULE_IMPORT_15___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=bar#one";
+import ___CSS_LOADER_AT_RULE_IMPORT_16___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=bar#two";
+import ___CSS_LOADER_AT_RULE_IMPORT_17___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=1&bar=2";
+import ___CSS_LOADER_AT_RULE_IMPORT_18___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css?foo=2&bar=1";
+import ___CSS_LOADER_AT_RULE_IMPORT_19___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./my.scss";
+import ___CSS_LOADER_AT_RULE_IMPORT_20___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./package/first.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_21___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./node_modules/package/second.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_22___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_23___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./deep-import-with-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_24___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-supports.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_25___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./deep-import-with-supports.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_26___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-supports-and-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_27___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-deep-with-supports-and-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_28___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_29___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./deep-import-with-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_30___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-multiple-with-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_31___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-layer-unnamed.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_32___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-unnamed-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_33___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-multiple-unnamed-layer.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_34___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-layer-and-supports.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_35___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./import-with-layer-and-supports-and-media.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_36___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./deep-layer.css";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./img.png", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "screen and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_1___, "(min-width: 100px)");
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css#hash);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css?#hash);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css?foo=bar#hash);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/other-style.css);", "screen and (orientation:landscape)"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/other-style.css);", "screen and (orientation:landscape)"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(//example.com/style.css);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_2___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_3___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_3___, "screen and (orientation:landscape)");
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(https://fonts.googleapis.com/css?family=Roboto);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_4___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_5___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_6___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_7___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_8___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_9___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_9___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_9___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_9___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_10___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_11___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_11___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_13___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_13___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_12___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_14___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_15___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_16___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_17___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_18___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_19___);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(https://fonts.googleapis.com/css?family=Roboto);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_10___);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(data:text/css;charset=utf-8,a%20%7B%0D%0A%20%20color%3A%20red%3B%0D%0A%7D);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_20___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_21___);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(http://example.com/style.css);", "screen and (min-width: 400px)", false, "display: flex"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_22___, "screen and (min-width: 400px)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_23___, "(prefers-color-scheme: dark)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_24___, "", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_24___, "", false, "((display: flex))");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_25___, "", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_26___, "screen and (min-width: 400px)", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_27___, "screen and (min-width: 400px)", false, "display: flex");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_28___, "", false, undefined, "framework");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_29___, "", false, undefined, "framework");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_30___, "", false, undefined, "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_31___, "", false, undefined, "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_32___, "", false, undefined, "base");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_33___, "", false, undefined, "base");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_34___, "", false, "display: flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_35___, "screen and (min-width: 400px)", false, "display: flex", "default");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_36___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@import url(test.css);
+@import url('test.css');
+@import url("test.css");
+@IMPORT url(test.css);
+@import URL(test.css);
+@import url(test.css );
+@import url( test.css);
+@import url( test.css );
+@import url(
+ test.css
+);
+@import url();
+@import url('');
+@import url("");
+@import "test.css";
+@import 'test.css';
+@import '';
+@import "";
+@import " ";
+@import "
+";
+@import url();
+@import url('');
+@import url("");
+@import url(test.css) screen and (orientation:landscape);
+@import url(test.css) SCREEN AND (ORIENTATION: LANDSCAPE);
+@import url(test.css)screen and (orientation:landscape);
+@import url(test.css) screen and (orientation:landscape);
+@import url(~package/test.css);
+@import ;
+@import foo-bar;
+@import-normalize;
+@import url('http://') :root {}
+
+.class {
+ a: b c d;
+}
+
+.foo {
+ @import 'path.css';
+}
+
+.background {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+@import url(./test.css);
+
+@import './te\\\\
+st.css';
+@import './te\\\\
+\\\\
+\\\\
+st.css';
+@import url('./te\\\\
+st.css');
+@import url('./te\\\\
+\\\\
+\\\\
+st.css');
+@import './test test.css';
+@import url('./test test.css');
+@import './test\\\\ test.css';
+@import url('./test\\\\ test.css');
+@import './test%20test.css';
+@import url('./test%20test.css');
+@import './\\\\74\\\\65\\\\73\\\\74.css';
+@import url('./\\\\74\\\\65\\\\73\\\\74.css');
+@import './t\\\\65\\\\73\\\\74.css';
+@import url('./t\\\\65\\\\73\\\\74.css');
+@import url(./test\\\\ test.css);
+@import url(./t\\\\65st%20test.css);
+@import url('./t\\\\65st%20test.css');
+@import url("./t\\\\65st%20test.css");
+@import "./t\\\\65st%20test.css";
+@import './t\\\\65st%20test.css';
+@import url( test.css );
+@import nourl(test.css);
+@import '\\\\
+\\\\
+\\\\
+';
+@import url(test.css?foo=bar);
+@import url(test.css?foo=bar#hash);
+@import url(test.css?#hash);
+@import "test.css" supports(display: flex);
+@import "test.css" supports(display: flex) screen and (orientation:landscape);
+
+/* Should be one import and two css modules */
+
+/* Should be one import and two css modules */
+
+/* Should be one import and two css modules */
+
+/* Should be two import and two css modules */
+
+/* Should be two import and two css modules */
+
+/* Should be two import and two css modules */
+
+@import " ./test.css ";
+@import url(' ./test.css ');
+@import url( ./test.css );
+@import url('!!../../helpers/string-loader.js?esModule=false!');
+
+/* Prefer relative */
+
+@import url("./test.css") supports();
+@import url("./test.css") supports(unknown);
+@import url("./test.css") supports(display: flex);
+@import url("./test.css") supports(display: flex !important);
+@import url("./test.css") supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css") layer;
+@import url("./test.css") layer(default);
+@import url("./test.css") layer(default) supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css") layer supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css") layer() supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css") layer();
+@import url("./test.css")layer(default)supports(display: flex)screen and (min-width:400px);
+@import url("./test.css")screen and (min-width: 400px);
+@import url("./test.css") layer( default ) supports( display : flex ) screen and ( min-width : 400px );
+@import url("./test.css") LAYER(DEFAULT) SUPPORTS(DISPLAY: FLEX) SCREEN AND (MIN-WIDTH: 400PX);
+@import url("./test.css") /* Comment */ layer(/* Comment */default/* Comment */) /* Comment */ supports(/* Comment */display/* Comment */:/* Comment */ flex/* Comment */)/* Comment */ screen/* Comment */ and/* Comment */ (/* Comment */min-width/* Comment */: /* Comment */400px/* Comment */);
+@import url(test.css) /* Comment */;
+@import /* Comment */ url(test.css) /* Comment */;
+@import url(test.css) /* Comment */ print and (orientation:landscape);
+@import /* Comment */ url(test.css) /* Comment */ print and (orientation:landscape);
+@import url('./test.css') supports(display: grid);
+@import url("./test.css") layer(framework);
+
+@import url("./test.css") unknown(default) unknown(display: flex) unknown;
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"import" option should work with import.filter: result 1`] = `
+"@media screen and (orientation:landscape) {@media (min-width: 100px) {a {
+ b: b;
+}
+}}@media screen and (orientation:landscape) {.test {
c: c;
}
-",
- "screen and print",
- ],
- Array [
- 1,
- "@import url(http://example.com/style.css);",
- "",
- ],
- Array [
- 1,
- "@import url(http://example.com/style.css#hash);",
- "",
- ],
- Array [
- 1,
- "@import url(http://example.com/style.css?#hash);",
- "",
- ],
- Array [
- 1,
- "@import url(http://example.com/style.css?foo=bar#hash);",
- "",
- ],
- Array [
- 1,
- "@import url(http://example.com/other-style.css);",
- "screen and print",
- ],
- Array [
- 1,
- "@import url(//example.com/style.css);",
- "",
- ],
- Array [
- 6,
- ".test {
- d: d
+}@media (min-width: 100px) {.test {
+ d: d;
}
-",
- "",
- ],
- Array [
- 7,
- ".query {
+}@import url(http://example.com/style.css);@import url(http://example.com/style.css);@import url(http://example.com/style.css#hash);@import url(http://example.com/style.css?#hash);@import url(http://example.com/style.css?foo=bar#hash);@media screen and (orientation:landscape) {@import url(http://example.com/other-style.css);}@media screen and (orientation:landscape) {@import url(http://example.com/other-style.css);}@import url(//example.com/style.css);.query {
e: e;
}
-",
- "",
- ],
- Array [
- 8,
- ".other-query {
+.other-query {
f: f;
}
-",
- "",
- ],
- Array [
- 9,
- ".other-query {
+@media screen and (orientation:landscape) {.other-query {
f: f;
}
-",
- "screen and print",
- ],
- Array [
- 1,
- "@import url(https://fonts.googleapis.com/css?family=Roboto);",
- "",
- ],
- Array [
- 1,
- "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);",
- "",
- ],
- Array [
- 1,
- "@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);",
- "",
- ],
- Array [
- 10,
- ".relative {
+}@import url(https://fonts.googleapis.com/css?family=Roboto);@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);.relative {
color: red;
}
-",
- "",
- ],
- Array [
- 11,
- ".top-relative {
+.top-relative {
color: black;
}
-",
- "",
- ],
- Array [
- 12,
- ".tilde {
+.tilde {
color: yellow;
}
-",
- "",
- ],
- Array [
- 13,
- ".alias {
+.alias {
color: red;
}
-",
- "",
- ],
- Array [
- 14,
- ".background-imported {
- background: url(/webpack/public/path/img.png);
+.background-imported {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
}
-",
- "",
- ],
- Array [
- 1,
- "@import url();
+.strange {
+ color: red;
+}
+.strange {
+ color: red;
+}
+.strange {
+ color: red;
+}
+.strange {
+ color: red;
+}
+a { color: red };.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+.my-box {
+ color: red;
+}
+a {
+ color: red;
+}@import url(https://fonts.googleapis.com/css?family=Roboto);a { color: red };@import url(data:text/css;charset=utf-8,a%20%7B%0D%0A%20%20color%3A%20red%3B%0D%0A%7D);.first {
+ color: red;
+}
+.second {
+ color: red;
+}
+@supports (display: flex) {@media screen and (min-width: 400px) {@import url(http://example.com/style.css);}}@media screen and (min-width: 400px) {@import url('./test.css') screen and (max-width: 1200px);
+}@media (prefers-color-scheme: dark) {@media screen and (min-width: 400px) {@import url('./test.css') screen and (max-width: 1200px);
+}}@media (prefers-color-scheme: dark) {}@supports (display: flex) {@import url('./test.css') supports(display: grid);}@supports (((display: flex))) {@import url('./test.css') supports(display: grid);}@supports (display: flex) {@supports (display: block) {@import url('./test.css') supports(display: grid);}}@supports (display: flex) {}@supports (display: flex) {@media screen and (min-width: 400px) {@import url('./test.css') supports(display: grid) screen and (max-width: 1200px);}}@supports (display: flex) {@media screen and (min-width: 400px) {@supports (display: flex) {@media screen and (min-width: 400px) {@import url('./test.css') supports(display: grid) screen and (max-width: 1200px);}}}}@supports (display: flex) {@media screen and (min-width: 400px) {}}@layer framework {@import url('./test.css') layer(base);
+
+@layer base {
+ .foo {
+ color: red;
+ }
+}
+}@layer framework {@layer form {@import url('./test.css') layer(base);
+
+@layer base {
+ .foo {
+ color: red;
+ }
+}
+}}@layer framework {@layer form {
+ .bar {
+ color: red;
+ }
+}
+}@layer default {@layer base {.relative {
+ color: red;
+}
+}}@layer default {@import url('./test.css') layer(base);
+
+@layer base {
+ .foo {
+ color: red;
+ }
+}
+}@layer default {@import url('./test.css') layer;}@layer base {@import url("./test.css") layer;
+
+.foo {
+ color: red;
+}
+}@layer base {@layer {.relative {
+ color: red;
+}
+}}@layer base {@import url("./test.css") layer;
+
+.foo {
+ color: red;
+}
+}@supports (display: flex) {@layer default {@import url('./test.css') layer(base);}}@supports (display: flex) {@media screen and (min-width: 400px) {@layer default {@import url("./test.css") layer(base) supports(display: grid) screen and (min-width: 900px);}}}@layer bootstrap {@layer base {@layer {.relative {
+ color: red;
+}
+}}}@layer bootstrap {@layer base {/* unnamed wrapper layers around each sub-file */
+@import url("./test.css") layer;
+}}@layer bootstrap {/* the internal names are hidden from access, subsumed in "base" */}/* Adds additional styles to the bootstrap layer: */
+@layer bootstrap {
+ .test {
+ color: red;
+ }
+}@import url(test.css);
+@import url('test.css');
+@import url("test.css");
+@IMPORT url(test.css);
+@import URL(test.css);
+@import url(test.css );
+@import url( test.css);
+@import url( test.css );
+@import url(
+ test.css
+);
+@import url();
@import url('');
-@import url(\\"\\");
+@import url("");
+@import "test.css";
+@import 'test.css';
@import '';
-@import \\"\\";
-@import \\" \\";
-@import \\"
-\\";
+@import "";
+@import " ";
+@import "
+";
@import url();
@import url('');
-@import url(\\"\\");
+@import url("");
+@import url(test.css) screen and (orientation:landscape);
+@import url(test.css) SCREEN AND (ORIENTATION: LANDSCAPE);
+@import url(test.css)screen and (orientation:landscape);
+@import url(test.css) screen and (orientation:landscape);
+@import url(~package/test.css);
@import ;
@import foo-bar;
@import-normalize;
@@ -1674,102 +4284,202 @@ Array [
}
.background {
- background: url(/webpack/public/path/img.png);
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
}
-",
- "",
- ],
-]
-`;
-
-exports[`import option true: module 1`] = `
-"exports = module.exports = require(\\"../../../src/runtime/api.js\\")(false);
-// Imports
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test.css\\"), \\"screen and print\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test-media.css\\"), \\"screen and print\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./test-other.css\\"), \\"(min-width: 100px)\\");
-exports.push([module.id, \\"@import url(http://example.com/style.css);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/style.css#hash);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/style.css?#hash);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/style.css?foo=bar#hash);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(http://example.com/other-style.css);\\", \\"screen and print\\"]);
-exports.push([module.id, \\"@import url(//example.com/style.css);\\", \\"\\"]);
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!package/test.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./query.css?foo=1&bar=1\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./other-query.css?foo=1&bar=1#hash\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./other-query.css?foo=1&bar=1#hash\\"), \\"screen and print\\");
-exports.push([module.id, \\"@import url(https://fonts.googleapis.com/css?family=Roboto);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC);\\", \\"\\"]);
-exports.push([module.id, \\"@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC|Roboto);\\", \\"\\"]);
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./relative.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!../import/top-relative.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!package/tilde.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!aliasesImport/alias.css\\"), \\"\\");
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./url.css\\"), \\"\\");
-var urlEscape = require(\\"../../../src/runtime/url-escape.js\\");
-var ___CSS_LOADER_URL___0___ = urlEscape(require(\\"./img.png\\"));
-
-// Module
-exports.push([module.id, \\"@import url();\\\\n@import url('');\\\\n@import url(\\\\\\"\\\\\\");\\\\n@import '';\\\\n@import \\\\\\"\\\\\\";\\\\n@import \\\\\\" \\\\\\";\\\\n@import \\\\\\"\\\\n\\\\\\";\\\\n@import url();\\\\n@import url('');\\\\n@import url(\\\\\\"\\\\\\");\\\\n@import ;\\\\n@import foo-bar;\\\\n@import-normalize;\\\\n@import url('http://') :root {}\\\\n\\\\n.class {\\\\n a: b c d;\\\\n}\\\\n\\\\n.foo {\\\\n @import 'path.css';\\\\n}\\\\n\\\\n.background {\\\\n background: url(\\" + ___CSS_LOADER_URL___0___ + \\");\\\\n}\\\\n\\", \\"\\"]);
+@import url(./test.css);
+
+@import './te\\
+st.css';
+@import './te\\
+\\
+\\
+st.css';
+@import url('./te\\
+st.css');
+@import url('./te\\
+\\
+\\
+st.css');
+@import './test test.css';
+@import url('./test test.css');
+@import './test\\ test.css';
+@import url('./test\\ test.css');
+@import './test%20test.css';
+@import url('./test%20test.css');
+@import './\\74\\65\\73\\74.css';
+@import url('./\\74\\65\\73\\74.css');
+@import './t\\65\\73\\74.css';
+@import url('./t\\65\\73\\74.css');
+@import url(./test\\ test.css);
+@import url(./t\\65st%20test.css);
+@import url('./t\\65st%20test.css');
+@import url("./t\\65st%20test.css");
+@import "./t\\65st%20test.css";
+@import './t\\65st%20test.css';
+@import url( test.css );
+@import nourl(test.css);
+@import '\\
+\\
+\\
+';
+@import url(test.css?foo=bar);
+@import url(test.css?foo=bar#hash);
+@import url(test.css?#hash);
+@import "test.css" supports(display: flex);
+@import "test.css" supports(display: flex) screen and (orientation:landscape);
+
+/* Should be one import and two css modules */
+
+/* Should be one import and two css modules */
+
+/* Should be one import and two css modules */
+
+/* Should be two import and two css modules */
+
+/* Should be two import and two css modules */
+
+/* Should be two import and two css modules */
+
+@import " ./test.css ";
+@import url(' ./test.css ');
+@import url( ./test.css );
+@import url('!!../../helpers/string-loader.js?esModule=false!');
+
+/* Prefer relative */
+
+@import url("./test.css") supports();
+@import url("./test.css") supports(unknown);
+@import url("./test.css") supports(display: flex);
+@import url("./test.css") supports(display: flex !important);
+@import url("./test.css") supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css") layer;
+@import url("./test.css") layer(default);
+@import url("./test.css") layer(default) supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css") layer supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css") layer() supports(display: flex) screen and (min-width: 400px);
+@import url("./test.css") layer();
+@import url("./test.css")layer(default)supports(display: flex)screen and (min-width:400px);
+@import url("./test.css")screen and (min-width: 400px);
+@import url("./test.css") layer( default ) supports( display : flex ) screen and ( min-width : 400px );
+@import url("./test.css") LAYER(DEFAULT) SUPPORTS(DISPLAY: FLEX) SCREEN AND (MIN-WIDTH: 400PX);
+@import url("./test.css") /* Comment */ layer(/* Comment */default/* Comment */) /* Comment */ supports(/* Comment */display/* Comment */:/* Comment */ flex/* Comment */)/* Comment */ screen/* Comment */ and/* Comment */ (/* Comment */min-width/* Comment */: /* Comment */400px/* Comment */);
+@import url(test.css) /* Comment */;
+@import /* Comment */ url(test.css) /* Comment */;
+@import url(test.css) /* Comment */ print and (orientation:landscape);
+@import /* Comment */ url(test.css) /* Comment */ print and (orientation:landscape);
+@import url('./test.css') supports(display: grid);
+@import url("./test.css") layer(framework);
+
+@import url("./test.css") unknown(default) unknown(display: flex) unknown;
"
`;
-exports[`import option true: warnings 1`] = `
-Array [
+exports[`"import" option should work with import.filter: warnings 1`] = `
+[
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(105:1) from "postcss-import-parser" plugin: Unable to find uri in "@import nourl(test.css)"
+
+Code:
+ @import nourl(test.css)
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(106:1) from "postcss-import-parser" plugin: Unable to find uri in "@import '\\
+\\
+\\
+'"
+
+Code:
+ @import '\\
+\\
+\\
+'
+",
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+(12:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url()"
+
+Code:
+ @import url()
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(13:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url('')"
-(12:1) Unable to find uri in '@import url()'",
+Code:
+ @import url('')
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(14:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url("")"
-(13:1) Unable to find uri in '@import url('')'",
+Code:
+ @import url("")
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(154:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url('!!../../helpers/string-loader.js?esModule=false!')"
-(14:1) Unable to find uri in '@import url(\\"\\")'",
+Code:
+ @import url('!!../../helpers/string-loader.js?esModule=false!')
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(17:1) from "postcss-import-parser" plugin: Unable to find uri in "@import ''"
-(17:1) Unable to find uri in '@import '''",
+Code:
+ @import ''
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(18:1) from "postcss-import-parser" plugin: Unable to find uri in "@import """
-(18:1) Unable to find uri in '@import \\"\\"'",
+Code:
+ @import ""
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(19:1) from "postcss-import-parser" plugin: Unable to find uri in "@import " ""
-(19:1) Unable to find uri in '@import \\" \\"'",
+Code:
+ @import " "
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(20:1) from "postcss-import-parser" plugin: Unable to find uri in "@import "
+""
-(20:1) Unable to find uri in '@import \\"
-\\"'",
+Code:
+ @import "
+"
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(22:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url()"
-(22:1) Unable to find uri in '@import url()'",
+Code:
+ @import url()
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(23:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url('')"
-(23:1) Unable to find uri in '@import url('')'",
+Code:
+ @import url('')
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(24:1) from "postcss-import-parser" plugin: Unable to find uri in "@import url("")"
-(24:1) Unable to find uri in '@import url(\\"\\")'",
+Code:
+ @import url("")
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(40:1) from "postcss-import-parser" plugin: Unable to find uri in "@import "
-(40:1) Unable to find uri in '@import '",
+Code:
+ @import
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(41:1) from "postcss-import-parser" plugin: Unable to find uri in "@import foo-bar"
-(41:1) Unable to find uri in '@import foo-bar'",
+Code:
+ @import foo-bar
+",
"ModuleWarning: Module Warning (from \`replaced original path\`):
-Warning
+(43:1) from "postcss-import-parser" plugin: It looks like you didn't end your @import statement correctly. Child nodes are attached to it.
-(43:1) It looks like you didn't end your @import statement correctly. Child nodes are attached to it.",
+Code:
+ @import url('http://') :root {}
+",
]
`;
diff --git a/test/__snapshots__/importLoaders-option.test.js.snap b/test/__snapshots__/importLoaders-option.test.js.snap
deleted file mode 100644
index 2aa70abb..00000000
--- a/test/__snapshots__/importLoaders-option.test.js.snap
+++ /dev/null
@@ -1,191 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`importLoaders option 0 (\`postcss-loader\` before): errors 1`] = `Array []`;
-
-exports[`importLoaders option 0 (\`postcss-loader\` before): module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- ".bar {
- color: blue;
- color: rgb(0 0 100% / 90%);
-}
-",
- "",
- ],
- Array [
- 1,
- ".foo {
- color: red;
- color: rgba(0, 0, 255, 0.9);
-}
-",
- "",
- ],
-]
-`;
-
-exports[`importLoaders option 0 (\`postcss-loader\` before): module 1`] = `
-"exports = module.exports = require(\\"../../../src/runtime/api.js\\")(false);
-// Imports
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./imported.css\\"), \\"\\");
-
-// Module
-exports.push([module.id, \\".foo {\\\\n color: red;\\\\n color: rgba(0, 0, 255, 0.9);\\\\n}\\\\n\\", \\"\\"]);
-
-"
-`;
-
-exports[`importLoaders option 0 (\`postcss-loader\` before): warnings 1`] = `Array []`;
-
-exports[`importLoaders option 1 (\`postcss-loader\` before): errors 1`] = `Array []`;
-
-exports[`importLoaders option 1 (\`postcss-loader\` before): module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- ".bar {
- color: blue;
- color: rgba(0, 0, 255, 0.9);
-}
-",
- "",
- ],
- Array [
- 1,
- ".foo {
- color: red;
- color: rgba(0, 0, 255, 0.9);
-}
-",
- "",
- ],
-]
-`;
-
-exports[`importLoaders option 1 (\`postcss-loader\` before): module 1`] = `
-"exports = module.exports = require(\\"../../../src/runtime/api.js\\")(false);
-// Imports
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!../../../node_modules/postcss-loader/src/index.js??ref--4-1!./imported.css\\"), \\"\\");
-
-// Module
-exports.push([module.id, \\".foo {\\\\n color: red;\\\\n color: rgba(0, 0, 255, 0.9);\\\\n}\\\\n\\", \\"\\"]);
-
-"
-`;
-
-exports[`importLoaders option 1 (\`postcss-loader\` before): warnings 1`] = `Array []`;
-
-exports[`importLoaders option 1 (no loaders before): errors 1`] = `Array []`;
-
-exports[`importLoaders option 1 (no loaders before): module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- ".bar {
- color: blue;
- color: rgb(0 0 100% / 90%);
-}
-",
- "",
- ],
- Array [
- 1,
- ".foo {
- color: red;
- color: rgb(0 0 100% / 90%);
-}
-",
- "",
- ],
-]
-`;
-
-exports[`importLoaders option 1 (no loaders before): module 1`] = `
-"exports = module.exports = require(\\"../../../src/runtime/api.js\\")(false);
-// Imports
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./imported.css\\"), \\"\\");
-
-// Module
-exports.push([module.id, \\".foo {\\\\n color: red;\\\\n color: rgb(0 0 100% / 90%);\\\\n}\\\\n\\", \\"\\"]);
-
-"
-`;
-
-exports[`importLoaders option 1 (no loaders before): warnings 1`] = `Array []`;
-
-exports[`importLoaders option 2 (\`postcss-loader\` before): errors 1`] = `Array []`;
-
-exports[`importLoaders option 2 (\`postcss-loader\` before): module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- ".bar {
- color: blue;
- color: rgba(0, 0, 255, 0.9);
-}
-",
- "",
- ],
- Array [
- 1,
- ".foo {
- color: red;
- color: rgba(0, 0, 255, 0.9);
-}
-",
- "",
- ],
-]
-`;
-
-exports[`importLoaders option 2 (\`postcss-loader\` before): module 1`] = `
-"exports = module.exports = require(\\"../../../src/runtime/api.js\\")(false);
-// Imports
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!../../../node_modules/postcss-loader/src/index.js??ref--4-1!./imported.css\\"), \\"\\");
-
-// Module
-exports.push([module.id, \\".foo {\\\\n color: red;\\\\n color: rgba(0, 0, 255, 0.9);\\\\n}\\\\n\\", \\"\\"]);
-
-"
-`;
-
-exports[`importLoaders option 2 (\`postcss-loader\` before): warnings 1`] = `Array []`;
-
-exports[`importLoaders option not specify (no loader before): errors 1`] = `Array []`;
-
-exports[`importLoaders option not specify (no loader before): module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- ".bar {
- color: blue;
- color: rgb(0 0 100% / 90%);
-}
-",
- "",
- ],
- Array [
- 1,
- ".foo {
- color: red;
- color: rgba(0, 0, 255, 0.9);
-}
-",
- "",
- ],
-]
-`;
-
-exports[`importLoaders option not specify (no loader before): module 1`] = `
-"exports = module.exports = require(\\"../../../src/runtime/api.js\\")(false);
-// Imports
-exports.i(require(\\"-!../../../src/index.js??ref--4-0!./imported.css\\"), \\"\\");
-
-// Module
-exports.push([module.id, \\".foo {\\\\n color: red;\\\\n color: rgba(0, 0, 255, 0.9);\\\\n}\\\\n\\", \\"\\"]);
-
-"
-`;
-
-exports[`importLoaders option not specify (no loader before): warnings 1`] = `Array []`;
diff --git a/test/__snapshots__/loader.test.js.snap b/test/__snapshots__/loader.test.js.snap
index 158f1624..a40e2aa9 100644
--- a/test/__snapshots__/loader.test.js.snap
+++ b/test/__snapshots__/loader.test.js.snap
@@ -1,135 +1,298 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`loader should compile with \`css\` entry point (with \`modules\` and scope \`global\`): api 1`] = `
-"/*
- MIT License http://www.opensource.org/licenses/mit-license.php
- Author Tobias Koppers @sokra
-*/
-// css base code, injected by the css-loader
-module.exports = function(useSourceMap) {
- var list = [];
-
- // return the list of modules as css string
- list.toString = function toString() {
- return this.map(function(item) {
- var content = cssWithMappingToString(item, useSourceMap);
- if (item[2]) {
- return '@media ' + item[2] + '{' + content + '}';
- } else {
- return content;
- }
- }).join('');
- };
+exports[`loader issue #1033 (2): errors 1`] = `[]`;
- // import a list of modules into the list
- list.i = function(modules, mediaQuery) {
- if (typeof modules === 'string') {
- modules = [[null, modules, '']];
- }
- var alreadyImportedModules = {};
- for (var i = 0; i < this.length; i++) {
- var id = this[i][0];
- if (id != null) {
- alreadyImportedModules[id] = true;
- }
- }
- for (i = 0; i < modules.length; i++) {
- var item = modules[i];
- // skip already imported module
- // this implementation is not 100% perfect for weird media query combinations
- // when a module is imported multiple times with different media queries.
- // I hope this will never occur (Hey this way we have smaller bundles)
- if (item[0] == null || !alreadyImportedModules[item[0]]) {
- if (mediaQuery && !item[2]) {
- item[2] = mediaQuery;
- } else if (mediaQuery) {
- item[2] = '(' + item[2] + ') and (' + mediaQuery + ')';
- }
- list.push(item);
- }
- }
- };
- return list;
-};
-
-function cssWithMappingToString(item, useSourceMap) {
- var content = item[1] || '';
- var cssMapping = item[3];
- if (!cssMapping) {
- return content;
- }
+exports[`loader issue #1033 (2): module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`loader issue #1033 (2): result 1`] = `
+[
+ [
+ "./modules/issue-1033/issue-1033.css",
+ "",
+ "",
+ ],
+]
+`;
- if (useSourceMap && typeof btoa === 'function') {
- var sourceMapping = toComment(cssMapping);
- var sourceURLs = cssMapping.sources.map(function(source) {
- return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */';
- });
+exports[`loader issue #1033 (2): warnings 1`] = `[]`;
- return [content]
- .concat(sourceURLs)
- .concat([sourceMapping])
- .join('\\\\n');
- }
+exports[`loader issue #1033: errors 1`] = `[]`;
- return [content].join('\\\\n');
-}
+exports[`loader issue #1033: module 1`] = `
+"// Exports
+"
+`;
+
+exports[`loader issue #1033: result 1`] = `{}`;
+
+exports[`loader issue #1033: warnings 1`] = `[]`;
+
+exports[`loader should not generate console.warn when plugins disabled and hideNothingWarning is "true": errors 1`] = `[]`;
+
+exports[`loader should not generate console.warn when plugins disabled and hideNothingWarning is "true": module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`loader should not generate console.warn when plugins disabled and hideNothingWarning is "true": result 1`] = `
+[
+ [
+ "./empty.css",
+ "",
+ "",
+ ],
+]
+`;
+
+exports[`loader should not generate console.warn when plugins disabled and hideNothingWarning is "true": warnings 1`] = `[]`;
-// Adapted from convert-source-map (MIT)
-function toComment(sourceMap) {
- // eslint-disable-next-line no-undef
- var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
- var data =
- 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;
+exports[`loader should pass queries to other loader: errors 1`] = `[]`;
- return '/*# ' + data + ' */';
+exports[`loader should pass queries to other loader: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./url/image.svg?color=%23BAAFDB%3F", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___, { hash: "#foo" });
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.example {
+ background-image: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`loader should compile with \`css\` entry point (with \`modules\` and scope \`global\`): errors 1`] = `Array []`;
+exports[`loader should pass queries to other loader: result 1`] = `
+[
+ [
+ "./other-loader-query.css",
+ ".example {
+ background-image: url(replaced_file_protocol_/webpack/public/path/image.svg#foo);
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`loader should pass queries to other loader: warnings 1`] = `[]`;
-exports[`loader should compile with \`css\` entry point (with \`modules\` and scope \`global\`): escape 1`] = `
-"module.exports = function escape(url, needQuotes) {
- if (typeof url !== 'string') {
- return url;
- }
+exports[`loader should reuse \`ast\` from "postcss-loader": errors 1`] = `[]`;
- // If url is already wrapped in quotes, remove them
- if (/^['\\"].*['\\"]$/.test(url)) {
- url = url.slice(1, -1);
- }
+exports[`loader should reuse \`ast\` from "postcss-loader": module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./img1x.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_1___ = new URL("./img2x.png", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`:root {
+ --fontSize: 1rem;
+ --mainColor: rgba(18,52,86,0.47059);
+ --secondaryColor: rgba(102, 51, 153, 0.9);
+}
- // Should url be wrapped?
- // See https://drafts.csswg.org/css-values-3/#urls
- if (/[\\"'() \\\\t\\\\n]/.test(url) || needQuotes) {
- return '\\"' + url.replace(/\\"/g, '\\\\\\\\\\"').replace(/\\\\n/g, '\\\\\\\\n') + '\\"';
+html {
+ overflow-x: hidden;
+ overflow-y: auto;
+ overflow: hidden auto;
+}
+
+@media (max-width: 50rem) {
+ body {
+ color: rgba(18,52,86,0.47059);
+ color: var(--mainColor);
+ font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
+ font-size: 1rem;
+ font-size: var(--fontSize);
+ line-height: calc(1rem * 1.5);
+ line-height: calc(var(--fontSize) * 1.5);
+ word-wrap: break-word;
+ padding-left: calc(1rem / 2 + 1px);
+ padding-right: calc(1rem / 2 + 1px);
+ padding-left: calc(var(--fontSize) / 2 + 1px);
+ padding-right: calc(var(--fontSize) / 2 + 1px);
}
+}
+
+h1, h2, h3, h4, h5, h6 {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+.hero:matches(main, .main) {
+ background-image: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+ background-image: -webkit-image-set(url(\${___CSS_LOADER_URL_REPLACEMENT_0___}) 1x, url(\${___CSS_LOADER_URL_REPLACEMENT_1___}) 2x);
+ background-image: image-set(url(\${___CSS_LOADER_URL_REPLACEMENT_0___}) 1x, url(\${___CSS_LOADER_URL_REPLACEMENT_1___}) 2x);
+}
+
+@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
+
+.hero:matches(main, .main) {
+ background-image: url(\${___CSS_LOADER_URL_REPLACEMENT_1___});
+}
+}
- return url;
-};
+a {
+ color: rgba(0, 0, 255, 0.9);
+}
+
+a:hover {
+ color: #639;
+ }
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`loader should compile with \`css\` entry point (with \`modules\` and scope \`global\`): module (evaluated) 1`] = `
-Array [
- Array [
- null,
- "nothing",
+exports[`loader should reuse \`ast\` from "postcss-loader": result 1`] = `
+[
+ [
+ "./postcss-present-env/source.css",
+ ":root {
+ --fontSize: 1rem;
+ --mainColor: rgba(18,52,86,0.47059);
+ --secondaryColor: rgba(102, 51, 153, 0.9);
+}
+
+html {
+ overflow-x: hidden;
+ overflow-y: auto;
+ overflow: hidden auto;
+}
+
+@media (max-width: 50rem) {
+ body {
+ color: rgba(18,52,86,0.47059);
+ color: var(--mainColor);
+ font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
+ font-size: 1rem;
+ font-size: var(--fontSize);
+ line-height: calc(1rem * 1.5);
+ line-height: calc(var(--fontSize) * 1.5);
+ word-wrap: break-word;
+ padding-left: calc(1rem / 2 + 1px);
+ padding-right: calc(1rem / 2 + 1px);
+ padding-left: calc(var(--fontSize) / 2 + 1px);
+ padding-right: calc(var(--fontSize) / 2 + 1px);
+ }
+}
+
+h1, h2, h3, h4, h5, h6 {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+.hero:matches(main, .main) {
+ background-image: url(replaced_file_protocol_/webpack/public/path/img1x.png);
+ background-image: -webkit-image-set(url(replaced_file_protocol_/webpack/public/path/img1x.png) 1x, url(replaced_file_protocol_/webpack/public/path/img2x.png) 2x);
+ background-image: image-set(url(replaced_file_protocol_/webpack/public/path/img1x.png) 1x, url(replaced_file_protocol_/webpack/public/path/img2x.png) 2x);
+}
+
+@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
+
+.hero:matches(main, .main) {
+ background-image: url(replaced_file_protocol_/webpack/public/path/img2x.png);
+}
+}
+
+a {
+ color: rgba(0, 0, 255, 0.9);
+}
+
+a:hover {
+ color: #639;
+ }
+",
"",
],
- Array [
- 1,
- "@charset \\"UTF-8\\";
+]
+`;
+
+exports[`loader should reuse \`ast\` from "postcss-loader": warnings 1`] = `[]`;
+
+exports[`loader should throw an error on invisible spaces: errors 1`] = `
+[
+ "ModuleBuildError: Module build failed (from \`replaced original path\`):
+
+SyntaxError
+
+(1:8) /test/fixtures/invisible-space.css Unknown word
+
+> 1 | a {
color: red;
}
+ | ^
+",
+]
+`;
+
+exports[`loader should throw an error on invisible spaces: warnings 1`] = `[]`;
+
+exports[`loader should throw error on invalid css syntax: errors 1`] = `
+[
+ "ModuleBuildError: Module build failed (from \`replaced original path\`):
+
+SyntaxError
+
+(2:3) /test/fixtures/error.css Unknown word
+
+ 1 | .some {
+> 2 | invalid css;
+ | ^
+ 3 | }
+ 4 |
+",
+]
+`;
+
+exports[`loader should throw error on invalid css syntax: warnings 1`] = `[]`;
+
+exports[`loader should throws error when no loader(s) for assets: errors 1`] = `[]`;
+
+exports[`loader should throws error when no loader(s) for assets: warnings 1`] = `[]`;
+
+exports[`loader should work and nothing to do with built-in CSS support: errors 1`] = `[]`;
+
+exports[`loader should work and nothing to do with built-in CSS support: errors 2`] = `[]`;
+
+exports[`loader should work and nothing to do with built-in CSS support: module 1`] = `
+"@charset "UTF-8";
+
/* Comment */
.class {
color: red;
- background: url(nothing);
+ background: url("./url/img.png");
}
.class-duplicate-url {
- background: url(nothing);
+ background: url("./url/img.png");
}
:root {
@@ -141,9 +304,9 @@ Array [
.two {}
-.u-m\\\\+ { a: b c d; }
+.u-m\\+ { a: b c d; }
-.class { content: \\"\\\\F10C\\" }
+.class { content: "\\F10C" }
@media only screen and (max-width: 600px) {
body {
@@ -152,60 +315,74 @@ Array [
}
.class {
- content: \\"\\\\2193\\";
- content: \\"\\\\2193\\\\2193\\";
- content: \\"\\\\2193 \\\\2193\\";
- content: \\"\\\\2193\\\\2193\\\\2193\\";
- content: \\"\\\\2193 \\\\2193 \\\\2193\\";
+ content: "\\2193";
+ content: "\\2193\\2193";
+ content: "\\2193 \\2193";
+ content: "\\2193\\2193\\2193";
+ content: "\\2193 \\2193 \\2193";
}
.-top {}
-.\\\\-top {}
+.\\-top {}
-#\\\\#test {}
+#\\#test {}
.grid {
display: flex;
flex-wrap: wrap;
}
-.grid.\\\\-top {
+.grid.\\-top {
align-items: flex-start;
}
.grid.-top {
align-items: flex-start;
}
-.grid.\\\\-middle {
+.grid.\\-middle {
align-items: center;
}
-.grid.\\\\-bottom {
+.grid.\\-bottom {
align-items: flex-end;
}
-.u-m\\\\00002b {}
+.u-m\\00002b {}
.u-m00002b {}
-#u-m\\\\+ {}
+#u-m\\+ {}
body {
font-family: '微软雅黑'; /* some chinese font name */
}
.myStyle {
- content: '\\\\e901';
+ content: '\\e901';
}
.myStyle {
- content: '\\\\E901';
+ content: '\\E901';
}
.♫ {}
-.\\\\3A \\\\\`\\\\( {} /* matches elements with class=\\":\`(\\" */
-.\\\\31 a2b3c {} /* matches elements with class=\\"1a2b3c\\" */
-#\\\\#fake-id {} /* matches the element with id=\\"#fake-id\\" */
-#-a-b-c- {} /* matches the element with id=\\"-a-b-c-\\" */
-#© {} /* matches the element with id=\\"©\\" */
+.\\3A \\\`\\( {} /* matches elements with class=":\`(" */
+.\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\.\\\` {
+ color: aliceblue;
+}
+
+\\.\\$\\{foo\\} {
+ color: aliceblue;
+}
+
+/* \` */
+/* \`\` */
+/* \`\`\` */
+/* \${} */
+/* \\\\\` */
:root {
--title-align: center;
@@ -223,12 +400,12 @@ body {
}
.test {
- content: \\"\\\\2014\\\\A0\\";
- content: \\"\\\\2014 \\\\A0\\";
- content: \\"\\\\A0 \\\\2014\\";
- content: \\"\\\\A0\\\\2014\\";
- margin-top: 1px\\\\9;
- background-color: #000\\\\9;
+ content: "\\2014\\A0";
+ content: "\\2014 \\A0";
+ content: "\\A0 \\2014";
+ content: "\\A0\\2014";
+ margin-top: 1px\\9;
+ background-color: #000\\9;
}
.light.on .bulb:before{
@@ -247,164 +424,29 @@ a[href='' i] {
color: red;
}
-a[href=\\"\\"] {
+a[href=""] {
color: blue;
}
-a[href=\\"\\" i] {
+a[href="" i] {
color: blue;
}
-",
- "",
- ],
-]
-`;
-
-exports[`loader should compile with \`css\` entry point (with \`modules\` and scope \`global\`): module 1`] = `
-"exports = module.exports = require(\\"../../src/runtime/api.js\\")(false);
-// Imports
-exports.i(require(\\"-!../../src/index.js??ref--4-0!./imported.css\\"), \\"\\");
-var urlEscape = require(\\"../../src/runtime/url-escape.js\\");
-var ___CSS_LOADER_URL___0___ = urlEscape(require(\\"./url/img.png\\"));
-
-// Module
-exports.push([module.id, \\"@charset \\\\\\"UTF-8\\\\\\";\\\\n\\\\n/* Comment */\\\\n\\\\n.class {\\\\n color: red;\\\\n background: url(\\" + ___CSS_LOADER_URL___0___ + \\");\\\\n}\\\\n\\\\n.class-duplicate-url {\\\\n background: url(\\" + ___CSS_LOADER_URL___0___ + \\");\\\\n}\\\\n\\\\n:root {\\\\n --foo: 1px;\\\\n --bar: 2px;\\\\n}\\\\n\\\\n.class { a: b c d; }\\\\n\\\\n.two {}\\\\n\\\\n.u-m\\\\\\\\+ { a: b c d; }\\\\n\\\\n.class { content: \\\\\\"\\\\\\\\F10C\\\\\\" }\\\\n\\\\n@media only screen and (max-width: 600px) {\\\\n body {\\\\n background-color: lightblue;\\\\n }\\\\n}\\\\n\\\\n.class {\\\\n content: \\\\\\"\\\\\\\\2193\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2193\\\\\\\\2193\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2193 \\\\\\\\2193\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2193\\\\\\\\2193\\\\\\\\2193\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2193 \\\\\\\\2193 \\\\\\\\2193\\\\\\";\\\\n}\\\\n\\\\n.-top {}\\\\n.\\\\\\\\-top {}\\\\n\\\\n#\\\\\\\\#test {}\\\\n\\\\n.grid {\\\\n display: flex;\\\\n flex-wrap: wrap;\\\\n}\\\\n.grid.\\\\\\\\-top {\\\\n align-items: flex-start;\\\\n}\\\\n.grid.-top {\\\\n align-items: flex-start;\\\\n}\\\\n.grid.\\\\\\\\-middle {\\\\n align-items: center;\\\\n}\\\\n.grid.\\\\\\\\-bottom {\\\\n align-items: flex-end;\\\\n}\\\\n\\\\n.u-m\\\\\\\\00002b {}\\\\n\\\\n.u-m00002b {}\\\\n\\\\n#u-m\\\\\\\\+ {}\\\\n\\\\nbody {\\\\n font-family: '微软雅黑'; /* some chinese font name */\\\\n}\\\\n\\\\n.myStyle {\\\\n content: '\\\\\\\\e901';\\\\n}\\\\n\\\\n.myStyle {\\\\n content: '\\\\\\\\E901';\\\\n}\\\\n\\\\n.♫ {}\\\\n\\\\n.\\\\\\\\3A \\\\\\\\\`\\\\\\\\( {} /* matches elements with class=\\\\\\":\`(\\\\\\" */\\\\n.\\\\\\\\31 a2b3c {} /* matches elements with class=\\\\\\"1a2b3c\\\\\\" */\\\\n#\\\\\\\\#fake-id {} /* matches the element with id=\\\\\\"#fake-id\\\\\\" */\\\\n#-a-b-c- {} /* matches the element with id=\\\\\\"-a-b-c-\\\\\\" */\\\\n#© {} /* matches the element with id=\\\\\\"©\\\\\\" */\\\\n\\\\n:root {\\\\n --title-align: center;\\\\n --sr-only: {\\\\n position: absolute;\\\\n width: 1px;\\\\n height: 1px;\\\\n padding: 0;\\\\n overflow: hidden;\\\\n clip: rect(0,0,0,0);\\\\n white-space: nowrap;\\\\n clip-path: inset(50%);\\\\n border: 0;\\\\n };\\\\n}\\\\n\\\\n.test {\\\\n content: \\\\\\"\\\\\\\\2014\\\\\\\\A0\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2014 \\\\\\\\A0\\\\\\";\\\\n content: \\\\\\"\\\\\\\\A0 \\\\\\\\2014\\\\\\";\\\\n content: \\\\\\"\\\\\\\\A0\\\\\\\\2014\\\\\\";\\\\n margin-top: 1px\\\\\\\\9;\\\\n background-color: #000\\\\\\\\9;\\\\n}\\\\n\\\\n.light.on .bulb:before{\\\\n content: '💡';\\\\n}\\\\n\\\\n.base64 {\\\\n background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);\\\\n}\\\\n\\\\na[href=''] {\\\\n color: red;\\\\n}\\\\n\\\\na[href='' i] {\\\\n color: red;\\\\n}\\\\n\\\\na[href=\\\\\\"\\\\\\"] {\\\\n color: blue;\\\\n}\\\\n\\\\na[href=\\\\\\"\\\\\\" i] {\\\\n color: blue;\\\\n}\\\\n\\", \\"\\"]);
-
-"
-`;
-
-exports[`loader should compile with \`css\` entry point (with \`modules\` and scope \`global\`): warnings 1`] = `Array []`;
-
-exports[`loader should compile with \`css\` entry point (with \`modules\` and scope \`local\`): api 1`] = `
-"/*
- MIT License http://www.opensource.org/licenses/mit-license.php
- Author Tobias Koppers @sokra
-*/
-// css base code, injected by the css-loader
-module.exports = function(useSourceMap) {
- var list = [];
-
- // return the list of modules as css string
- list.toString = function toString() {
- return this.map(function(item) {
- var content = cssWithMappingToString(item, useSourceMap);
- if (item[2]) {
- return '@media ' + item[2] + '{' + content + '}';
- } else {
- return content;
- }
- }).join('');
- };
-
- // import a list of modules into the list
- list.i = function(modules, mediaQuery) {
- if (typeof modules === 'string') {
- modules = [[null, modules, '']];
- }
- var alreadyImportedModules = {};
- for (var i = 0; i < this.length; i++) {
- var id = this[i][0];
- if (id != null) {
- alreadyImportedModules[id] = true;
- }
- }
- for (i = 0; i < modules.length; i++) {
- var item = modules[i];
- // skip already imported module
- // this implementation is not 100% perfect for weird media query combinations
- // when a module is imported multiple times with different media queries.
- // I hope this will never occur (Hey this way we have smaller bundles)
- if (item[0] == null || !alreadyImportedModules[item[0]]) {
- if (mediaQuery && !item[2]) {
- item[2] = mediaQuery;
- } else if (mediaQuery) {
- item[2] = '(' + item[2] + ') and (' + mediaQuery + ')';
- }
- list.push(item);
- }
- }
- };
- return list;
-};
-
-function cssWithMappingToString(item, useSourceMap) {
- var content = item[1] || '';
- var cssMapping = item[3];
- if (!cssMapping) {
- return content;
- }
-
- if (useSourceMap && typeof btoa === 'function') {
- var sourceMapping = toComment(cssMapping);
- var sourceURLs = cssMapping.sources.map(function(source) {
- return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */';
- });
-
- return [content]
- .concat(sourceURLs)
- .concat([sourceMapping])
- .join('\\\\n');
- }
-
- return [content].join('\\\\n');
-}
-
-// Adapted from convert-source-map (MIT)
-function toComment(sourceMap) {
- // eslint-disable-next-line no-undef
- var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
- var data =
- 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;
-
- return '/*# ' + data + ' */';
-}
"
`;
-exports[`loader should compile with \`css\` entry point (with \`modules\` and scope \`local\`): errors 1`] = `Array []`;
+exports[`loader should work and nothing to do with built-in CSS support: module 2`] = `
+"@charset "UTF-8";
-exports[`loader should compile with \`css\` entry point (with \`modules\` and scope \`local\`): escape 1`] = `
-"module.exports = function escape(url, needQuotes) {
- if (typeof url !== 'string') {
- return url;
- }
-
- // If url is already wrapped in quotes, remove them
- if (/^['\\"].*['\\"]$/.test(url)) {
- url = url.slice(1, -1);
- }
-
- // Should url be wrapped?
- // See https://drafts.csswg.org/css-values-3/#urls
- if (/[\\"'() \\\\t\\\\n]/.test(url) || needQuotes) {
- return '\\"' + url.replace(/\\"/g, '\\\\\\\\\\"').replace(/\\\\n/g, '\\\\\\\\n') + '\\"';
- }
-
- return url;
-};
-"
-`;
-
-exports[`loader should compile with \`css\` entry point (with \`modules\` and scope \`local\`): module (evaluated) 1`] = `
-Array [
- Array [
- null,
- "nothing",
- "",
- ],
- Array [
- 1,
- "@charset \\"UTF-8\\";
/* Comment */
-._1PSZ4tK4URrenXyNSoawrx {
+.class {
color: red;
- background: url(nothing);
+ background: url("./url/img.png");
}
-._3YYoEr128Gk7ZgfRycu4tr {
- background: url(nothing);
+.class-duplicate-url {
+ background: url("./url/img.png");
}
:root {
@@ -412,13 +454,13 @@ Array [
--bar: 2px;
}
-._1PSZ4tK4URrenXyNSoawrx { a: b c d; }
+.class { a: b c d; }
-._1LWD9ZV4XMmN23IPiMONS3 {}
+.two {}
-._3i3CD1fyX8bvzRt1H0IV-f { a: b c d; }
+.u-m\\+ { a: b c d; }
-._1PSZ4tK4URrenXyNSoawrx { content: \\"\\\\F10C\\" }
+.class { content: "\\F10C" }
@media only screen and (max-width: 600px) {
body {
@@ -426,61 +468,75 @@ Array [
}
}
-._1PSZ4tK4URrenXyNSoawrx {
- content: \\"\\\\2193\\";
- content: \\"\\\\2193\\\\2193\\";
- content: \\"\\\\2193 \\\\2193\\";
- content: \\"\\\\2193\\\\2193\\\\2193\\";
- content: \\"\\\\2193 \\\\2193 \\\\2193\\";
+.class {
+ content: "\\2193";
+ content: "\\2193\\2193";
+ content: "\\2193 \\2193";
+ content: "\\2193\\2193\\2193";
+ content: "\\2193 \\2193 \\2193";
}
-._1fWEySWrY44TvDnJ8JNxnE {}
-._1fWEySWrY44TvDnJ8JNxnE {}
+.-top {}
+.\\-top {}
-#Zmuw5k7Gg4hpgd6CVBEkq {}
+#\\#test {}
-.nz2GDQ2B9PRi6GmzRwbUM {
+.grid {
display: flex;
flex-wrap: wrap;
}
-.nz2GDQ2B9PRi6GmzRwbUM._1fWEySWrY44TvDnJ8JNxnE {
+.grid.\\-top {
align-items: flex-start;
}
-.nz2GDQ2B9PRi6GmzRwbUM._1fWEySWrY44TvDnJ8JNxnE {
+.grid.-top {
align-items: flex-start;
}
-.nz2GDQ2B9PRi6GmzRwbUM._12Sbi_HmVVsUl9TM-zo3h- {
+.grid.\\-middle {
align-items: center;
}
-.nz2GDQ2B9PRi6GmzRwbUM.gpFhy6a0Dyg4XrktE4jA3 {
+.grid.\\-bottom {
align-items: flex-end;
}
-._3i3CD1fyX8bvzRt1H0IV-f {}
+.u-m\\00002b {}
-.YDvxHwoU5TyTmW1oTkKgw {}
+.u-m00002b {}
-#_3i3CD1fyX8bvzRt1H0IV-f {}
+#u-m\\+ {}
body {
font-family: '微软雅黑'; /* some chinese font name */
}
-._3txeRUnk43pQ_ialOcI-1F {
- content: '\\\\e901';
+.myStyle {
+ content: '\\e901';
}
-._3txeRUnk43pQ_ialOcI-1F {
- content: '\\\\E901';
+.myStyle {
+ content: '\\E901';
}
-._3Zu4uw_Urs6mU3AHN6h0NV {}
+.♫ {}
+
+.\\3A \\\`\\( {} /* matches elements with class=":\`(" */
+.\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\.\\\` {
+ color: aliceblue;
+}
-._4_pn9LmAb2XtAy0kg4FN_ {} /* matches elements with class=\\":\`(\\" */
-._2LEttkwzH7jRE93Ku8MGqY {} /* matches elements with class=\\"1a2b3c\\" */
-#_2E85FJStrx25rDG2lYWifC {} /* matches the element with id=\\"#fake-id\\" */
-#_2pyPm3oWgKQ-rjECcnFYrX {} /* matches the element with id=\\"-a-b-c-\\" */
-#_2pmolVDQD2g7wt3ejy2doK {} /* matches the element with id=\\"©\\" */
+\\.\\$\\{foo\\} {
+ color: aliceblue;
+}
+
+/* \` */
+/* \`\` */
+/* \`\`\` */
+/* \${} */
+/* \\\\\` */
:root {
--title-align: center;
@@ -497,213 +553,2616 @@ body {
};
}
-._2mQhIWfQwYBHR8C-27Rb-E {
- content: \\"\\\\2014\\\\A0\\";
- content: \\"\\\\2014 \\\\A0\\";
- content: \\"\\\\A0 \\\\2014\\";
- content: \\"\\\\A0\\\\2014\\";
- margin-top: 1px\\\\9;
- background-color: #000\\\\9;
+.test {
+ content: "\\2014\\A0";
+ content: "\\2014 \\A0";
+ content: "\\A0 \\2014";
+ content: "\\A0\\2014";
+ margin-top: 1px\\9;
+ background-color: #000\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+"
+`;
+
+exports[`loader should work and nothing to do with built-in CSS support: warnings 1`] = `
+[
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+You can't use \`experiments.css\` (\`experiments.futureDefaults\` enable built-in CSS support by default) and \`css-loader\` together, please set \`experiments.css\` to \`false\` or set \`{ type: "javascript/auto" }\` for rules with \`css-loader\` in your webpack config (now css-loader does nothing).",
+]
+`;
+
+exports[`loader should work and nothing to do with built-in CSS support: warnings 2`] = `
+[
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+You can't use \`experiments.css\` (\`experiments.futureDefaults\` enable built-in CSS support by default) and \`css-loader\` together, please set \`experiments.css\` to \`false\` or set \`{ type: "javascript/auto" }\` for rules with \`css-loader\` in your webpack config (now css-loader does nothing).",
+]
+`;
+
+exports[`loader should work in 'production' mode: errors 1`] = `[]`;
+
+exports[`loader should work in 'production' mode: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./url/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_1___ = new URL("data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class-duplicate-url {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\\\+ { a: b c d; }
+
+.class { content: "\\\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\\\2193";
+ content: "\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193";
+ content: "\\\\2193\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193 \\\\2193";
+}
+
+.-top {}
+.\\\\-top {}
+
+#\\\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\\\-middle {
+ align-items: center;
+}
+.grid.\\\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\\\e901';
+}
+
+.myStyle {
+ content: '\\\\E901';
+}
+
+.♫ {}
+
+.\\\\3A \\\\\\\`\\\\( {} /* matches elements with class=":\\\`(" */
+.\\\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\\\.\\\\\\\` {
+ color: aliceblue;
+}
+
+\\\\.\\\\\\$\\\\{foo\\\\} {
+ color: aliceblue;
+}
+
+/* \\\` */
+/* \\\`\\\` */
+/* \\\`\\\`\\\` */
+/* \\\${} */
+/* \\\\\\\\\\\` */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\\\2014\\\\A0";
+ content: "\\\\2014 \\\\A0";
+ content: "\\\\A0 \\\\2014";
+ content: "\\\\A0\\\\2014";
+ margin-top: 1px\\\\9;
+ background-color: #000\\\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_1___});
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`loader should work in 'production' mode: result 1`] = `
+[
+ [
+ 501,
+ "@charset "UTF-8";
+
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+.class-duplicate-url {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\+ { a: b c d; }
+
+.class { content: "\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\2193";
+ content: "\\2193\\2193";
+ content: "\\2193 \\2193";
+ content: "\\2193\\2193\\2193";
+ content: "\\2193 \\2193 \\2193";
+}
+
+.-top {}
+.\\-top {}
+
+#\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\-middle {
+ align-items: center;
+}
+.grid.\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\e901';
+}
+
+.myStyle {
+ content: '\\E901';
+}
+
+.♫ {}
+
+.\\3A \\\`\\( {} /* matches elements with class=":\`(" */
+.\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\.\\\` {
+ color: aliceblue;
+}
+
+\\.\\$\\{foo\\} {
+ color: aliceblue;
+}
+
+/* \` */
+/* \`\` */
+/* \`\`\` */
+/* \${} */
+/* \\\\\` */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\2014\\A0";
+ content: "\\2014 \\A0";
+ content: "\\A0 \\2014";
+ content: "\\A0\\2014";
+ margin-top: 1px\\9;
+ background-color: #000\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`loader should work in 'production' mode: warnings 1`] = `[]`;
+
+exports[`loader should work with "asset" module type: errors 1`] = `[]`;
+
+exports[`loader should work with "asset" module type: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./url/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_1___ = new URL("data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class-duplicate-url {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\\\+ { a: b c d; }
+
+.class { content: "\\\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\\\2193";
+ content: "\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193";
+ content: "\\\\2193\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193 \\\\2193";
+}
+
+.-top {}
+.\\\\-top {}
+
+#\\\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\\\-middle {
+ align-items: center;
+}
+.grid.\\\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\\\e901';
+}
+
+.myStyle {
+ content: '\\\\E901';
+}
+
+.♫ {}
+
+.\\\\3A \\\\\\\`\\\\( {} /* matches elements with class=":\\\`(" */
+.\\\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\\\.\\\\\\\` {
+ color: aliceblue;
+}
+
+\\\\.\\\\\\$\\\\{foo\\\\} {
+ color: aliceblue;
+}
+
+/* \\\` */
+/* \\\`\\\` */
+/* \\\`\\\`\\\` */
+/* \\\${} */
+/* \\\\\\\\\\\` */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\\\2014\\\\A0";
+ content: "\\\\2014 \\\\A0";
+ content: "\\\\A0 \\\\2014";
+ content: "\\\\A0\\\\2014";
+ margin-top: 1px\\\\9;
+ background-color: #000\\\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_1___});
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`loader should work with "asset" module type: result 1`] = `
+[
+ [
+ "./basic.css",
+ "@charset "UTF-8";
+
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+.class-duplicate-url {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\+ { a: b c d; }
+
+.class { content: "\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\2193";
+ content: "\\2193\\2193";
+ content: "\\2193 \\2193";
+ content: "\\2193\\2193\\2193";
+ content: "\\2193 \\2193 \\2193";
+}
+
+.-top {}
+.\\-top {}
+
+#\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\-middle {
+ align-items: center;
+}
+.grid.\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\e901';
+}
+
+.myStyle {
+ content: '\\E901';
+}
+
+.♫ {}
+
+.\\3A \\\`\\( {} /* matches elements with class=":\`(" */
+.\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\.\\\` {
+ color: aliceblue;
+}
+
+\\.\\$\\{foo\\} {
+ color: aliceblue;
+}
+
+/* \` */
+/* \`\` */
+/* \`\`\` */
+/* \${} */
+/* \\\\\` */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\2014\\A0";
+ content: "\\2014 \\A0";
+ content: "\\A0 \\2014";
+ content: "\\A0\\2014";
+ margin-top: 1px\\9;
+ background-color: #000\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`loader should work with "asset" module type: warnings 1`] = `[]`;
+
+exports[`loader should work with "sass-loader": errors 1`] = `[]`;
+
+exports[`loader should work with "sass-loader": module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`body {
+ font: 100% Helvetica, sans-serif;
+ color: #333;
+}\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`loader should work with "sass-loader": result 1`] = `
+[
+ [
+ "./scss/source.scss",
+ "body {
+ font: 100% Helvetica, sans-serif;
+ color: #333;
+}",
+ "",
+ ],
+]
+`;
+
+exports[`loader should work with "sass-loader": warnings 1`] = `[]`;
+
+exports[`loader should work with \`templateLiteral\` support: errors 1`] = `[]`;
+
+exports[`loader should work with \`templateLiteral\` support: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./url/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_1___ = new URL("data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class-duplicate-url {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\\\+ { a: b c d; }
+
+.class { content: "\\\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\\\2193";
+ content: "\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193";
+ content: "\\\\2193\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193 \\\\2193";
+}
+
+.-top {}
+.\\\\-top {}
+
+#\\\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\\\-middle {
+ align-items: center;
+}
+.grid.\\\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\\\e901';
+}
+
+.myStyle {
+ content: '\\\\E901';
+}
+
+.♫ {}
+
+.\\\\3A \\\\\\\`\\\\( {} /* matches elements with class=":\\\`(" */
+.\\\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\\\.\\\\\\\` {
+ color: aliceblue;
+}
+
+\\\\.\\\\\\$\\\\{foo\\\\} {
+ color: aliceblue;
+}
+
+/* \\\` */
+/* \\\`\\\` */
+/* \\\`\\\`\\\` */
+/* \\\${} */
+/* \\\\\\\\\\\` */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\\\2014\\\\A0";
+ content: "\\\\2014 \\\\A0";
+ content: "\\\\A0 \\\\2014";
+ content: "\\\\A0\\\\2014";
+ margin-top: 1px\\\\9;
+ background-color: #000\\\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_1___});
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`loader should work with \`templateLiteral\` support: result 1`] = `
+[
+ [
+ "./basic.css",
+ "@charset "UTF-8";
+
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+.class-duplicate-url {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\+ { a: b c d; }
+
+.class { content: "\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\2193";
+ content: "\\2193\\2193";
+ content: "\\2193 \\2193";
+ content: "\\2193\\2193\\2193";
+ content: "\\2193 \\2193 \\2193";
+}
+
+.-top {}
+.\\-top {}
+
+#\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\-middle {
+ align-items: center;
+}
+.grid.\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\e901';
+}
+
+.myStyle {
+ content: '\\E901';
+}
+
+.♫ {}
+
+.\\3A \\\`\\( {} /* matches elements with class=":\`(" */
+.\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\.\\\` {
+ color: aliceblue;
+}
+
+\\.\\$\\{foo\\} {
+ color: aliceblue;
+}
+
+/* \` */
+/* \`\` */
+/* \`\`\` */
+/* \${} */
+/* \\\\\` */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\2014\\A0";
+ content: "\\2014 \\A0";
+ content: "\\A0 \\2014";
+ content: "\\A0\\2014";
+ margin-top: 1px\\9;
+ background-color: #000\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`loader should work with \`templateLiteral\` support: warnings 1`] = `[]`;
+
+exports[`loader should work with ModuleConcatenationPlugin (file-loader): errors 1`] = `[]`;
+
+exports[`loader should work with ModuleConcatenationPlugin (file-loader): warnings 1`] = `[]`;
+
+exports[`loader should work with ModuleConcatenationPlugin (url-loader): errors 1`] = `[]`;
+
+exports[`loader should work with ModuleConcatenationPlugin (url-loader): warnings 1`] = `[]`;
+
+exports[`loader should work with ModuleConcatenationPlugin: errors 1`] = `[]`;
+
+exports[`loader should work with ModuleConcatenationPlugin: warnings 1`] = `[]`;
+
+exports[`loader should work with built-in CSS support: errors 1`] = `[]`;
+
+exports[`loader should work with built-in CSS support: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./url/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_1___ = new URL("data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class-duplicate-url {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\\\+ { a: b c d; }
+
+.class { content: "\\\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\\\2193";
+ content: "\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193";
+ content: "\\\\2193\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193 \\\\2193";
+}
+
+.-top {}
+.\\\\-top {}
+
+#\\\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\\\-middle {
+ align-items: center;
+}
+.grid.\\\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\\\e901';
+}
+
+.myStyle {
+ content: '\\\\E901';
+}
+
+.♫ {}
+
+.\\\\3A \\\\\\\`\\\\( {} /* matches elements with class=":\\\`(" */
+.\\\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\\\.\\\\\\\` {
+ color: aliceblue;
+}
+
+\\\\.\\\\\\$\\\\{foo\\\\} {
+ color: aliceblue;
+}
+
+/* \\\` */
+/* \\\`\\\` */
+/* \\\`\\\`\\\` */
+/* \\\${} */
+/* \\\\\\\\\\\` */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\\\2014\\\\A0";
+ content: "\\\\2014 \\\\A0";
+ content: "\\\\A0 \\\\2014";
+ content: "\\\\A0\\\\2014";
+ margin-top: 1px\\\\9;
+ background-color: #000\\\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_1___});
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`loader should work with built-in CSS support: result 1`] = `
+[
+ [
+ "./basic.css",
+ "@charset "UTF-8";
+
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+.class-duplicate-url {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\+ { a: b c d; }
+
+.class { content: "\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\2193";
+ content: "\\2193\\2193";
+ content: "\\2193 \\2193";
+ content: "\\2193\\2193\\2193";
+ content: "\\2193 \\2193 \\2193";
+}
+
+.-top {}
+.\\-top {}
+
+#\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\-middle {
+ align-items: center;
+}
+.grid.\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\e901';
+}
+
+.myStyle {
+ content: '\\E901';
+}
+
+.♫ {}
+
+.\\3A \\\`\\( {} /* matches elements with class=":\`(" */
+.\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\.\\\` {
+ color: aliceblue;
+}
+
+\\.\\$\\{foo\\} {
+ color: aliceblue;
+}
+
+/* \` */
+/* \`\` */
+/* \`\`\` */
+/* \${} */
+/* \\\\\` */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\2014\\A0";
+ content: "\\2014 \\A0";
+ content: "\\A0 \\2014";
+ content: "\\A0\\2014";
+ margin-top: 1px\\9;
+ background-color: #000\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`loader should work with built-in CSS support: warnings 1`] = `[]`;
+
+exports[`loader should work with empty css: errors 1`] = `[]`;
+
+exports[`loader should work with empty css: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`loader should work with empty css: result 1`] = `
+[
+ [
+ "./empty.css",
+ "",
+ "",
+ ],
+]
+`;
+
+exports[`loader should work with empty css: warnings 1`] = `[]`;
+
+exports[`loader should work with empty options: errors 1`] = `[]`;
+
+exports[`loader should work with empty options: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./url/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_1___ = new URL("data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
+
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class-duplicate-url {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\\\+ { a: b c d; }
+
+.class { content: "\\\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\\\2193";
+ content: "\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193";
+ content: "\\\\2193\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193 \\\\2193";
+}
+
+.-top {}
+.\\\\-top {}
+
+#\\\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\\\-middle {
+ align-items: center;
+}
+.grid.\\\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\\\e901';
+}
+
+.myStyle {
+ content: '\\\\E901';
+}
+
+.♫ {}
+
+.\\\\3A \\\\\\\`\\\\( {} /* matches elements with class=":\\\`(" */
+.\\\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\\\.\\\\\\\` {
+ color: aliceblue;
+}
+
+\\\\.\\\\\\$\\\\{foo\\\\} {
+ color: aliceblue;
+}
+
+/* \\\` */
+/* \\\`\\\` */
+/* \\\`\\\`\\\` */
+/* \\\${} */
+/* \\\\\\\\\\\` */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\\\2014\\\\A0";
+ content: "\\\\2014 \\\\A0";
+ content: "\\\\A0 \\\\2014";
+ content: "\\\\A0\\\\2014";
+ margin-top: 1px\\\\9;
+ background-color: #000\\\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_1___});
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`loader should work with empty options: result 1`] = `
+[
+ [
+ "./basic.css",
+ "@charset "UTF-8";
+
+
+/* Comment */
+
+.class {
+ color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+.class-duplicate-url {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+:root {
+ --foo: 1px;
+ --bar: 2px;
+}
+
+.class { a: b c d; }
+
+.two {}
+
+.u-m\\+ { a: b c d; }
+
+.class { content: "\\F10C" }
+
+@media only screen and (max-width: 600px) {
+ body {
+ background-color: lightblue;
+ }
+}
+
+.class {
+ content: "\\2193";
+ content: "\\2193\\2193";
+ content: "\\2193 \\2193";
+ content: "\\2193\\2193\\2193";
+ content: "\\2193 \\2193 \\2193";
+}
+
+.-top {}
+.\\-top {}
+
+#\\#test {}
+
+.grid {
+ display: flex;
+ flex-wrap: wrap;
+}
+.grid.\\-top {
+ align-items: flex-start;
+}
+.grid.-top {
+ align-items: flex-start;
+}
+.grid.\\-middle {
+ align-items: center;
+}
+.grid.\\-bottom {
+ align-items: flex-end;
+}
+
+.u-m\\00002b {}
+
+.u-m00002b {}
+
+#u-m\\+ {}
+
+body {
+ font-family: '微软雅黑'; /* some chinese font name */
+}
+
+.myStyle {
+ content: '\\e901';
+}
+
+.myStyle {
+ content: '\\E901';
+}
+
+.♫ {}
+
+.\\3A \\\`\\( {} /* matches elements with class=":\`(" */
+.\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\.\\\` {
+ color: aliceblue;
+}
+
+\\.\\$\\{foo\\} {
+ color: aliceblue;
+}
+
+/* \` */
+/* \`\` */
+/* \`\`\` */
+/* \${} */
+/* \\\\\` */
+
+:root {
+ --title-align: center;
+ --sr-only: {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0,0,0,0);
+ white-space: nowrap;
+ clip-path: inset(50%);
+ border: 0;
+ };
+}
+
+.test {
+ content: "\\2014\\A0";
+ content: "\\2014 \\A0";
+ content: "\\A0 \\2014";
+ content: "\\A0\\2014";
+ margin-top: 1px\\9;
+ background-color: #000\\9;
+}
+
+.light.on .bulb:before{
+ content: '💡';
+}
+
+.base64 {
+ background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+}
+
+a[href=''] {
+ color: red;
+}
+
+a[href='' i] {
+ color: red;
+}
+
+a[href=""] {
+ color: blue;
+}
+
+a[href="" i] {
+ color: blue;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`loader should work with empty options: warnings 1`] = `[]`;
+
+exports[`loader should work with inline module syntax: errors 1`] = `[]`;
+
+exports[`loader should work with inline module syntax: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "other.modules.css!=!-!../../src/index.js??ruleSet[1].rules[0].rules[0]!../../node_modules/sass-loader/dist/cjs.js!./index-loader-syntax.modules.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_1___ from "plain.scss!=!-!../../src/index.js??ruleSet[1].rules[0].rules[0]!../../node_modules/sass-loader/dist/cjs.js!./index-loader-syntax-sass.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_2___ from "other.modules.scss!=!-!../../src/index.js??ruleSet[1].rules[0].rules[0]!../../node_modules/sass-loader/dist/cjs.js!./index-loader-syntax-sass.modules.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_3___ from "other.modules.css!=!-!../../src/index.js??ruleSet[1].rules[0].rules[0]!../../node_modules/sass-loader/dist/cjs.js!./my-inline-loader!./index-loader-syntax.modules.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_4___ from "plain.scss!=!-!../../src/index.js??ruleSet[1].rules[0].rules[0]!../../node_modules/sass-loader/dist/cjs.js!./my-inline-loader!./index-loader-syntax.modules.css";
+import ___CSS_LOADER_AT_RULE_IMPORT_5___ from "other.modules.scss!=!-!../../src/index.js??ruleSet[1].rules[0].rules[0]!../../node_modules/sass-loader/dist/cjs.js!./my-inline-loader!./index-loader-syntax-sass.modules.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_1___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_2___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_3___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_4___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_5___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.a {
+ color: red;
+}\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`loader should work with inline module syntax: result 1`] = `
+[
+ [
+ "other.modules.css!=!../../src/index.js??ruleSet[1].rules[0].rules[0]!../../node_modules/sass-loader/dist/cjs.js!./index-loader-syntax.modules.css",
+ ".ZVx7VAdLOO3PJ1TqkYUn {
+ color: red;
+}
+
+.x0BV6RnIqi6PTJ6If2oA {
+ color: white;
+}",
+ "",
+ ],
+ [
+ "button.modules.css!=!./index-loader-syntax-sass.css",
+ ".n6iVkcAs9Wu9ovztqf8g {
+ width: 5px;
+}",
+ "",
+ ],
+ [
+ "other.modules.scss!=!../../src/index.js??ruleSet[1].rules[0].rules[0]!../../node_modules/sass-loader/dist/cjs.js!./index-loader-syntax-sass.modules.css",
+ ".NF9v028MAhreSp2TJZnn > .ss2pNzM7P7DcLJerCZFm {
+ color: red;
+}",
+ "",
+ ],
+ [
+ "other.modules.css!=!../../src/index.js??ruleSet[1].rules[0].rules[0]!../../node_modules/sass-loader/dist/cjs.js!./my-inline-loader/index.js!./index-loader-syntax.modules.css",
+ ".ZVx7VAdLOO3PJ1TqkYUn {
+ color: red;
+}
+
+.x0BV6RnIqi6PTJ6If2oA {
+ color: white;
+}
+
+.bNEIH_2ycglHGlceq20s {
+ from: custom;
+}",
+ "",
+ ],
+ [
+ "other.modules.css!=!../../src/index.js??ruleSet[1].rules[0].rules[0]!../../node_modules/sass-loader/dist/cjs.js!./my-inline-loader/index.js!./index-loader-syntax.modules.css",
+ ".ZVx7VAdLOO3PJ1TqkYUn {
+ color: red;
+}
+
+.x0BV6RnIqi6PTJ6If2oA {
+ color: white;
+}
+
+.bNEIH_2ycglHGlceq20s {
+ from: custom;
+}",
+ "",
+ ],
+ [
+ "other.modules.scss!=!../../src/index.js??ruleSet[1].rules[0].rules[0]!../../node_modules/sass-loader/dist/cjs.js!./my-inline-loader/index.js!./index-loader-syntax-sass.modules.css",
+ ".NF9v028MAhreSp2TJZnn > .ss2pNzM7P7DcLJerCZFm {
+ color: red;
+}
+
+.NMxzPXmuJS2nd8LarB5I {
+ from: custom;
+}",
+ "",
+ ],
+ [
+ "./index-loader-syntax.css",
+ ".a {
+ color: red;
+}",
+ "",
+ ],
+ [
+ "button.modules.css!=!./index-loader-syntax-sass.css",
+ ".n6iVkcAs9Wu9ovztqf8g {
+ width: 5px;
+}",
+ "",
+ ],
+ [
+ "button.module.scss!=!./base64-loader/index.js?LmZvbyB7IGNvbG9yOiByZWQ7IH0=!./simple.js?foo=bar",
+ ".QwIaKzIX2nnuKwGnu953 {
+ color: red;
+}",
+ "",
+ ],
+ [
+ "other.module.scss!=!./base64-loader/index.js?LmZvbyB7IGNvbG9yOiByZWQ7IH0=!./simple.js?foo=baz",
+ ".L_0U1ZWuSHuIqdUV6KjO {
+ color: red;
+}",
+ "",
+ ],
+]
+`;
+
+exports[`loader should work with inline module syntax: warnings 1`] = `[]`;
+
+exports[`loader should work with none AST metadata: errors 1`] = `[]`;
+
+exports[`loader should work with none AST metadata: result 1`] = `
+[
+ [
+ "./simple.css",
+ ".some-class {
+ color: red;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`loader should work with none AST metadata: warnings 1`] = `[]`;
+
+exports[`loader should work with the "modules.auto" option and the "import.loaders" option: errors 1`] = `[]`;
+
+exports[`loader should work with the "modules.auto" option and the "import.loaders" option: result 1`] = `
+"/* Pure CSS */
+.imported-by-pure {
+ overflow-x: hidden;
+ overflow-y: auto;
+ overflow: hidden auto;
+}
+.pure {
+ color: red;
+}
+
+/* PostCSS */
+.imported-by-postcss {
+ overflow-x: hidden;
+ overflow-y: auto;
+ overflow: hidden auto;
+}
+.postcss {
+ color: rgba(0, 0, 255, 0.9);
+}
+
+.postcss:hover {
+ color: #639;
+ }
+
+/* SCSS */
+.imported-by-scss {
+ overflow-x: hidden;
+ overflow-y: auto;
+ overflow: hidden auto;
+}
+.scss {
+ font: 100% Helvetica, sans-serif;
+ color: #333;
+}
+/* CSS modules */
+.kSlR28XrNKt9I9mzvNxN {
+ overflow-x: hidden;
+ overflow-y: auto;
+ overflow: hidden auto;
+ color: red;
+}
+
+.global {
+ color: blue;
+}
+
+/* CSS modules + SCSS */
+.imported-by-module-scss {
+ overflow-x: hidden;
+ overflow-y: auto;
+ overflow: hidden auto;
+}
+.lE126I07pG7EhKO3j2bD {
+ color: #333;
+ overflow-x: hidden;
+ overflow-y: auto;
+ overflow: hidden auto;
+}
+
+.global {
+ color: #333;
+}
+"
+`;
+
+exports[`loader should work with the "modules.auto" option and the "import.loaders" option: warnings 1`] = `[]`;
+
+exports[`loader should work with webpackIgnore comment: errors 1`] = `[]`;
+
+exports[`loader should work with webpackIgnore comment: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../src/index.js??ruleSet[1].rules[0].use[0]!./simple.css";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./url/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_1___ = new URL("./fonts/Roboto-Regular.woff2", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_2___ = new URL("./fonts/Roboto-Regular.woff", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_3___ = new URL("./fonts/Roboto-Regular.ttf", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_4___ = new URL("./fonts/Roboto-Regular.svg", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_5___ = new URL("./fonts/Roboto-Regular.eot", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(./basic.css);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(./imported.css);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(./simple.css);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(./simple.css);"]);
+___CSS_LOADER_EXPORT___.push([module.id, "@import url(./simple.css);"]);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
+var ___CSS_LOADER_URL_REPLACEMENT_2___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___);
+var ___CSS_LOADER_URL_REPLACEMENT_3___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_3___);
+var ___CSS_LOADER_URL_REPLACEMENT_4___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_4___, { hash: "#Roboto-Regular" });
+var ___CSS_LOADER_URL_REPLACEMENT_5___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_5___);
+var ___CSS_LOADER_URL_REPLACEMENT_6___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_5___, { hash: "#iefix" });
+var ___CSS_LOADER_URL_REPLACEMENT_7___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___, { needQuotes: true });
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`/* webpackIgnore: true */
+
+/** Resolved **/
+/** Resolved **/
+
+.class {
+ color: red;
+ background: /** webpackIgnore: true */ url("./url/img.png"), url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class {
+ color: red;
+ background:/** webpackIgnore: true */url("./url/img.png"), url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___}), /** webpackIgnore: true */ url("./url/img.png");
+}
+
+.class {
+ color: red;
+ /** webpackIgnore: true */
+ background: url("./url/img.png"), url("./url/img.png");
+}
+
+.class {
+ color: red;
+ /** webpackIgnore: true */
+ background: url("./url/img.png"), /** webpackIgnore: false */ url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class {
+ color: red;
+ /** webpackIgnore: true */
+ background: url("./url/img.png"), /** webpackIgnore: false */ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}), /** webpackIgnore: true */ url("./url/img.png"), /** webpackIgnore: false */ url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class {
+ color: red;
+ /** webpackIgnore: true */
+ background: /** webpackIgnore: false */ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}), /** webpackIgnore: true */ url("./url/img.png");
+}
+
+.class {
+ color: red;
+ background: /** webpackIgnore: true */ /** webpackIgnore: false */ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}), url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___}), /** webpackIgnore: true */ /** webpackIgnore: false */ url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___}), /** webpackIgnore: false */ /** webpackIgnore: true */ url("./url/img.png");
+}
+
+.class {
+ background:
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}),
+ /** webpackIgnore: true **/ url("./url/img.png"),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}),
+ /** webpackIgnore: true **/ url("./url/img.png"),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}),
+ /** webpackIgnore: true **/
+ url("./url/img.png");
+}
+
+@font-face {
+ font-family: "Roboto";
+ src: /** webpackIgnore: true **/ url("./fonts/Roboto-Regular.eot");
+ src:
+ /** webpackIgnore: true **/
+ url("./fonts/Roboto-Regular.eot#iefix") format("embedded-opentype"),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_1___}) format("woff"),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_2___}) format("woff"),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_3___}) format("truetype"),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_4___}) format("svg");
+ font-weight: 400;
+ font-style: normal;
+}
+
+@font-face {
+ font-family: "Roboto";
+ src: /** webpackIgnore: true **/ url("./fonts/Roboto-Regular.eot");
+ /** webpackIgnore: true **/
+ src:
+ url("./fonts/Roboto-Regular.eot#iefix") format("embedded-opentype"),
+ url("./fonts/Roboto-Regular.woff2") format("woff"),
+ url("./fonts/Roboto-Regular.woff") format("woff"),
+ url("./fonts/Roboto-Regular.ttf") format("truetype"),
+ url("./fonts/Roboto-Regular.svg#Roboto-Regular") format("svg");
+ font-weight: 400;
+ font-style: normal;
+}
+
+@font-face {
+ font-family: "Roboto";
+ src: url(\${___CSS_LOADER_URL_REPLACEMENT_5___});
+ src:
+ url(\${___CSS_LOADER_URL_REPLACEMENT_6___}) format("embedded-opentype"),
+ /** webpackIgnore: true **/
+ url("./fonts/Roboto-Regular.woff2") format("woff"),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_2___}) format("woff"),
+ /** webpackIgnore: true **/
+ url("./fonts/Roboto-Regular.ttf") format("truetype"),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_4___}) format("svg");
+ font-weight: 400;
+ font-style: normal;
+}
+
+.class {
+ /*webpackIgnore: true*/
+ background-image: image-set(
+ url(./url/img.png) 2x,
+ url(./url/img.png) 3x,
+ url(./url/img.png) 4x
+ );
+}
+
+.class {
+ /*webpackIgnore: true*/
+ background-image:
+ image-set(
+ /*webpackIgnore: false*/
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}) 2x,
+ /*webpackIgnore: true*/
+ url(./url/img.png) 3x,
+ url(./url/img.png) 4x,
+ /*webpackIgnore: false */
+ /*webpackIgnore: true */
+ url(./url/img.png) 5x
+ ),
+ url('./url/img.png');
+}
+
+.class {
+ background-image:
+ image-set(
+ /*webpackIgnore: false*/
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}) 2x,
+ /*webpackIgnore: true*/
+ url(./url/img.png) 3x,
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}) 4x,
+ /*webpackIgnore: false */
+ /*webpackIgnore: true */
+ url(./url/img.png) 5x
+ ),
+ /*webpackIgnore: false*/
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}),
+ /*webpackIgnore: true*/
+ url('./url/img.png');;
+}
+
+.class {
+ background-image:
+ image-set(
+ /*webpackIgnore: false*/
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}) 2x,
+ /*webpackIgnore: true*/
+ url(./url/img.png) 3x,
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}) 4x,
+ /*webpackIgnore: false */
+ /*webpackIgnore: true */
+ url(./url/img.png) 5x
+ ),
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class {
+ background-image: image-set(
+ /*webpackIgnore: true*/
+ url(./url/img.png) 2x,
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}) 3x,
+ /*webpackIgnore: true*/
+ url(./url/img.png) 5x
+ );
+}
+
+.class {
+ background-image: image-set(
+ /*webpackIgnore: true*/
+ './url/img.png' 2x,
+ \${___CSS_LOADER_URL_REPLACEMENT_7___} 3x,
+ /*webpackIgnore: true*/
+ './url/img.png' 5x
+ );
+}
+
+.class {
+ /*webpackIgnore: true*/
+ background-image: image-set(
+ /*webpackIgnore: false*/
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}) 2x,
+ /*webpackIgnore: true*/
+ url(./url/img.png) 3x,
+ /*webpackIgnore: false*/
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}) 4x,
+ url(./url/img.png) 5x
+ );
+}
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___}), /** webpackIgnore: true */url("./url/img.png");
+}
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___}), /** webpackIgnore: true */ url("./url/img.png");
+}
+
+.class {
+ color: red;
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___})/** webpackIgnore: true */, url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
+}
+
+.class {
+ background-image:
+ image-set(
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}) 2x /*webpackIgnore: true*/,
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}) /*webpackIgnore: true*/ 3x,
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}) 4x /*webpackIgnore: true*/,
+ /*webpackIgnore: true*/url(./url/img.png) 5x,
+ /*webpackIgnore: true*/ url(./url/img.png) 6x,
+ /*webpackIgnore: true*/
+ url(./url/img.png) 7x,
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}) 8x
+ ),
+ /*webpackIgnore: false*/
+ url(\${___CSS_LOADER_URL_REPLACEMENT_0___}),
+ /*webpackIgnore: true*/
+ url('./url/img.png');
+}
+
+@font-face {
+ font-family: "anticon";
+ src: url("//at.alicdn.com/t/font_1434092639_4910953.eot?#iefix") format("embedded-opentype"),
+ /* this comment is required */
+ url("//at.alicdn.com/t/font_1434092639_4910953.woff") format("woff");
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`loader should work with webpackIgnore comment: result 1`] = `
+[
+ [
+ "./webpackIgnore.css",
+ "@import url(./basic.css);",
+ ],
+ [
+ "./webpackIgnore.css",
+ "@import url(./imported.css);",
+ ],
+ [
+ "./webpackIgnore.css",
+ "@import url(./simple.css);",
+ ],
+ [
+ "./webpackIgnore.css",
+ "@import url(./simple.css);",
+ ],
+ [
+ "./webpackIgnore.css",
+ "@import url(./simple.css);",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./simple.css",
+ ".some-class {
+ color: red;
+}
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./simple.css",
+ ".some-class {
+ color: red;
+}
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./simple.css",
+ ".some-class {
+ color: red;
+}
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./simple.css",
+ ".some-class {
+ color: red;
+}
+",
+ "",
+ ],
+ [
+ "./webpackIgnore.css",
+ "/* webpackIgnore: true */
+
+/** Resolved **/
+/** Resolved **/
+
+.class {
+ color: red;
+ background: /** webpackIgnore: true */ url("./url/img.png"), url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+.class {
+ color: red;
+ background:/** webpackIgnore: true */url("./url/img.png"), url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+.class {
+ color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png), /** webpackIgnore: true */ url("./url/img.png");
+}
+
+.class {
+ color: red;
+ /** webpackIgnore: true */
+ background: url("./url/img.png"), url("./url/img.png");
+}
+
+.class {
+ color: red;
+ /** webpackIgnore: true */
+ background: url("./url/img.png"), /** webpackIgnore: false */ url(replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+.class {
+ color: red;
+ /** webpackIgnore: true */
+ background: url("./url/img.png"), /** webpackIgnore: false */ url(replaced_file_protocol_/webpack/public/path/img.png), /** webpackIgnore: true */ url("./url/img.png"), /** webpackIgnore: false */ url(replaced_file_protocol_/webpack/public/path/img.png);
}
-._2H1jUQC4I1yE2c9CEwXfAS._3HDHfIW-5V2j3qdUcRiaMD ._2eB5NM0D15e1HQWl3AHa8q:before{
- content: '💡';
+.class {
+ color: red;
+ /** webpackIgnore: true */
+ background: /** webpackIgnore: false */ url(replaced_file_protocol_/webpack/public/path/img.png), /** webpackIgnore: true */ url("./url/img.png");
}
-.JNjvwXXuHnb_zjhkwPzBD {
- background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+.class {
+ color: red;
+ background: /** webpackIgnore: true */ /** webpackIgnore: false */ url(replaced_file_protocol_/webpack/public/path/img.png), url(replaced_file_protocol_/webpack/public/path/img.png);
}
-a[href=''] {
+.class {
color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png), /** webpackIgnore: true */ /** webpackIgnore: false */ url(replaced_file_protocol_/webpack/public/path/img.png);
}
-a[href='' i] {
+.class {
color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png), /** webpackIgnore: false */ /** webpackIgnore: true */ url("./url/img.png");
}
-a[href=\\"\\"] {
- color: blue;
+.class {
+ background:
+ url(replaced_file_protocol_/webpack/public/path/img.png),
+ url(replaced_file_protocol_/webpack/public/path/img.png),
+ /** webpackIgnore: true **/ url("./url/img.png"),
+ url(replaced_file_protocol_/webpack/public/path/img.png),
+ /** webpackIgnore: true **/ url("./url/img.png"),
+ url(replaced_file_protocol_/webpack/public/path/img.png),
+ url(replaced_file_protocol_/webpack/public/path/img.png),
+ url(replaced_file_protocol_/webpack/public/path/img.png),
+ /** webpackIgnore: true **/
+ url("./url/img.png");
+}
+
+@font-face {
+ font-family: "Roboto";
+ src: /** webpackIgnore: true **/ url("./fonts/Roboto-Regular.eot");
+ src:
+ /** webpackIgnore: true **/
+ url("./fonts/Roboto-Regular.eot#iefix") format("embedded-opentype"),
+ url(replaced_file_protocol_/webpack/public/path/Roboto-Regular.woff2) format("woff"),
+ url(replaced_file_protocol_/webpack/public/path/Roboto-Regular.woff) format("woff"),
+ url(replaced_file_protocol_/webpack/public/path/Roboto-Regular.ttf) format("truetype"),
+ url(replaced_file_protocol_/webpack/public/path/Roboto-Regular.svg#Roboto-Regular) format("svg");
+ font-weight: 400;
+ font-style: normal;
+}
+
+@font-face {
+ font-family: "Roboto";
+ src: /** webpackIgnore: true **/ url("./fonts/Roboto-Regular.eot");
+ /** webpackIgnore: true **/
+ src:
+ url("./fonts/Roboto-Regular.eot#iefix") format("embedded-opentype"),
+ url("./fonts/Roboto-Regular.woff2") format("woff"),
+ url("./fonts/Roboto-Regular.woff") format("woff"),
+ url("./fonts/Roboto-Regular.ttf") format("truetype"),
+ url("./fonts/Roboto-Regular.svg#Roboto-Regular") format("svg");
+ font-weight: 400;
+ font-style: normal;
+}
+
+@font-face {
+ font-family: "Roboto";
+ src: url(replaced_file_protocol_/webpack/public/path/Roboto-Regular.eot);
+ src:
+ url(replaced_file_protocol_/webpack/public/path/Roboto-Regular.eot#iefix) format("embedded-opentype"),
+ /** webpackIgnore: true **/
+ url("./fonts/Roboto-Regular.woff2") format("woff"),
+ url(replaced_file_protocol_/webpack/public/path/Roboto-Regular.woff) format("woff"),
+ /** webpackIgnore: true **/
+ url("./fonts/Roboto-Regular.ttf") format("truetype"),
+ url(replaced_file_protocol_/webpack/public/path/Roboto-Regular.svg#Roboto-Regular) format("svg");
+ font-weight: 400;
+ font-style: normal;
}
-a[href=\\"\\" i] {
- color: blue;
+.class {
+ /*webpackIgnore: true*/
+ background-image: image-set(
+ url(./url/img.png) 2x,
+ url(./url/img.png) 3x,
+ url(./url/img.png) 4x
+ );
}
-",
- "",
- ],
-]
-`;
-exports[`loader should compile with \`css\` entry point (with \`modules\` and scope \`local\`): module 1`] = `
-"exports = module.exports = require(\\"../../src/runtime/api.js\\")(false);
-// Imports
-exports.i(require(\\"-!../../src/index.js??ref--4-0!./imported.css\\"), \\"\\");
-var urlEscape = require(\\"../../src/runtime/url-escape.js\\");
-var ___CSS_LOADER_URL___0___ = urlEscape(require(\\"./url/img.png\\"));
+.class {
+ /*webpackIgnore: true*/
+ background-image:
+ image-set(
+ /*webpackIgnore: false*/
+ url(replaced_file_protocol_/webpack/public/path/img.png) 2x,
+ /*webpackIgnore: true*/
+ url(./url/img.png) 3x,
+ url(./url/img.png) 4x,
+ /*webpackIgnore: false */
+ /*webpackIgnore: true */
+ url(./url/img.png) 5x
+ ),
+ url('./url/img.png');
+}
-// Module
-exports.push([module.id, \\"@charset \\\\\\"UTF-8\\\\\\";\\\\n\\\\n/* Comment */\\\\n\\\\n._1PSZ4tK4URrenXyNSoawrx {\\\\n color: red;\\\\n background: url(\\" + ___CSS_LOADER_URL___0___ + \\");\\\\n}\\\\n\\\\n._3YYoEr128Gk7ZgfRycu4tr {\\\\n background: url(\\" + ___CSS_LOADER_URL___0___ + \\");\\\\n}\\\\n\\\\n:root {\\\\n --foo: 1px;\\\\n --bar: 2px;\\\\n}\\\\n\\\\n._1PSZ4tK4URrenXyNSoawrx { a: b c d; }\\\\n\\\\n._1LWD9ZV4XMmN23IPiMONS3 {}\\\\n\\\\n._3i3CD1fyX8bvzRt1H0IV-f { a: b c d; }\\\\n\\\\n._1PSZ4tK4URrenXyNSoawrx { content: \\\\\\"\\\\\\\\F10C\\\\\\" }\\\\n\\\\n@media only screen and (max-width: 600px) {\\\\n body {\\\\n background-color: lightblue;\\\\n }\\\\n}\\\\n\\\\n._1PSZ4tK4URrenXyNSoawrx {\\\\n content: \\\\\\"\\\\\\\\2193\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2193\\\\\\\\2193\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2193 \\\\\\\\2193\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2193\\\\\\\\2193\\\\\\\\2193\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2193 \\\\\\\\2193 \\\\\\\\2193\\\\\\";\\\\n}\\\\n\\\\n._1fWEySWrY44TvDnJ8JNxnE {}\\\\n._1fWEySWrY44TvDnJ8JNxnE {}\\\\n\\\\n#Zmuw5k7Gg4hpgd6CVBEkq {}\\\\n\\\\n.nz2GDQ2B9PRi6GmzRwbUM {\\\\n display: flex;\\\\n flex-wrap: wrap;\\\\n}\\\\n.nz2GDQ2B9PRi6GmzRwbUM._1fWEySWrY44TvDnJ8JNxnE {\\\\n align-items: flex-start;\\\\n}\\\\n.nz2GDQ2B9PRi6GmzRwbUM._1fWEySWrY44TvDnJ8JNxnE {\\\\n align-items: flex-start;\\\\n}\\\\n.nz2GDQ2B9PRi6GmzRwbUM._12Sbi_HmVVsUl9TM-zo3h- {\\\\n align-items: center;\\\\n}\\\\n.nz2GDQ2B9PRi6GmzRwbUM.gpFhy6a0Dyg4XrktE4jA3 {\\\\n align-items: flex-end;\\\\n}\\\\n\\\\n._3i3CD1fyX8bvzRt1H0IV-f {}\\\\n\\\\n.YDvxHwoU5TyTmW1oTkKgw {}\\\\n\\\\n#_3i3CD1fyX8bvzRt1H0IV-f {}\\\\n\\\\nbody {\\\\n font-family: '微软雅黑'; /* some chinese font name */\\\\n}\\\\n\\\\n._3txeRUnk43pQ_ialOcI-1F {\\\\n content: '\\\\\\\\e901';\\\\n}\\\\n\\\\n._3txeRUnk43pQ_ialOcI-1F {\\\\n content: '\\\\\\\\E901';\\\\n}\\\\n\\\\n._3Zu4uw_Urs6mU3AHN6h0NV {}\\\\n\\\\n._4_pn9LmAb2XtAy0kg4FN_ {} /* matches elements with class=\\\\\\":\`(\\\\\\" */\\\\n._2LEttkwzH7jRE93Ku8MGqY {} /* matches elements with class=\\\\\\"1a2b3c\\\\\\" */\\\\n#_2E85FJStrx25rDG2lYWifC {} /* matches the element with id=\\\\\\"#fake-id\\\\\\" */\\\\n#_2pyPm3oWgKQ-rjECcnFYrX {} /* matches the element with id=\\\\\\"-a-b-c-\\\\\\" */\\\\n#_2pmolVDQD2g7wt3ejy2doK {} /* matches the element with id=\\\\\\"©\\\\\\" */\\\\n\\\\n:root {\\\\n --title-align: center;\\\\n --sr-only: {\\\\n position: absolute;\\\\n width: 1px;\\\\n height: 1px;\\\\n padding: 0;\\\\n overflow: hidden;\\\\n clip: rect(0,0,0,0);\\\\n white-space: nowrap;\\\\n clip-path: inset(50%);\\\\n border: 0;\\\\n };\\\\n}\\\\n\\\\n._2mQhIWfQwYBHR8C-27Rb-E {\\\\n content: \\\\\\"\\\\\\\\2014\\\\\\\\A0\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2014 \\\\\\\\A0\\\\\\";\\\\n content: \\\\\\"\\\\\\\\A0 \\\\\\\\2014\\\\\\";\\\\n content: \\\\\\"\\\\\\\\A0\\\\\\\\2014\\\\\\";\\\\n margin-top: 1px\\\\\\\\9;\\\\n background-color: #000\\\\\\\\9;\\\\n}\\\\n\\\\n._2H1jUQC4I1yE2c9CEwXfAS._3HDHfIW-5V2j3qdUcRiaMD ._2eB5NM0D15e1HQWl3AHa8q:before{\\\\n content: '💡';\\\\n}\\\\n\\\\n.JNjvwXXuHnb_zjhkwPzBD {\\\\n background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);\\\\n}\\\\n\\\\na[href=''] {\\\\n color: red;\\\\n}\\\\n\\\\na[href='' i] {\\\\n color: red;\\\\n}\\\\n\\\\na[href=\\\\\\"\\\\\\"] {\\\\n color: blue;\\\\n}\\\\n\\\\na[href=\\\\\\"\\\\\\" i] {\\\\n color: blue;\\\\n}\\\\n\\", \\"\\"]);
+.class {
+ background-image:
+ image-set(
+ /*webpackIgnore: false*/
+ url(replaced_file_protocol_/webpack/public/path/img.png) 2x,
+ /*webpackIgnore: true*/
+ url(./url/img.png) 3x,
+ url(replaced_file_protocol_/webpack/public/path/img.png) 4x,
+ /*webpackIgnore: false */
+ /*webpackIgnore: true */
+ url(./url/img.png) 5x
+ ),
+ /*webpackIgnore: false*/
+ url(replaced_file_protocol_/webpack/public/path/img.png),
+ /*webpackIgnore: true*/
+ url('./url/img.png');;
+}
-// Exports
-exports.locals = {
- \\"class\\": \\"_1PSZ4tK4URrenXyNSoawrx\\",
- \\"class-duplicate-url\\": \\"_3YYoEr128Gk7ZgfRycu4tr\\",
- \\"two\\": \\"_1LWD9ZV4XMmN23IPiMONS3\\",
- \\"u-m+\\": \\"_3i3CD1fyX8bvzRt1H0IV-f\\",
- \\"-top\\": \\"_1fWEySWrY44TvDnJ8JNxnE\\",
- \\"#test\\": \\"Zmuw5k7Gg4hpgd6CVBEkq\\",
- \\"grid\\": \\"nz2GDQ2B9PRi6GmzRwbUM\\",
- \\"-middle\\": \\"_12Sbi_HmVVsUl9TM-zo3h-\\",
- \\"-bottom\\": \\"gpFhy6a0Dyg4XrktE4jA3\\",
- \\"u-m00002b\\": \\"YDvxHwoU5TyTmW1oTkKgw\\",
- \\"myStyle\\": \\"_3txeRUnk43pQ_ialOcI-1F\\",
- \\"♫\\": \\"_3Zu4uw_Urs6mU3AHN6h0NV\\",
- \\":\`(\\": \\"_4_pn9LmAb2XtAy0kg4FN_\\",
- \\"1a2b3c\\": \\"_2LEttkwzH7jRE93Ku8MGqY\\",
- \\"#fake-id\\": \\"_2E85FJStrx25rDG2lYWifC\\",
- \\"-a-b-c-\\": \\"_2pyPm3oWgKQ-rjECcnFYrX\\",
- \\"©\\": \\"_2pmolVDQD2g7wt3ejy2doK\\",
- \\"test\\": \\"_2mQhIWfQwYBHR8C-27Rb-E\\",
- \\"light\\": \\"_2H1jUQC4I1yE2c9CEwXfAS\\",
- \\"on\\": \\"_3HDHfIW-5V2j3qdUcRiaMD\\",
- \\"bulb\\": \\"_2eB5NM0D15e1HQWl3AHa8q\\",
- \\"base64\\": \\"JNjvwXXuHnb_zjhkwPzBD\\"
-};"
-`;
+.class {
+ background-image:
+ image-set(
+ /*webpackIgnore: false*/
+ url(replaced_file_protocol_/webpack/public/path/img.png) 2x,
+ /*webpackIgnore: true*/
+ url(./url/img.png) 3x,
+ url(replaced_file_protocol_/webpack/public/path/img.png) 4x,
+ /*webpackIgnore: false */
+ /*webpackIgnore: true */
+ url(./url/img.png) 5x
+ ),
+ url(replaced_file_protocol_/webpack/public/path/img.png);
+}
-exports[`loader should compile with \`css\` entry point (with \`modules\` and scope \`local\`): warnings 1`] = `Array []`;
-
-exports[`loader should compile with \`css\` entry point: api 1`] = `
-"/*
- MIT License http://www.opensource.org/licenses/mit-license.php
- Author Tobias Koppers @sokra
-*/
-// css base code, injected by the css-loader
-module.exports = function(useSourceMap) {
- var list = [];
-
- // return the list of modules as css string
- list.toString = function toString() {
- return this.map(function(item) {
- var content = cssWithMappingToString(item, useSourceMap);
- if (item[2]) {
- return '@media ' + item[2] + '{' + content + '}';
- } else {
- return content;
- }
- }).join('');
- };
+.class {
+ background-image: image-set(
+ /*webpackIgnore: true*/
+ url(./url/img.png) 2x,
+ url(replaced_file_protocol_/webpack/public/path/img.png) 3x,
+ /*webpackIgnore: true*/
+ url(./url/img.png) 5x
+ );
+}
- // import a list of modules into the list
- list.i = function(modules, mediaQuery) {
- if (typeof modules === 'string') {
- modules = [[null, modules, '']];
- }
- var alreadyImportedModules = {};
- for (var i = 0; i < this.length; i++) {
- var id = this[i][0];
- if (id != null) {
- alreadyImportedModules[id] = true;
- }
- }
- for (i = 0; i < modules.length; i++) {
- var item = modules[i];
- // skip already imported module
- // this implementation is not 100% perfect for weird media query combinations
- // when a module is imported multiple times with different media queries.
- // I hope this will never occur (Hey this way we have smaller bundles)
- if (item[0] == null || !alreadyImportedModules[item[0]]) {
- if (mediaQuery && !item[2]) {
- item[2] = mediaQuery;
- } else if (mediaQuery) {
- item[2] = '(' + item[2] + ') and (' + mediaQuery + ')';
- }
- list.push(item);
- }
- }
- };
- return list;
-};
-
-function cssWithMappingToString(item, useSourceMap) {
- var content = item[1] || '';
- var cssMapping = item[3];
- if (!cssMapping) {
- return content;
- }
+.class {
+ background-image: image-set(
+ /*webpackIgnore: true*/
+ './url/img.png' 2x,
+ "replaced_file_protocol_/webpack/public/path/img.png" 3x,
+ /*webpackIgnore: true*/
+ './url/img.png' 5x
+ );
+}
- if (useSourceMap && typeof btoa === 'function') {
- var sourceMapping = toComment(cssMapping);
- var sourceURLs = cssMapping.sources.map(function(source) {
- return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */';
- });
+.class {
+ /*webpackIgnore: true*/
+ background-image: image-set(
+ /*webpackIgnore: false*/
+ url(replaced_file_protocol_/webpack/public/path/img.png) 2x,
+ /*webpackIgnore: true*/
+ url(./url/img.png) 3x,
+ /*webpackIgnore: false*/
+ url(replaced_file_protocol_/webpack/public/path/img.png) 4x,
+ url(./url/img.png) 5x
+ );
+}
- return [content]
- .concat(sourceURLs)
- .concat([sourceMapping])
- .join('\\\\n');
- }
+.class {
+ color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png), /** webpackIgnore: true */url("./url/img.png");
+}
- return [content].join('\\\\n');
+.class {
+ color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png), /** webpackIgnore: true */ url("./url/img.png");
}
-// Adapted from convert-source-map (MIT)
-function toComment(sourceMap) {
- // eslint-disable-next-line no-undef
- var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
- var data =
- 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;
+.class {
+ color: red;
+ background: url(replaced_file_protocol_/webpack/public/path/img.png)/** webpackIgnore: true */, url(replaced_file_protocol_/webpack/public/path/img.png);
+}
- return '/*# ' + data + ' */';
+.class {
+ background-image:
+ image-set(
+ url(replaced_file_protocol_/webpack/public/path/img.png) 2x /*webpackIgnore: true*/,
+ url(replaced_file_protocol_/webpack/public/path/img.png) /*webpackIgnore: true*/ 3x,
+ url(replaced_file_protocol_/webpack/public/path/img.png) 4x /*webpackIgnore: true*/,
+ /*webpackIgnore: true*/url(./url/img.png) 5x,
+ /*webpackIgnore: true*/ url(./url/img.png) 6x,
+ /*webpackIgnore: true*/
+ url(./url/img.png) 7x,
+ url(replaced_file_protocol_/webpack/public/path/img.png) 8x
+ ),
+ /*webpackIgnore: false*/
+ url(replaced_file_protocol_/webpack/public/path/img.png),
+ /*webpackIgnore: true*/
+ url('./url/img.png');
+}
+
+@font-face {
+ font-family: "anticon";
+ src: url("//at.alicdn.com/t/font_1434092639_4910953.eot?#iefix") format("embedded-opentype"),
+ /* this comment is required */
+ url("//at.alicdn.com/t/font_1434092639_4910953.woff") format("woff");
}
-"
+",
+ "",
+ ],
+]
`;
-exports[`loader should compile with \`css\` entry point: errors 1`] = `Array []`;
-
-exports[`loader should compile with \`css\` entry point: escape 1`] = `
-"module.exports = function escape(url, needQuotes) {
- if (typeof url !== 'string') {
- return url;
- }
-
- // If url is already wrapped in quotes, remove them
- if (/^['\\"].*['\\"]$/.test(url)) {
- url = url.slice(1, -1);
- }
+exports[`loader should work with webpackIgnore comment: warnings 1`] = `[]`;
- // Should url be wrapped?
- // See https://drafts.csswg.org/css-values-3/#urls
- if (/[\\"'() \\\\t\\\\n]/.test(url) || needQuotes) {
- return '\\"' + url.replace(/\\"/g, '\\\\\\\\\\"').replace(/\\\\n/g, '\\\\\\\\n') + '\\"';
- }
+exports[`loader should work: errors 1`] = `[]`;
- return url;
-};
-"
-`;
+exports[`loader should work: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../src/runtime/api.js";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("./url/img.png", import.meta.url);
+var ___CSS_LOADER_URL_IMPORT_1___ = new URL("data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`@charset "UTF-8";
-exports[`loader should compile with \`css\` entry point: module (evaluated) 1`] = `
-Array [
- Array [
- null,
- "nothing",
- "",
- ],
- Array [
- 1,
- "@charset \\"UTF-8\\";
/* Comment */
.class {
color: red;
- background: url(nothing);
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
}
.class-duplicate-url {
- background: url(nothing);
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
}
:root {
@@ -717,7 +3176,7 @@ Array [
.u-m\\\\+ { a: b c d; }
-.class { content: \\"\\\\F10C\\" }
+.class { content: "\\\\F10C" }
@media only screen and (max-width: 600px) {
body {
@@ -726,11 +3185,11 @@ Array [
}
.class {
- content: \\"\\\\2193\\";
- content: \\"\\\\2193\\\\2193\\";
- content: \\"\\\\2193 \\\\2193\\";
- content: \\"\\\\2193\\\\2193\\\\2193\\";
- content: \\"\\\\2193 \\\\2193 \\\\2193\\";
+ content: "\\\\2193";
+ content: "\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193";
+ content: "\\\\2193\\\\2193\\\\2193";
+ content: "\\\\2193 \\\\2193 \\\\2193";
}
.-top {}
@@ -775,11 +3234,25 @@ body {
.♫ {}
-.\\\\3A \\\\\`\\\\( {} /* matches elements with class=\\":\`(\\" */
-.\\\\31 a2b3c {} /* matches elements with class=\\"1a2b3c\\" */
-#\\\\#fake-id {} /* matches the element with id=\\"#fake-id\\" */
-#-a-b-c- {} /* matches the element with id=\\"-a-b-c-\\" */
-#© {} /* matches the element with id=\\"©\\" */
+.\\\\3A \\\\\\\`\\\\( {} /* matches elements with class=":\\\`(" */
+.\\\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\\\.\\\\\\\` {
+ color: aliceblue;
+}
+
+\\\\.\\\\\\$\\\\{foo\\\\} {
+ color: aliceblue;
+}
+
+/* \\\` */
+/* \\\`\\\` */
+/* \\\`\\\`\\\` */
+/* \\\${} */
+/* \\\\\\\\\\\` */
:root {
--title-align: center;
@@ -797,10 +3270,10 @@ body {
}
.test {
- content: \\"\\\\2014\\\\A0\\";
- content: \\"\\\\2014 \\\\A0\\";
- content: \\"\\\\A0 \\\\2014\\";
- content: \\"\\\\A0\\\\2014\\";
+ content: "\\\\2014\\\\A0";
+ content: "\\\\2014 \\\\A0";
+ content: "\\\\A0 \\\\2014";
+ content: "\\\\A0\\\\2014";
margin-top: 1px\\\\9;
background-color: #000\\\\9;
}
@@ -810,7 +3283,7 @@ body {
}
.base64 {
- background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_1___});
}
a[href=''] {
@@ -821,164 +3294,35 @@ a[href='' i] {
color: red;
}
-a[href=\\"\\"] {
+a[href=""] {
color: blue;
}
-a[href=\\"\\" i] {
+a[href="" i] {
color: blue;
}
-",
- "",
- ],
-]
-`;
-
-exports[`loader should compile with \`css\` entry point: module 1`] = `
-"exports = module.exports = require(\\"../../src/runtime/api.js\\")(false);
-// Imports
-exports.i(require(\\"-!../../src/index.js??ref--4-0!./imported.css\\"), \\"\\");
-var urlEscape = require(\\"../../src/runtime/url-escape.js\\");
-var ___CSS_LOADER_URL___0___ = urlEscape(require(\\"./url/img.png\\"));
-
-// Module
-exports.push([module.id, \\"@charset \\\\\\"UTF-8\\\\\\";\\\\n\\\\n/* Comment */\\\\n\\\\n.class {\\\\n color: red;\\\\n background: url(\\" + ___CSS_LOADER_URL___0___ + \\");\\\\n}\\\\n\\\\n.class-duplicate-url {\\\\n background: url(\\" + ___CSS_LOADER_URL___0___ + \\");\\\\n}\\\\n\\\\n:root {\\\\n --foo: 1px;\\\\n --bar: 2px;\\\\n}\\\\n\\\\n.class { a: b c d; }\\\\n\\\\n.two {}\\\\n\\\\n.u-m\\\\\\\\+ { a: b c d; }\\\\n\\\\n.class { content: \\\\\\"\\\\\\\\F10C\\\\\\" }\\\\n\\\\n@media only screen and (max-width: 600px) {\\\\n body {\\\\n background-color: lightblue;\\\\n }\\\\n}\\\\n\\\\n.class {\\\\n content: \\\\\\"\\\\\\\\2193\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2193\\\\\\\\2193\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2193 \\\\\\\\2193\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2193\\\\\\\\2193\\\\\\\\2193\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2193 \\\\\\\\2193 \\\\\\\\2193\\\\\\";\\\\n}\\\\n\\\\n.-top {}\\\\n.\\\\\\\\-top {}\\\\n\\\\n#\\\\\\\\#test {}\\\\n\\\\n.grid {\\\\n display: flex;\\\\n flex-wrap: wrap;\\\\n}\\\\n.grid.\\\\\\\\-top {\\\\n align-items: flex-start;\\\\n}\\\\n.grid.-top {\\\\n align-items: flex-start;\\\\n}\\\\n.grid.\\\\\\\\-middle {\\\\n align-items: center;\\\\n}\\\\n.grid.\\\\\\\\-bottom {\\\\n align-items: flex-end;\\\\n}\\\\n\\\\n.u-m\\\\\\\\00002b {}\\\\n\\\\n.u-m00002b {}\\\\n\\\\n#u-m\\\\\\\\+ {}\\\\n\\\\nbody {\\\\n font-family: '微软雅黑'; /* some chinese font name */\\\\n}\\\\n\\\\n.myStyle {\\\\n content: '\\\\\\\\e901';\\\\n}\\\\n\\\\n.myStyle {\\\\n content: '\\\\\\\\E901';\\\\n}\\\\n\\\\n.♫ {}\\\\n\\\\n.\\\\\\\\3A \\\\\\\\\`\\\\\\\\( {} /* matches elements with class=\\\\\\":\`(\\\\\\" */\\\\n.\\\\\\\\31 a2b3c {} /* matches elements with class=\\\\\\"1a2b3c\\\\\\" */\\\\n#\\\\\\\\#fake-id {} /* matches the element with id=\\\\\\"#fake-id\\\\\\" */\\\\n#-a-b-c- {} /* matches the element with id=\\\\\\"-a-b-c-\\\\\\" */\\\\n#© {} /* matches the element with id=\\\\\\"©\\\\\\" */\\\\n\\\\n:root {\\\\n --title-align: center;\\\\n --sr-only: {\\\\n position: absolute;\\\\n width: 1px;\\\\n height: 1px;\\\\n padding: 0;\\\\n overflow: hidden;\\\\n clip: rect(0,0,0,0);\\\\n white-space: nowrap;\\\\n clip-path: inset(50%);\\\\n border: 0;\\\\n };\\\\n}\\\\n\\\\n.test {\\\\n content: \\\\\\"\\\\\\\\2014\\\\\\\\A0\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2014 \\\\\\\\A0\\\\\\";\\\\n content: \\\\\\"\\\\\\\\A0 \\\\\\\\2014\\\\\\";\\\\n content: \\\\\\"\\\\\\\\A0\\\\\\\\2014\\\\\\";\\\\n margin-top: 1px\\\\\\\\9;\\\\n background-color: #000\\\\\\\\9;\\\\n}\\\\n\\\\n.light.on .bulb:before{\\\\n content: '💡';\\\\n}\\\\n\\\\n.base64 {\\\\n background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);\\\\n}\\\\n\\\\na[href=''] {\\\\n color: red;\\\\n}\\\\n\\\\na[href='' i] {\\\\n color: red;\\\\n}\\\\n\\\\na[href=\\\\\\"\\\\\\"] {\\\\n color: blue;\\\\n}\\\\n\\\\na[href=\\\\\\"\\\\\\" i] {\\\\n color: blue;\\\\n}\\\\n\\", \\"\\"]);
-
-"
-`;
-
-exports[`loader should compile with \`css\` entry point: warnings 1`] = `Array []`;
-
-exports[`loader should compile with \`js\` entry point: api 1`] = `
-"/*
- MIT License http://www.opensource.org/licenses/mit-license.php
- Author Tobias Koppers @sokra
-*/
-// css base code, injected by the css-loader
-module.exports = function(useSourceMap) {
- var list = [];
-
- // return the list of modules as css string
- list.toString = function toString() {
- return this.map(function(item) {
- var content = cssWithMappingToString(item, useSourceMap);
- if (item[2]) {
- return '@media ' + item[2] + '{' + content + '}';
- } else {
- return content;
- }
- }).join('');
- };
-
- // import a list of modules into the list
- list.i = function(modules, mediaQuery) {
- if (typeof modules === 'string') {
- modules = [[null, modules, '']];
- }
- var alreadyImportedModules = {};
- for (var i = 0; i < this.length; i++) {
- var id = this[i][0];
- if (id != null) {
- alreadyImportedModules[id] = true;
- }
- }
- for (i = 0; i < modules.length; i++) {
- var item = modules[i];
- // skip already imported module
- // this implementation is not 100% perfect for weird media query combinations
- // when a module is imported multiple times with different media queries.
- // I hope this will never occur (Hey this way we have smaller bundles)
- if (item[0] == null || !alreadyImportedModules[item[0]]) {
- if (mediaQuery && !item[2]) {
- item[2] = mediaQuery;
- } else if (mediaQuery) {
- item[2] = '(' + item[2] + ') and (' + mediaQuery + ')';
- }
- list.push(item);
- }
- }
- };
- return list;
-};
-
-function cssWithMappingToString(item, useSourceMap) {
- var content = item[1] || '';
- var cssMapping = item[3];
- if (!cssMapping) {
- return content;
- }
-
- if (useSourceMap && typeof btoa === 'function') {
- var sourceMapping = toComment(cssMapping);
- var sourceURLs = cssMapping.sources.map(function(source) {
- return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */';
- });
-
- return [content]
- .concat(sourceURLs)
- .concat([sourceMapping])
- .join('\\\\n');
- }
-
- return [content].join('\\\\n');
-}
-
-// Adapted from convert-source-map (MIT)
-function toComment(sourceMap) {
- // eslint-disable-next-line no-undef
- var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
- var data =
- 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;
-
- return '/*# ' + data + ' */';
-}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`loader should compile with \`js\` entry point: errors 1`] = `Array []`;
-
-exports[`loader should compile with \`js\` entry point: escape 1`] = `
-"module.exports = function escape(url, needQuotes) {
- if (typeof url !== 'string') {
- return url;
- }
-
- // If url is already wrapped in quotes, remove them
- if (/^['\\"].*['\\"]$/.test(url)) {
- url = url.slice(1, -1);
- }
-
- // Should url be wrapped?
- // See https://drafts.csswg.org/css-values-3/#urls
- if (/[\\"'() \\\\t\\\\n]/.test(url) || needQuotes) {
- return '\\"' + url.replace(/\\"/g, '\\\\\\\\\\"').replace(/\\\\n/g, '\\\\\\\\n') + '\\"';
- }
-
- return url;
-};
-"
-`;
+exports[`loader should work: result 1`] = `
+[
+ [
+ "./basic.css",
+ "@charset "UTF-8";
-exports[`loader should compile with \`js\` entry point: module (evaluated) 1`] = `
-Array [
- Array [
- null,
- "nothing",
- "",
- ],
- Array [
- 1,
- "@charset \\"UTF-8\\";
/* Comment */
.class {
color: red;
- background: url(nothing);
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
}
.class-duplicate-url {
- background: url(nothing);
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
}
:root {
@@ -990,9 +3334,9 @@ Array [
.two {}
-.u-m\\\\+ { a: b c d; }
+.u-m\\+ { a: b c d; }
-.class { content: \\"\\\\F10C\\" }
+.class { content: "\\F10C" }
@media only screen and (max-width: 600px) {
body {
@@ -1001,60 +3345,74 @@ Array [
}
.class {
- content: \\"\\\\2193\\";
- content: \\"\\\\2193\\\\2193\\";
- content: \\"\\\\2193 \\\\2193\\";
- content: \\"\\\\2193\\\\2193\\\\2193\\";
- content: \\"\\\\2193 \\\\2193 \\\\2193\\";
+ content: "\\2193";
+ content: "\\2193\\2193";
+ content: "\\2193 \\2193";
+ content: "\\2193\\2193\\2193";
+ content: "\\2193 \\2193 \\2193";
}
.-top {}
-.\\\\-top {}
+.\\-top {}
-#\\\\#test {}
+#\\#test {}
.grid {
display: flex;
flex-wrap: wrap;
}
-.grid.\\\\-top {
+.grid.\\-top {
align-items: flex-start;
}
.grid.-top {
align-items: flex-start;
}
-.grid.\\\\-middle {
+.grid.\\-middle {
align-items: center;
}
-.grid.\\\\-bottom {
+.grid.\\-bottom {
align-items: flex-end;
}
-.u-m\\\\00002b {}
+.u-m\\00002b {}
.u-m00002b {}
-#u-m\\\\+ {}
+#u-m\\+ {}
body {
font-family: '微软雅黑'; /* some chinese font name */
}
.myStyle {
- content: '\\\\e901';
+ content: '\\e901';
}
.myStyle {
- content: '\\\\E901';
+ content: '\\E901';
}
.♫ {}
-.\\\\3A \\\\\`\\\\( {} /* matches elements with class=\\":\`(\\" */
-.\\\\31 a2b3c {} /* matches elements with class=\\"1a2b3c\\" */
-#\\\\#fake-id {} /* matches the element with id=\\"#fake-id\\" */
-#-a-b-c- {} /* matches the element with id=\\"-a-b-c-\\" */
-#© {} /* matches the element with id=\\"©\\" */
+.\\3A \\\`\\( {} /* matches elements with class=":\`(" */
+.\\31 a2b3c {} /* matches elements with class="1a2b3c" */
+#\\#fake-id {} /* matches the element with id="#fake-id" */
+#-a-b-c- {} /* matches the element with id="-a-b-c-" */
+#© {} /* matches the element with id="©" */
+
+\\.\\\` {
+ color: aliceblue;
+}
+
+\\.\\$\\{foo\\} {
+ color: aliceblue;
+}
+
+/* \` */
+/* \`\` */
+/* \`\`\` */
+/* \${} */
+/* \\\\\` */
:root {
--title-align: center;
@@ -1072,12 +3430,12 @@ body {
}
.test {
- content: \\"\\\\2014\\\\A0\\";
- content: \\"\\\\2014 \\\\A0\\";
- content: \\"\\\\A0 \\\\2014\\";
- content: \\"\\\\A0\\\\2014\\";
- margin-top: 1px\\\\9;
- background-color: #000\\\\9;
+ content: "\\2014\\A0";
+ content: "\\2014 \\A0";
+ content: "\\A0 \\2014";
+ content: "\\A0\\2014";
+ margin-top: 1px\\9;
+ background-color: #000\\9;
}
.light.on .bulb:before{
@@ -1096,11 +3454,11 @@ a[href='' i] {
color: red;
}
-a[href=\\"\\"] {
+a[href=""] {
color: blue;
}
-a[href=\\"\\" i] {
+a[href="" i] {
color: blue;
}
",
@@ -1109,198 +3467,4 @@ a[href=\\"\\" i] {
]
`;
-exports[`loader should compile with \`js\` entry point: module 1`] = `
-"exports = module.exports = require(\\"../../src/runtime/api.js\\")(false);
-// Imports
-exports.i(require(\\"-!../../src/index.js??ref--4-0!./imported.css\\"), \\"\\");
-var urlEscape = require(\\"../../src/runtime/url-escape.js\\");
-var ___CSS_LOADER_URL___0___ = urlEscape(require(\\"./url/img.png\\"));
-
-// Module
-exports.push([module.id, \\"@charset \\\\\\"UTF-8\\\\\\";\\\\n\\\\n/* Comment */\\\\n\\\\n.class {\\\\n color: red;\\\\n background: url(\\" + ___CSS_LOADER_URL___0___ + \\");\\\\n}\\\\n\\\\n.class-duplicate-url {\\\\n background: url(\\" + ___CSS_LOADER_URL___0___ + \\");\\\\n}\\\\n\\\\n:root {\\\\n --foo: 1px;\\\\n --bar: 2px;\\\\n}\\\\n\\\\n.class { a: b c d; }\\\\n\\\\n.two {}\\\\n\\\\n.u-m\\\\\\\\+ { a: b c d; }\\\\n\\\\n.class { content: \\\\\\"\\\\\\\\F10C\\\\\\" }\\\\n\\\\n@media only screen and (max-width: 600px) {\\\\n body {\\\\n background-color: lightblue;\\\\n }\\\\n}\\\\n\\\\n.class {\\\\n content: \\\\\\"\\\\\\\\2193\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2193\\\\\\\\2193\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2193 \\\\\\\\2193\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2193\\\\\\\\2193\\\\\\\\2193\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2193 \\\\\\\\2193 \\\\\\\\2193\\\\\\";\\\\n}\\\\n\\\\n.-top {}\\\\n.\\\\\\\\-top {}\\\\n\\\\n#\\\\\\\\#test {}\\\\n\\\\n.grid {\\\\n display: flex;\\\\n flex-wrap: wrap;\\\\n}\\\\n.grid.\\\\\\\\-top {\\\\n align-items: flex-start;\\\\n}\\\\n.grid.-top {\\\\n align-items: flex-start;\\\\n}\\\\n.grid.\\\\\\\\-middle {\\\\n align-items: center;\\\\n}\\\\n.grid.\\\\\\\\-bottom {\\\\n align-items: flex-end;\\\\n}\\\\n\\\\n.u-m\\\\\\\\00002b {}\\\\n\\\\n.u-m00002b {}\\\\n\\\\n#u-m\\\\\\\\+ {}\\\\n\\\\nbody {\\\\n font-family: '微软雅黑'; /* some chinese font name */\\\\n}\\\\n\\\\n.myStyle {\\\\n content: '\\\\\\\\e901';\\\\n}\\\\n\\\\n.myStyle {\\\\n content: '\\\\\\\\E901';\\\\n}\\\\n\\\\n.♫ {}\\\\n\\\\n.\\\\\\\\3A \\\\\\\\\`\\\\\\\\( {} /* matches elements with class=\\\\\\":\`(\\\\\\" */\\\\n.\\\\\\\\31 a2b3c {} /* matches elements with class=\\\\\\"1a2b3c\\\\\\" */\\\\n#\\\\\\\\#fake-id {} /* matches the element with id=\\\\\\"#fake-id\\\\\\" */\\\\n#-a-b-c- {} /* matches the element with id=\\\\\\"-a-b-c-\\\\\\" */\\\\n#© {} /* matches the element with id=\\\\\\"©\\\\\\" */\\\\n\\\\n:root {\\\\n --title-align: center;\\\\n --sr-only: {\\\\n position: absolute;\\\\n width: 1px;\\\\n height: 1px;\\\\n padding: 0;\\\\n overflow: hidden;\\\\n clip: rect(0,0,0,0);\\\\n white-space: nowrap;\\\\n clip-path: inset(50%);\\\\n border: 0;\\\\n };\\\\n}\\\\n\\\\n.test {\\\\n content: \\\\\\"\\\\\\\\2014\\\\\\\\A0\\\\\\";\\\\n content: \\\\\\"\\\\\\\\2014 \\\\\\\\A0\\\\\\";\\\\n content: \\\\\\"\\\\\\\\A0 \\\\\\\\2014\\\\\\";\\\\n content: \\\\\\"\\\\\\\\A0\\\\\\\\2014\\\\\\";\\\\n margin-top: 1px\\\\\\\\9;\\\\n background-color: #000\\\\\\\\9;\\\\n}\\\\n\\\\n.light.on .bulb:before{\\\\n content: '💡';\\\\n}\\\\n\\\\n.base64 {\\\\n background: url(data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAhxJREFUSA3tk71rU1EYxnMTEoJUkowWwdJ2akEHBfGjCiIF6ZylVUKSm2TqZLGI+A/oIu2UXm8C4lAyF4SWji0tdFLo1Eo7VN0SaBEhH7e/Nz0nPTfGOjiaCyfPc5734zlfCQT6X/8E/vUErL81KBaL9y3LSnued5PcITjUOwR3gsFg2bbtjYt6/NGgXC4P1et1l2aPLmpAbD0SidjpdPqgV15PA9d17zQajU8UxHQRK/4G35Q5pveAK8LlI1ZjPMnlcltnyvnvbwaO41xvtVqy7YHztMACq5xnlb9EY3dRdvcGo1kj5wR+t1AofDG0gM+A875E8DNjRCexsrV8Pj9ZqVQitVrtqejxePxjMpmss5hVTB4buXvMb2DyU2tBTRS+BjvNlVYUpPl7iuVO3Gq1uoQx1FtSOW1gPgp5ZWrdBtNmUDgv5asgxQ8F1af5vhY0YjyjuWC3wTszKJz7GBOkcFlQfW2ONq4FjWi+Hj6DRCKxQOK2TlY4x92EuYd5dvMAbYIzfikau3pu5tJ8KxaLLfo0cyKci7tK4TZjUMcoXAmHwzle0Q/RaC5P1GFMyVx9R9Fo9HYqlTrSgqDvFelAqVQa5hmuMR/WGtjAaBdjwBoDQ0ZsnwVMZjKZ9n0Zem8DSeDPdrnZbL6F2l3NOvUYNZk4oVDoRTabPe4EDNJzB0ZcjAYxeoZ2i3FNxQ7BHYw/cB/fldaH//UETgHHO8S44KbfXgAAAABJRU5ErkJggg==);\\\\n}\\\\n\\\\na[href=''] {\\\\n color: red;\\\\n}\\\\n\\\\na[href='' i] {\\\\n color: red;\\\\n}\\\\n\\\\na[href=\\\\\\"\\\\\\"] {\\\\n color: blue;\\\\n}\\\\n\\\\na[href=\\\\\\"\\\\\\" i] {\\\\n color: blue;\\\\n}\\\\n\\", \\"\\"]);
-
-"
-`;
-
-exports[`loader should compile with \`js\` entry point: warnings 1`] = `Array []`;
-
-exports[`loader should compile with empty css entry point: errors 1`] = `Array []`;
-
-exports[`loader should compile with empty css entry point: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "",
- "",
- ],
-]
-`;
-
-exports[`loader should compile with empty css entry point: module 1`] = `
-"exports = module.exports = require(\\"../../src/runtime/api.js\\")(false);
-// Module
-exports.push([module.id, \\"\\", \\"\\"]);
-
-"
-`;
-
-exports[`loader should compile with empty css entry point: warnings 1`] = `Array []`;
-
-exports[`loader should compile with empty options: errors 1`] = `Array []`;
-
-exports[`loader should compile with empty options: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "",
- "",
- ],
-]
-`;
-
-exports[`loader should compile with empty options: module 1`] = `
-"exports = module.exports = require(\\"../../src/runtime/api.js\\")(false);
-// Module
-exports.push([module.id, \\"\\", \\"\\"]);
-
-"
-`;
-
-exports[`loader should compile with empty options: warnings 1`] = `Array []`;
-
-exports[`loader should throw error on invalid css syntax: errors 1`] = `
-Array [
- "ModuleBuildError: Module build failed (from \`replaced original path\`):
-CssSyntaxError
-
-(2:3) Unknown word
-
- 1 | .some {
-> 2 | invalid css;
- | ^
- 3 | }
- 4 |
-",
-]
-`;
-
-exports[`loader should throw error on invalid css syntax: warnings 1`] = `Array []`;
-
-exports[`loader should throws error when no loader for assets: errors 1`] = `
-Array [
- "ModuleParseError: Module parse failed: Unexpected character '�' (1:0)
-You may need an appropriate loader to handle this file type.
-(Source code omitted for this binary file)",
-]
-`;
-
-exports[`loader should throws error when no loader for assets: warnings 1`] = `Array []`;
-
-exports[`loader using together with "postcss-loader" and reuse \`ast\`: errors 1`] = `Array []`;
-
-exports[`loader using together with "postcss-loader" and reuse \`ast\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ":root {
- --fontSize: 1rem;
- --mainColor: rgba(18,52,86,0.47059);
- --secondaryColor: rgba(102, 51, 153, 0.9);
-}
-
-html {
- overflow-x: hidden;
- overflow-y: auto;
- overflow: hidden auto;
-}
-
-@media (max-width: 50rem) {
- body {
- color: rgba(18,52,86,0.47059);
- color: var(--mainColor);
- font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
- font-size: 1rem;
- font-size: var(--fontSize);
- line-height: calc(1rem * 1.5);
- line-height: calc(var(--fontSize) * 1.5);
- word-wrap: break-word;
- padding-left: calc(1rem / 2 + 1px);
- padding-right: calc(1rem / 2 + 1px);
- padding-left: calc(var(--fontSize) / 2 + 1px);
- padding-right: calc(var(--fontSize) / 2 + 1px);
- }
-}
-
-h1,h2,h3,h4,h5,h6 {
- margin-top: 0;
- margin-bottom: 0;
-}
-
-main.hero, .hero.main {
- background-image: url(/webpack/public/path/img1x.png);
-}
-
-@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
-
-main.hero, .hero.main {
- background-image: url(/webpack/public/path/img2x.png);
-}
-}
-
-main.hero, .hero.main {
- background-image: -webkit-image-set(url(/webpack/public/path/img1x.png) 1x, url(/webpack/public/path/img2x.png) 2x);
- background-image: image-set(url(/webpack/public/path/img1x.png) 1x, url(/webpack/public/path/img2x.png) 2x);
-}
-
-a {
- color: rgba(0, 0, 255, 0.9)
-}
-
-a:hover {
- color: #639;
- }
-",
- "",
- ],
-]
-`;
-
-exports[`loader using together with "postcss-loader" and reuse \`ast\`: module 1`] = `
-"exports = module.exports = require(\\"../../../src/runtime/api.js\\")(false);
-// Imports
-var urlEscape = require(\\"../../../src/runtime/url-escape.js\\");
-var ___CSS_LOADER_URL___0___ = urlEscape(require(\\"./img1x.png\\"));
-var ___CSS_LOADER_URL___1___ = urlEscape(require(\\"./img2x.png\\"));
-
-// Module
-exports.push([module.id, \\":root {\\\\n --fontSize: 1rem;\\\\n --mainColor: rgba(18,52,86,0.47059);\\\\n --secondaryColor: rgba(102, 51, 153, 0.9);\\\\n}\\\\n\\\\nhtml {\\\\n overflow-x: hidden;\\\\n overflow-y: auto;\\\\n overflow: hidden auto;\\\\n}\\\\n\\\\n@media (max-width: 50rem) {\\\\n body {\\\\n color: rgba(18,52,86,0.47059);\\\\n color: var(--mainColor);\\\\n font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;\\\\n font-size: 1rem;\\\\n font-size: var(--fontSize);\\\\n line-height: calc(1rem * 1.5);\\\\n line-height: calc(var(--fontSize) * 1.5);\\\\n word-wrap: break-word;\\\\n padding-left: calc(1rem / 2 + 1px);\\\\n padding-right: calc(1rem / 2 + 1px);\\\\n padding-left: calc(var(--fontSize) / 2 + 1px);\\\\n padding-right: calc(var(--fontSize) / 2 + 1px);\\\\n }\\\\n}\\\\n\\\\nh1,h2,h3,h4,h5,h6 {\\\\n margin-top: 0;\\\\n margin-bottom: 0;\\\\n}\\\\n\\\\nmain.hero, .hero.main {\\\\n background-image: url(\\" + ___CSS_LOADER_URL___0___ + \\");\\\\n}\\\\n\\\\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {\\\\n\\\\nmain.hero, .hero.main {\\\\n background-image: url(\\" + ___CSS_LOADER_URL___1___ + \\");\\\\n}\\\\n}\\\\n\\\\nmain.hero, .hero.main {\\\\n background-image: -webkit-image-set(url(\\" + ___CSS_LOADER_URL___0___ + \\") 1x, url(\\" + ___CSS_LOADER_URL___1___ + \\") 2x);\\\\n background-image: image-set(url(\\" + ___CSS_LOADER_URL___0___ + \\") 1x, url(\\" + ___CSS_LOADER_URL___1___ + \\") 2x);\\\\n}\\\\n\\\\na {\\\\n color: rgba(0, 0, 255, 0.9)\\\\n}\\\\n\\\\na:hover {\\\\n color: #639;\\\\n }\\\\n\\", \\"\\"]);
-
-"
-`;
-
-exports[`loader using together with "postcss-loader" and reuse \`ast\`: warnings 1`] = `Array []`;
-
-exports[`loader using together with "sass-loader": errors 1`] = `Array []`;
-
-exports[`loader using together with "sass-loader": module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "body {
- font: 100% Helvetica, sans-serif;
- color: #333;
-}",
- "",
- ],
-]
-`;
-
-exports[`loader using together with "sass-loader": module 1`] = `
-"exports = module.exports = require(\\"../../../src/runtime/api.js\\")(false);
-// Module
-exports.push([module.id, \\"body {\\\\n font: 100% Helvetica, sans-serif;\\\\n color: #333;\\\\n}\\", \\"\\"]);
-
-"
-`;
-
-exports[`loader using together with "sass-loader": warnings 1`] = `Array []`;
+exports[`loader should work: warnings 1`] = `[]`;
diff --git a/test/__snapshots__/localIdentName-option.test.js.snap b/test/__snapshots__/localIdentName-option.test.js.snap
deleted file mode 100644
index 23e0126c..00000000
--- a/test/__snapshots__/localIdentName-option.test.js.snap
+++ /dev/null
@@ -1,302 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`localIdentName option basic: errors 1`] = `Array []`;
-
-exports[`localIdentName option basic: locals 1`] = `undefined`;
-
-exports[`localIdentName option basic: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ":local(.test) {
- background: red;
-}
-
-:local(._test) {
- background: blue;
-}
-
-:local(.className) {
- background: red;
-}
-
-:local(#someId) {
- background: green;
-}
-
-:local(.className .subClass) {
- color: green;
-}
-
-:local(#someId .subClass) {
- color: blue;
-}
-
-:local(.-a0-34a___f) {
- color: red;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`localIdentName option basic: warnings 1`] = `Array []`;
-
-exports[`localIdentName option should have hash: errors 1`] = `Array []`;
-
-exports[`localIdentName option should have hash: locals 1`] = `undefined`;
-
-exports[`localIdentName option should have hash: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ":local(.test) {
- background: red;
-}
-
-:local(._test) {
- background: blue;
-}
-
-:local(.className) {
- background: red;
-}
-
-:local(#someId) {
- background: green;
-}
-
-:local(.className .subClass) {
- color: green;
-}
-
-:local(#someId .subClass) {
- color: blue;
-}
-
-:local(.-a0-34a___f) {
- color: red;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`localIdentName option should have hash: warnings 1`] = `Array []`;
-
-exports[`localIdentName option should have path naming with context: errors 1`] = `Array []`;
-
-exports[`localIdentName option should have path naming with context: locals 1`] = `undefined`;
-
-exports[`localIdentName option should have path naming with context: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ":local(.test) {
- background: red;
-}
-
-:local(._test) {
- background: blue;
-}
-
-:local(.className) {
- background: red;
-}
-
-:local(#someId) {
- background: green;
-}
-
-:local(.className .subClass) {
- color: green;
-}
-
-:local(#someId .subClass) {
- color: blue;
-}
-
-:local(.-a0-34a___f) {
- color: red;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`localIdentName option should have path naming with context: warnings 1`] = `Array []`;
-
-exports[`localIdentName option should prefixes leading hyphen + digit with underscore: errors 1`] = `Array []`;
-
-exports[`localIdentName option should prefixes leading hyphen + digit with underscore: locals 1`] = `undefined`;
-
-exports[`localIdentName option should prefixes leading hyphen + digit with underscore: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ":local(.test) {
- background: red;
-}
-
-:local(._test) {
- background: blue;
-}
-
-:local(.className) {
- background: red;
-}
-
-:local(#someId) {
- background: green;
-}
-
-:local(.className .subClass) {
- color: green;
-}
-
-:local(#someId .subClass) {
- color: blue;
-}
-
-:local(.-a0-34a___f) {
- color: red;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`localIdentName option should prefixes leading hyphen + digit with underscore: warnings 1`] = `Array []`;
-
-exports[`localIdentName option should prefixes two leading hyphens with underscore: errors 1`] = `Array []`;
-
-exports[`localIdentName option should prefixes two leading hyphens with underscore: locals 1`] = `undefined`;
-
-exports[`localIdentName option should prefixes two leading hyphens with underscore: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ":local(.test) {
- background: red;
-}
-
-:local(._test) {
- background: blue;
-}
-
-:local(.className) {
- background: red;
-}
-
-:local(#someId) {
- background: green;
-}
-
-:local(.className .subClass) {
- color: green;
-}
-
-:local(#someId .subClass) {
- color: blue;
-}
-
-:local(.-a0-34a___f) {
- color: red;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`localIdentName option should prefixes two leading hyphens with underscore: warnings 1`] = `Array []`;
-
-exports[`localIdentName option should saves underscore prefix in exported class names: errors 1`] = `Array []`;
-
-exports[`localIdentName option should saves underscore prefix in exported class names: locals 1`] = `undefined`;
-
-exports[`localIdentName option should saves underscore prefix in exported class names: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ":local(.test) {
- background: red;
-}
-
-:local(._test) {
- background: blue;
-}
-
-:local(.className) {
- background: red;
-}
-
-:local(#someId) {
- background: green;
-}
-
-:local(.className .subClass) {
- color: green;
-}
-
-:local(#someId .subClass) {
- color: blue;
-}
-
-:local(.-a0-34a___f) {
- color: red;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`localIdentName option should saves underscore prefix in exported class names: warnings 1`] = `Array []`;
-
-exports[`localIdentName option should use hash prefix: errors 1`] = `Array []`;
-
-exports[`localIdentName option should use hash prefix: locals 1`] = `undefined`;
-
-exports[`localIdentName option should use hash prefix: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ":local(.test) {
- background: red;
-}
-
-:local(._test) {
- background: blue;
-}
-
-:local(.className) {
- background: red;
-}
-
-:local(#someId) {
- background: green;
-}
-
-:local(.className .subClass) {
- color: green;
-}
-
-:local(#someId .subClass) {
- color: blue;
-}
-
-:local(.-a0-34a___f) {
- color: red;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`localIdentName option should use hash prefix: warnings 1`] = `Array []`;
diff --git a/test/__snapshots__/modules-option.test.js.snap b/test/__snapshots__/modules-option.test.js.snap
index 45d35998..37c78af1 100644
--- a/test/__snapshots__/modules-option.test.js.snap
+++ b/test/__snapshots__/modules-option.test.js.snap
@@ -1,86 +1,138 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`modules case \`animation\`: (export \`all\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`animation\`: (export \`all\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
-
-exports[`modules case \`animation\`: (export \`all\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "a {
- animation: slide-right 300ms forwards ease-out, fade-in 300ms forwards ease-out;
+exports[`"modules" option issue #286: errors 1`] = `[]`;
+
+exports[`"modules" option issue #286: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+import ___CSS_LOADER_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "./dep.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, "", true);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.b--main { }
+\`, ""]);
+// Exports
+export var main = \`b--main \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["red"]}\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
-}
+exports[`"modules" option issue #286: result 1`] = `
+[
+ [
+ "./modules/issue-286/dep.css",
+ ".a--red { color: red }
+",
+ "",
+ ],
+ [
+ "./modules/issue-286/source.css",
+ ".b--main { }
",
"",
],
]
`;
-exports[`modules case \`animation\`: (export \`all\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`animation\`: (export \`all\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+exports[`"modules" option issue #286: warnings 1`] = `[]`;
-exports[`modules case \`animation\`: (export \`all\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
+exports[`"modules" option issue #636: errors 1`] = `[]`;
-exports[`modules case \`animation\`: (export \`all\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "a {
- animation: slide-right 300ms forwards ease-out, fade-in 300ms forwards ease-out;
+exports[`"modules" option issue #636: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+import ___CSS_LOADER_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./foo.scss";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, "", true);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.prefix-bar {
+}\`, ""]);
+// Exports
+export var bar = \`prefix-bar \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["foo"]}\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
-}
-",
+exports[`"modules" option issue #636: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./modules/issue-636/foo.scss",
+ ".prefix-foo {
+ color: red;
+}",
+ "",
+ ],
+ [
+ "./modules/issue-636/source.scss",
+ ".prefix-bar {
+}",
"",
],
]
`;
-exports[`modules case \`animation\`: (export \`all\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+exports[`"modules" option issue #636: warnings 1`] = `[]`;
-exports[`modules case \`animation\`: (export \`all\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+exports[`"modules" option issue #861: errors 1`] = `[]`;
-exports[`modules case \`animation\`: (export \`all\`) (\`modules\` value is \`local)\`: locals 1`] = `
-Object {
- "fade-in": "_fade-in",
- "slide-right": "_slide-right",
+exports[`"modules" option issue #861: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+import ___CSS_LOADER_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./node_modules/@localpackage/color.css";
+import ___CSS_LOADER_ICSS_IMPORT_1___, * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./node_modules/@localpackage/style.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_1___, "", true);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.y19CYJvfPsY__wKRrRBJ {
+ color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color-grey"] };
+ margin: 0;
+ padding: 0;
}
+\`, ""]);
+// Exports
+var _1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color-grey"]}\`;
+export { _1 as "color-grey" };
+export var copyright = \`y19CYJvfPsY__wKRrRBJ \${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["type-heading"]}\`;
+export default ___CSS_LOADER_EXPORT___;
+"
`;
-exports[`modules case \`animation\`: (export \`all\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "a {
- animation: _slide-right 300ms forwards ease-out, _fade-in 300ms forwards ease-out;
-
+exports[`"modules" option issue #861: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/issue-861/node_modules/@localpackage/color.css",
+ "
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/issue-861/node_modules/@otherlocalpackage/style.css",
+ ".RkMzgETKHXnuOl77obC2 {
+ display: flex;
}
",
"",
],
-]
-`;
-
-exports[`modules case \`animation\`: (export \`all\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`animation\`: (export \`all\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`animation\`: (export \`all\`) (\`modules\` value is \`true)\`: locals 1`] = `
-Object {
- "fade-in": "_fade-in",
- "slide-right": "_slide-right",
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/issue-861/node_modules/@localpackage/style.css",
+ ".z7lux7p74VniQzqVx2Bi {
+ color: red;
+ margin: 0;
+ padding: 0;
}
-`;
-
-exports[`modules case \`animation\`: (export \`all\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "a {
- animation: _slide-right 300ms forwards ease-out, _fade-in 300ms forwards ease-out;
-
+",
+ "",
+ ],
+ [
+ "./modules/issue-861/resolving-from-node_modules.css",
+ ".y19CYJvfPsY__wKRrRBJ {
+ color: gray;
+ margin: 0;
+ padding: 0;
}
",
"",
@@ -88,60 +140,74 @@ Array [
]
`;
-exports[`modules case \`animation\`: (export \`all\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`animation\`: (export \`only locals\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`animation\`: (export \`only locals\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
-
-exports[`modules case \`animation\`: (export \`only locals\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `Object {}`;
-
-exports[`modules case \`animation\`: (export \`only locals\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`animation\`: (export \`only locals\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+exports[`"modules" option issue #861: warnings 1`] = `[]`;
-exports[`modules case \`animation\`: (export \`only locals\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
+exports[`"modules" option issue #966 - values in selectors aren't escaped properly: errors 1`] = `[]`;
-exports[`modules case \`animation\`: (export \`only locals\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `Object {}`;
-
-exports[`modules case \`animation\`: (export \`only locals\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`animation\`: (export \`only locals\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`animation\`: (export \`only locals\`) (\`modules\` value is \`local)\`: locals 1`] = `undefined`;
-
-exports[`modules case \`animation\`: (export \`only locals\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Object {
- "fade-in": "_fade-in",
- "slide-right": "_slide-right",
+exports[`"modules" option issue #966 - values in selectors aren't escaped properly: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`._7-foo-class {
+ color: red;
}
-`;
-exports[`modules case \`animation\`: (export \`only locals\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+.\\\\--bar-class {
+ color: red;
+}
-exports[`modules case \`animation\`: (export \`only locals\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+.\\\\--baz-class {
+ color: red;
+}
-exports[`modules case \`animation\`: (export \`only locals\`) (\`modules\` value is \`true)\`: locals 1`] = `undefined`;
+.fooBaz-class-continuation {
+ color: red;
+}
-exports[`modules case \`animation\`: (export \`only locals\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Object {
- "fade-in": "_fade-in",
- "slide-right": "_slide-right",
+.some.class {
+ color: red;
+}
+\`, ""]);
+// Exports
+var _1 = \`_7-foo-class\`;
+export { _1 as "foo-class" };
+var _2 = \`--bar-class\`;
+export { _2 as "bar-class" };
+var _3 = \`--baz-class\`;
+export { _3 as "baz-class" };
+var _4 = \`fooBaz-class-continuation\`;
+export { _4 as "fooBaz-class" };
+export var some = \`some\`;
+var _5 = \`class\`;
+export { _5 as "class" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option issue #966 - values in selectors aren't escaped properly: result 1`] = `
+[
+ [
+ "./modules/issue-966/issue-966.css",
+ "._7-foo-class {
+ color: red;
}
-`;
-exports[`modules case \`animation\`: (export \`only locals\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
+.\\--bar-class {
+ color: red;
+}
-exports[`modules case \`class-names\`: (export \`all\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+.\\--baz-class {
+ color: red;
+}
-exports[`modules case \`class-names\`: (export \`all\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+.fooBaz-class-continuation {
+ color: red;
+}
-exports[`modules case \`class-names\`: (export \`all\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ".class-1, .class-10 .bar-1 {
- color: green;
+.some.class {
+ color: red;
}
",
"",
@@ -149,18 +215,32 @@ Array [
]
`;
-exports[`modules case \`class-names\`: (export \`all\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+exports[`"modules" option issue #966 - values in selectors aren't escaped properly: warnings 1`] = `[]`;
-exports[`modules case \`class-names\`: (export \`all\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+exports[`"modules" option issue #966: errors 1`] = `[]`;
-exports[`modules case \`class-names\`: (export \`all\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
+exports[`"modules" option issue #966: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.button-hey {
+ color: red;
+}
+\`, ""]);
+// Exports
+export var button = \`button-hey\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
-exports[`modules case \`class-names\`: (export \`all\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ".class-1, .class-10 .bar-1 {
- color: green;
+exports[`"modules" option issue #966: result 1`] = `
+[
+ [
+ "./modules/issue-966/button.css",
+ ".button-hey {
+ color: red;
}
",
"",
@@ -168,24 +248,52 @@ Array [
]
`;
-exports[`modules case \`class-names\`: (export \`all\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+exports[`"modules" option issue #966: warnings 1`] = `[]`;
-exports[`modules case \`class-names\`: (export \`all\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+exports[`"modules" option issue #967: errors 1`] = `[]`;
-exports[`modules case \`class-names\`: (export \`all\`) (\`modules\` value is \`local)\`: locals 1`] = `
-Object {
- "bar-1": "_bar-1",
- "class-1": "_class-1",
- "class-10": "_class-10",
+exports[`"modules" option issue #967: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.modules-issue-967-path-placeholder__foo__--sep---sep---sep---sep----sep---sep---sep---sep---sep-- {
+ color: red;
}
-`;
-exports[`modules case \`class-names\`: (export \`all\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._class-1, ._class-10 ._bar-1 {
- color: green;
+.modules-issue-967-path-placeholder__foo\\\\/bar__--sep---sep---sep---sep----sep---sep---sep---sep---sep-- {
+ color: blue;
+}
+
+.modules-issue-967-path-placeholder__\\\\[\\\\/\\\\?\\\\<\\\\>\\\\\\\\\\\\\\\\\\\\3A \\\\*\\\\|\\\\"\\\\3A \\\\]__--sep---sep---sep---sep----sep---sep---sep---sep---sep-- {
+ color: yellow;
+}
+\`, ""]);
+// Exports
+export var foo = \`modules-issue-967-path-placeholder__foo__--sep---sep---sep---sep----sep---sep---sep---sep---sep--\`;
+var _1 = \`modules-issue-967-path-placeholder__foo/bar__--sep---sep---sep---sep----sep---sep---sep---sep---sep--\`;
+export { _1 as "foo/bar" };
+var _2 = \`modules-issue-967-path-placeholder__[/?<>\\\\\\\\:*|":]__--sep---sep---sep---sep----sep---sep---sep---sep---sep--\`;
+export { _2 as "[/?<>\\\\\\\\:*|\\":]" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option issue #967: result 1`] = `
+[
+ [
+ "./modules/issue-967/path-placeholder.css",
+ ".modules-issue-967-path-placeholder__foo__--sep---sep---sep---sep----sep---sep---sep---sep---sep-- {
+ color: red;
+}
+
+.modules-issue-967-path-placeholder__foo\\/bar__--sep---sep---sep---sep----sep---sep---sep---sep---sep-- {
+ color: blue;
+}
+
+.modules-issue-967-path-placeholder__\\[\\/\\?\\<\\>\\\\\\\\\\3A \\*\\|\\"\\3A \\]__--sep---sep---sep---sep----sep---sep---sep---sep---sep-- {
+ color: yellow;
}
",
"",
@@ -193,24 +301,32 @@ Array [
]
`;
-exports[`modules case \`class-names\`: (export \`all\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+exports[`"modules" option issue #967: warnings 1`] = `[]`;
-exports[`modules case \`class-names\`: (export \`all\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+exports[`"modules" option issue #980: errors 1`] = `[]`;
-exports[`modules case \`class-names\`: (export \`all\`) (\`modules\` value is \`true)\`: locals 1`] = `
-Object {
- "bar-1": "_bar-1",
- "class-1": "_class-1",
- "class-10": "_class-10",
+exports[`"modules" option issue #980: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.file-with-many-dots-in-name_a_KwVdi {
+ color: red;
}
+\`, ""]);
+// Exports
+export var a = \`file-with-many-dots-in-name_a_KwVdi\`;
+export default ___CSS_LOADER_EXPORT___;
+"
`;
-exports[`modules case \`class-names\`: (export \`all\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._class-1, ._class-10 ._bar-1 {
- color: green;
+exports[`"modules" option issue #980: result 1`] = `
+[
+ [
+ "./modules/issue-980/file.with.many.dots.in.name.css",
+ ".file-with-many-dots-in-name_a_KwVdi {
+ color: red;
}
",
"",
@@ -218,981 +334,1399 @@ Array [
]
`;
-exports[`modules case \`class-names\`: (export \`all\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`class-names\`: (export \`only locals\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+exports[`"modules" option issue #980: warnings 1`] = `[]`;
-exports[`modules case \`class-names\`: (export \`only locals\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+exports[`"modules" option issue #995 #2: errors 1`] = `[]`;
-exports[`modules case \`class-names\`: (export \`only locals\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `Object {}`;
+exports[`"modules" option issue #995 #2: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`/* class="😀" */
+.a {
+ color: red;
+}
-exports[`modules case \`class-names\`: (export \`only locals\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+/* class="😀 😓" */
+.a.b {
+ color: red;
+}
-exports[`modules case \`class-names\`: (export \`only locals\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+/* class="😀" > class="😓" */
+.a .b {
+ color: red;
+}
-exports[`modules case \`class-names\`: (export \`only locals\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
+/* class="😀" */
+.😀 {
+ color: red;
+}
-exports[`modules case \`class-names\`: (export \`only locals\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `Object {}`;
+/* class="😀 😓" */
+.😀.😓 {
+ color: red;
+}
-exports[`modules case \`class-names\`: (export \`only locals\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+/* class="😀" > class="😓" */
+.😀 .😓 {
+ color: red;
+}
-exports[`modules case \`class-names\`: (export \`only locals\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+/* class="😀" */
+.\\\\1F600 {
+ color: red;
+}
-exports[`modules case \`class-names\`: (export \`only locals\`) (\`modules\` value is \`local)\`: locals 1`] = `undefined`;
+/* class="😀 😓" */
+.\\\\1F600.\\\\1F613 {
+ color: red;
+}
-exports[`modules case \`class-names\`: (export \`only locals\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Object {
- "bar-1": "_bar-1",
- "class-1": "_class-1",
- "class-10": "_class-10",
+/* class="😀" > class="😓" */
+.\\\\1F600 .\\\\1F613 {
+ color: red;
}
-`;
-exports[`modules case \`class-names\`: (export \`only locals\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+/* Local */
-exports[`modules case \`class-names\`: (export \`only locals\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+/* class="😀" */
+.\\\\ {
+ color: red;
+}
-exports[`modules case \`class-names\`: (export \`only locals\`) (\`modules\` value is \`true)\`: locals 1`] = `undefined`;
+/* class="😀 😓" */
+.\\\\ .\\\\ {
+ color: red;
+}
-exports[`modules case \`class-names\`: (export \`only locals\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Object {
- "bar-1": "_bar-1",
- "class-1": "_class-1",
- "class-10": "_class-10",
+/* class="😀" > class="😓" */
+.\\\\ .\\\\ {
+ color: red;
}
-`;
-exports[`modules case \`class-names\`: (export \`only locals\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
+.\\\\1F600 .a .\\\\1F600 {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`all\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+.\\\\ .\\\\ .\\\\ {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`all\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+div:not(.\\\\ ) {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`all\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ":local(.c1/*.c2*/.c3) { background: red; }
-",
- "",
- ],
-]
-`;
+.\\\\ .b {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`all\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+.b .\\\\ {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`all\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+.\\\\1F613 .\\\\ {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`all\`) (\`modules\` value is \`global)\`: locals 1`] = `
-Object {
- "c1": "_c1",
- "c3": "_c3",
+.\\\\1F613 .\\\\ {
+ color: red;
}
-`;
-exports[`modules case \`comment-in-local\`: (export \`all\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._c1/*.c2*/._c3 { background: red; }
-",
- "",
- ],
-]
-`;
+.\\\\ > .\\\\ > .\\\\ {
+ color: red;
+}
+\`, ""]);
+// Exports
+export var a = \` \`;
+export var b = \` \`;
+export var c = \` \`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option issue #995 #2: result 1`] = `
+[
+ [
+ "./modules/issue-995/issue-995.css",
+ "/* class="😀" */
+.a {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`all\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+/* class="😀 😓" */
+.a.b {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`all\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+/* class="😀" > class="😓" */
+.a .b {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`all\`) (\`modules\` value is \`local)\`: locals 1`] = `
-Object {
- "c1": "_c1",
- "c3": "_c3",
+/* class="😀" */
+.😀 {
+ color: red;
}
-`;
-exports[`modules case \`comment-in-local\`: (export \`all\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._c1/*.c2*/._c3 { background: red; }
-",
- "",
- ],
-]
-`;
+/* class="😀 😓" */
+.😀.😓 {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`all\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+/* class="😀" > class="😓" */
+.😀 .😓 {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`all\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+/* class="😀" */
+.\\1F600 {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`all\`) (\`modules\` value is \`true)\`: locals 1`] = `
-Object {
- "c1": "_c1",
- "c3": "_c3",
+/* class="😀 😓" */
+.\\1F600.\\1F613 {
+ color: red;
}
-`;
-exports[`modules case \`comment-in-local\`: (export \`all\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._c1/*.c2*/._c3 { background: red; }
-",
- "",
- ],
-]
-`;
+/* class="😀" > class="😓" */
+.\\1F600 .\\1F613 {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`all\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
+/* Local */
-exports[`modules case \`comment-in-local\`: (export \`only locals\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+/* class="😀" */
+.\\ {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`only locals\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+/* class="😀 😓" */
+.\\ .\\ {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`only locals\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `Object {}`;
+/* class="😀" > class="😓" */
+.\\ .\\ {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`only locals\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+.\\1F600 .a .\\1F600 {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`only locals\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+.\\ .\\ .\\ {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`only locals\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
+div:not(.\\ ) {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`only locals\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Object {
- "c1": "_c1",
- "c3": "_c3",
+.\\ .b {
+ color: red;
}
-`;
-exports[`modules case \`comment-in-local\`: (export \`only locals\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+.b .\\ {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`only locals\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+.\\1F613 .\\ {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`only locals\`) (\`modules\` value is \`local)\`: locals 1`] = `undefined`;
+.\\1F613 .\\ {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`only locals\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Object {
- "c1": "_c1",
- "c3": "_c3",
+.\\ > .\\ > .\\ {
+ color: red;
}
+",
+ "",
+ ],
+]
`;
-exports[`modules case \`comment-in-local\`: (export \`only locals\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+exports[`"modules" option issue #995 #2: warnings 1`] = `[]`;
-exports[`modules case \`comment-in-local\`: (export \`only locals\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+exports[`"modules" option issue #995: errors 1`] = `[]`;
-exports[`modules case \`comment-in-local\`: (export \`only locals\`) (\`modules\` value is \`true)\`: locals 1`] = `undefined`;
+exports[`"modules" option issue #995: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`/* class="😀" */
+.a {
+ color: red;
+}
-exports[`modules case \`comment-in-local\`: (export \`only locals\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Object {
- "c1": "_c1",
- "c3": "_c3",
+/* class="😀 😓" */
+.a.b {
+ color: red;
}
-`;
-exports[`modules case \`comment-in-local\`: (export \`only locals\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
+/* class="😀" > class="😓" */
+.a .b {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`all\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+/* class="😀" */
+.😀 {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`all\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+/* class="😀 😓" */
+.😀.😓 {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`all\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "/*
- * a ' above
- */
+/* class="😀" > class="😓" */
+.😀 .😓 {
+ color: red;
+}
-.bg {
- background-image: url(/webpack/public/path/img.png);
+/* class="😀" */
+.\\\\1F600 {
+ color: red;
}
-/*
- * a ' below
- */
-",
- "",
- ],
-]
-`;
-
-exports[`modules case \`comments\`: (export \`all\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`comments\`: (export \`all\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`comments\`: (export \`all\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
-
-exports[`modules case \`comments\`: (export \`all\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "/*
- * a ' above
- */
-
-.bg {
- background-image: url(/webpack/public/path/img.png);
+/* class="😀 😓" */
+.\\\\1F600.\\\\1F613 {
+ color: red;
}
-/*
- * a ' below
- */
-",
- "",
- ],
-]
-`;
+/* class="😀" > class="😓" */
+.\\\\1F600 .\\\\1F613 {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`all\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+/* Local */
-exports[`modules case \`comments\`: (export \`all\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+/* class="😀" */
+.😀 {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`all\`) (\`modules\` value is \`local)\`: locals 1`] = `
-Object {
- "bg": "_bg",
+/* class="😀 😓" */
+.😀.😀 {
+ color: red;
}
-`;
-exports[`modules case \`comments\`: (export \`all\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "/*
- * a ' above
- */
+/* class="😀" > class="😓" */
+.😀 .😀 {
+ color: red;
+}
-._bg {
- background-image: url(/webpack/public/path/img.png);
+.\\\\1F600 .a .\\\\1F600 {
+ color: red;
}
-/*
- * a ' below
- */
-",
- "",
- ],
-]
-`;
+.😀 .😀 .😀 {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`all\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+div:not(.😀) {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`all\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+.😀 .b {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`all\`) (\`modules\` value is \`true)\`: locals 1`] = `
-Object {
- "bg": "_bg",
+.b .😀 {
+ color: red;
}
-`;
-exports[`modules case \`comments\`: (export \`all\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "/*
- * a ' above
- */
+.\\\\1F613 .😀 {
+ color: red;
+}
-._bg {
- background-image: url(/webpack/public/path/img.png);
+.\\\\1F613 .😀 {
+ color: red;
}
-/*
- * a ' below
- */
-",
- "",
- ],
-]
-`;
+.😀 > .😀 > .😀 {
+ color: red;
+}
+\`, ""]);
+// Exports
+export var a = \`😀\`;
+export var b = \`😀\`;
+export var c = \`😀\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option issue #995: result 1`] = `
+[
+ [
+ "./modules/issue-995/issue-995.css",
+ "/* class="😀" */
+.a {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`all\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
+/* class="😀 😓" */
+.a.b {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`only locals\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+/* class="😀" > class="😓" */
+.a .b {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`only locals\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+/* class="😀" */
+.😀 {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`only locals\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `Object {}`;
+/* class="😀 😓" */
+.😀.😓 {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`only locals\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+/* class="😀" > class="😓" */
+.😀 .😓 {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`only locals\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+/* class="😀" */
+.\\1F600 {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`only locals\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
+/* class="😀 😓" */
+.\\1F600.\\1F613 {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`only locals\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `Object {}`;
+/* class="😀" > class="😓" */
+.\\1F600 .\\1F613 {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`only locals\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+/* Local */
-exports[`modules case \`comments\`: (export \`only locals\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+/* class="😀" */
+.😀 {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`only locals\`) (\`modules\` value is \`local)\`: locals 1`] = `undefined`;
+/* class="😀 😓" */
+.😀.😀 {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`only locals\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Object {
- "bg": "_bg",
+/* class="😀" > class="😓" */
+.😀 .😀 {
+ color: red;
}
-`;
-exports[`modules case \`comments\`: (export \`only locals\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+.\\1F600 .a .\\1F600 {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`only locals\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+.😀 .😀 .😀 {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`only locals\`) (\`modules\` value is \`true)\`: locals 1`] = `undefined`;
+div:not(.😀) {
+ color: red;
+}
-exports[`modules case \`comments\`: (export \`only locals\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Object {
- "bg": "_bg",
+.😀 .b {
+ color: red;
}
-`;
-exports[`modules case \`comments\`: (export \`only locals\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
+.b .😀 {
+ color: red;
+}
-exports[`modules case \`composes\`: (export \`all\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+.\\1F613 .😀 {
+ color: red;
+}
-exports[`modules case \`composes\`: (export \`all\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+.\\1F613 .😀 {
+ color: red;
+}
-exports[`modules case \`composes\`: (export \`all\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ":local(.c1) { a: 1; }
-:local(.c2) { composes: c1; b: 1; }
+.😀 > .😀 > .😀 {
+ color: red;
+}
",
"",
],
]
`;
-exports[`modules case \`composes\`: (export \`all\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`composes\`: (export \`all\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`composes\`: (export \`all\`) (\`modules\` value is \`global)\`: locals 1`] = `
-Object {
- "c1": "_c1",
- "c2": "_c2 _c1",
-}
-`;
+exports[`"modules" option issue #995: warnings 1`] = `[]`;
-exports[`modules case \`composes\`: (export \`all\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._c1 { a: 1; }
-._c2 { b: 1; }
-",
- "",
- ],
+exports[`"modules" option issue #1063 throw error: errors 1`] = `
+[
+ "ModuleError: Module Error (from \`replaced original path\`):
+options.mode must be either "global", "local" or "pure" (default "local")",
+ "ModuleError: Module Error (from \`replaced original path\`):
+options.mode must be either "global", "local" or "pure" (default "local")",
+ "ModuleError: Module Error (from \`replaced original path\`):
+options.mode must be either "global", "local" or "pure" (default "local")",
]
`;
-exports[`modules case \`composes\`: (export \`all\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`composes\`: (export \`all\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`composes\`: (export \`all\`) (\`modules\` value is \`local)\`: locals 1`] = `
-Object {
- "c1": "_c1",
- "c2": "_c2 _c1",
+exports[`"modules" option issue #1063 throw error: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.classNameLocalFile {
+ color: green;
}
-`;
-exports[`modules case \`composes\`: (export \`all\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._c1 { a: 1; }
-._c2 { b: 1; }
-",
- "",
- ],
-]
+:global(.otherClassLocalFile) {
+ color: blue;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
`;
-exports[`modules case \`composes\`: (export \`all\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`composes\`: (export \`all\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`composes\`: (export \`all\`) (\`modules\` value is \`true)\`: locals 1`] = `
-Object {
- "c1": "_c1",
- "c2": "_c2 _c1",
+exports[`"modules" option issue #1063 throw error: module 2`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.classNameGlobalFile {
+ color: black;
}
-`;
-exports[`modules case \`composes\`: (export \`all\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._c1 { a: 1; }
-._c2 { b: 1; }
-",
- "",
- ],
-]
+:local(.otherClassGlobalFile) {
+ color: coral;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
`;
-exports[`modules case \`composes\`: (export \`all\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`composes\`: (export \`only locals\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+exports[`"modules" option issue #1063 throw error: result 1`] = `
+".classNameLocalFile {
+ color: green;
+}
-exports[`modules case \`composes\`: (export \`only locals\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+:global(.otherClassLocalFile) {
+ color: blue;
+}
+.classNameGlobalFile {
+ color: black;
+}
-exports[`modules case \`composes\`: (export \`only locals\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `Object {}`;
+:local(.otherClassGlobalFile) {
+ color: coral;
+}
+.foo :local(.bar) {
+ color: red;
+}
+"
+`;
-exports[`modules case \`composes\`: (export \`only locals\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+exports[`"modules" option issue #1063 throw error: warnings 1`] = `[]`;
-exports[`modules case \`composes\`: (export \`only locals\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+exports[`"modules" option issue #1063: errors 1`] = `[]`;
-exports[`modules case \`composes\`: (export \`only locals\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
+exports[`"modules" option issue #1063: module with the \`global\` mode 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.classNameGlobalFile {
+ color: black;
+}
-exports[`modules case \`composes\`: (export \`only locals\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Object {
- "c1": "_c1",
- "c2": "_c2 _c1",
+.OgdGONvTFtVRlDH24Xxl {
+ color: coral;
}
+\`, ""]);
+// Exports
+export var otherClassGlobalFile = \`OgdGONvTFtVRlDH24Xxl\`;
+export default ___CSS_LOADER_EXPORT___;
+"
`;
-exports[`modules case \`composes\`: (export \`only locals\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`composes\`: (export \`only locals\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`composes\`: (export \`only locals\`) (\`modules\` value is \`local)\`: locals 1`] = `undefined`;
+exports[`"modules" option issue #1063: module with the \`local\` mode 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.XQP_Uob2ss9FjIlDgMOk {
+ color: green;
+}
-exports[`modules case \`composes\`: (export \`only locals\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Object {
- "c1": "_c1",
- "c2": "_c2 _c1",
+.otherClassLocalFile {
+ color: blue;
}
+\`, ""]);
+// Exports
+export var classNameLocalFile = \`XQP_Uob2ss9FjIlDgMOk\`;
+export default ___CSS_LOADER_EXPORT___;
+"
`;
-exports[`modules case \`composes\`: (export \`only locals\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+exports[`"modules" option issue #1063: module with the \`pure\` mode 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.O3Bw7YaDjucmoBcLTWv6 .bsnf8w1D6AQzl0nVBMef {
+ color: red;
+}
+\`, ""]);
+// Exports
+export var foo = \`O3Bw7YaDjucmoBcLTWv6\`;
+export var bar = \`bsnf8w1D6AQzl0nVBMef\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
-exports[`modules case \`composes\`: (export \`only locals\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+exports[`"modules" option issue #1063: result 1`] = `
+".XQP_Uob2ss9FjIlDgMOk {
+ color: green;
+}
-exports[`modules case \`composes\`: (export \`only locals\`) (\`modules\` value is \`true)\`: locals 1`] = `undefined`;
+.otherClassLocalFile {
+ color: blue;
+}
+.classNameGlobalFile {
+ color: black;
+}
-exports[`modules case \`composes\`: (export \`only locals\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Object {
- "c1": "_c1",
- "c2": "_c2 _c1",
+.OgdGONvTFtVRlDH24Xxl {
+ color: coral;
+}
+.O3Bw7YaDjucmoBcLTWv6 .bsnf8w1D6AQzl0nVBMef {
+ color: red;
}
+"
`;
-exports[`modules case \`composes\`: (export \`only locals\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`composes-1\`: (export \`all\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+exports[`"modules" option issue #1063: warnings 1`] = `[]`;
-exports[`modules case \`composes-1\`: (export \`all\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+exports[`"modules" option issue #1191 - fallback to default getLocalIdent: errors 1`] = `[]`;
-exports[`modules case \`composes-1\`: (export \`all\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ":local(.c1) { composes: c2 from \\"./file.css\\"; b: 1; }
-:local(.c3) { composes: c1; b: 3; }
-:local(.c5) { composes: c2 c4 from \\"./file.css\\"; b: 5; }
+exports[`"modules" option issue #1191 - fallback to default getLocalIdent: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.some-class {
+ color: red;
+}
+\`, ""]);
+// Exports
+var _1 = \`some-class\`;
+export { _1 as "some-class" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option issue #1191 - fallback to default getLocalIdent: result 1`] = `
+{
+ "css1": [
+ [
+ "./modules/issue-1191/issue-1191.css",
+ ".some-class {
+ color: red;
+}
",
- "",
+ "",
+ ],
],
-]
+ "css2": [
+ [
+ "./modules/issue-1191/issue-1191-custom.css",
+ ".custom-some-class {
+ color: red;
+}
+",
+ "",
+ ],
+ ],
+}
`;
-exports[`modules case \`composes-1\`: (export \`all\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+exports[`"modules" option issue #1191 - fallback to default getLocalIdent: warnings 1`] = `[]`;
-exports[`modules case \`composes-1\`: (export \`all\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+exports[`"modules" option should avoid unnecessary "require": errors 1`] = `[]`;
-exports[`modules case \`composes-1\`: (export \`all\`) (\`modules\` value is \`global)\`: locals 1`] = `
-Object {
- "c1": "_c1 _c2",
- "c3": "_c3 _c1 _c2",
- "c5": "_c5 _c2 _c4",
-}
-`;
-
-exports[`modules case \`composes-1\`: (export \`all\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- "._c2 {
+exports[`"modules" option should avoid unnecessary "require": module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+import ___CSS_LOADER_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported-simple.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, "", true);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.Ps8VWEq9D6yYDbYD8Z74 {
color: red;
}
-._c4 {
- color: blue;
+.RoQqX1UKTeWtDXMISYk9 {
+ color: red;
}
-
-.test{
- c: d
+\`, ""]);
+// Exports
+var _1 = \`Ps8VWEq9D6yYDbYD8Z74 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["imported-simple"]}\`;
+export { _1 as "simple-foo" };
+var _2 = \`RoQqX1UKTeWtDXMISYk9 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["imported-simple"]}\`;
+export { _2 as "simple-bar" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should avoid unnecessary "require": result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/imported-simple.css",
+ ".pCAAqHK9Lcplw9QM7Rj0 {
+ display: block;
}
",
"",
],
- Array [
- 1,
- "._c1 { b: 1; }
-._c3 { b: 3; }
-._c5 { b: 5; }
+ [
+ "./modules/composes/composes-duplicate.css",
+ ".Ps8VWEq9D6yYDbYD8Z74 {
+ color: red;
+}
+
+.RoQqX1UKTeWtDXMISYk9 {
+ color: red;
+}
",
"",
],
]
`;
-exports[`modules case \`composes-1\`: (export \`all\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+exports[`"modules" option should avoid unnecessary "require": warnings 1`] = `[]`;
-exports[`modules case \`composes-1\`: (export \`all\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+exports[`"modules" option should dedupe same modules in one module (issue #1037): errors 1`] = `[]`;
-exports[`modules case \`composes-1\`: (export \`all\`) (\`modules\` value is \`local)\`: locals 1`] = `
-Object {
- "c1": "_c1 _c2",
- "c3": "_c3 _c1 _c2",
- "c5": "_c5 _c2 _c4",
+exports[`"modules" option should dedupe same modules in one module (issue #1037): module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+import ___CSS_LOADER_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./buttons/primary-button.css";
+import ___CSS_LOADER_ICSS_IMPORT_1___, * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./buttons/secondary-button.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_1___, "", true);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.cxBUjVsu_UGx0Xg0ywCw
+{
}
-`;
-exports[`modules case \`composes-1\`: (export \`all\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- "._c2 {
- color: red;
+.mKgsL_hCxK21zxRDQMbn
+{
}
-
-._c4 {
- color: blue;
+\`, ""]);
+// Exports
+export var nextButton = \`cxBUjVsu_UGx0Xg0ywCw \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primaryButton"]}\`;
+export var backButton = \`mKgsL_hCxK21zxRDQMbn \${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["secondaryButton"]}\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should dedupe same modules in one module (issue #1037): result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/dedupe/buttons/button.css",
+ ".ETyYv0AQ15QGLXaOjUIU
+{
+ border:none;
+ padding:7px 15px;
+ cursor:pointer;
}
-
-._test{
- c: d
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/dedupe/buttons/primary-button.css",
+ ".T3rsQRYGiFPb789T3nPW
+{
+ background-color:blue;
+ color:white;
}
",
"",
],
- Array [
- 1,
- "._c1 { b: 1; }
-._c3 { b: 3; }
-._c5 { b: 5; }
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/dedupe/buttons/secondary-button.css",
+ "._BsvPO61W5jn4UqX0Jck
+{
+ background-color:#555;
+ color:white;
+}
+",
+ "",
+ ],
+ [
+ "./modules/dedupe/source.css",
+ ".cxBUjVsu_UGx0Xg0ywCw
+{
+}
+
+.mKgsL_hCxK21zxRDQMbn
+{
+}
",
"",
],
]
`;
-exports[`modules case \`composes-1\`: (export \`all\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+exports[`"modules" option should dedupe same modules in one module (issue #1037): warnings 1`] = `[]`;
+
+exports[`"modules" option should emit warning when localIdentName is emoji: errors 1`] = `[]`;
+
+exports[`"modules" option should emit warning when localIdentName is emoji: warnings 1`] = `[]`;
+
+exports[`"modules" option should invoke the custom getJSON function if provided: args 1`] = `
+[
+ [
+ {
+ "exports": [
+ {
+ "name": "a",
+ "value": "RT7ktT7mB7tfBR25sJDZ ___CSS_LOADER_ICSS_IMPORT_0_REPLACEMENT_0___",
+ },
+ {
+ "name": "b",
+ "value": "IZmhTnK9CIeu6ww6Zjbv ___CSS_LOADER_ICSS_IMPORT_0_REPLACEMENT_1___",
+ },
+ ],
+ "imports": [
+ {
+ "importName": "___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___",
+ "url": ""../../../../src/runtime/noSourceMaps.js"",
+ },
+ {
+ "importName": "___CSS_LOADER_API_IMPORT___",
+ "type": "api_import",
+ "url": ""../../../../src/runtime/api.js"",
+ },
+ {
+ "icss": true,
+ "importName": "___CSS_LOADER_ICSS_IMPORT_0___",
+ "index": 0,
+ "type": "icss_import",
+ "url": ""-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./composeSource.css"",
+ },
+ ],
+ "replacements": [
+ {
+ "importName": "___CSS_LOADER_ICSS_IMPORT_0___",
+ "localName": "composedA",
+ "replacementName": "___CSS_LOADER_ICSS_IMPORT_0_REPLACEMENT_0___",
+ },
+ {
+ "importName": "___CSS_LOADER_ICSS_IMPORT_0___",
+ "localName": "composedB",
+ "replacementName": "___CSS_LOADER_ICSS_IMPORT_0_REPLACEMENT_1___",
+ },
+ ],
+ "resourcePath": "/test/fixtures/modules/getJSON/source.css",
+ },
+ ],
+ [
+ {
+ "exports": [
+ {
+ "name": "composedA",
+ "value": "mm3SuQiO3doywWWliORs",
+ },
+ {
+ "name": "composedB",
+ "value": "hFeFcgvjCoj_9RRA4E59 mm3SuQiO3doywWWliORs",
+ },
+ ],
+ "imports": [
+ {
+ "importName": "___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___",
+ "url": ""../../../../src/runtime/noSourceMaps.js"",
+ },
+ {
+ "importName": "___CSS_LOADER_API_IMPORT___",
+ "type": "api_import",
+ "url": ""../../../../src/runtime/api.js"",
+ },
+ ],
+ "replacements": [],
+ "resourcePath": "/test/fixtures/modules/getJSON/composeSource.css",
+ },
+ ],
+]
+`;
+
+exports[`"modules" option should invoke the custom getJSON function if provided: errors 1`] = `[]`;
-exports[`modules case \`composes-1\`: (export \`all\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+exports[`"modules" option should invoke the custom getJSON function if provided: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+import ___CSS_LOADER_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./composeSource.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, "", true);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.RT7ktT7mB7tfBR25sJDZ {
-exports[`modules case \`composes-1\`: (export \`all\`) (\`modules\` value is \`true)\`: locals 1`] = `
-Object {
- "c1": "_c1 _c2",
- "c3": "_c3 _c1 _c2",
- "c5": "_c5 _c2 _c4",
+ background-color: aliceblue;
}
-`;
-exports[`modules case \`composes-1\`: (export \`all\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- "._c2 {
- color: red;
+.IZmhTnK9CIeu6ww6Zjbv {
+
+ background-color: blanchedalmond;
}
+\`, ""]);
+// Exports
+export var a = \`RT7ktT7mB7tfBR25sJDZ \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["composedA"]}\`;
+export var b = \`IZmhTnK9CIeu6ww6Zjbv \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["composedB"]}\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
-._c4 {
- color: blue;
+exports[`"modules" option should invoke the custom getJSON function if provided: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/getJSON/composeSource.css",
+ ".mm3SuQiO3doywWWliORs {
+ height: 200px;
}
-._test{
- c: d
+.hFeFcgvjCoj_9RRA4E59 {
}
",
"",
],
- Array [
- 1,
- "._c1 { b: 1; }
-._c3 { b: 3; }
-._c5 { b: 5; }
-",
- "",
- ],
-]
-`;
-
-exports[`modules case \`composes-1\`: (export \`all\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`composes-1\`: (export \`only locals\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`composes-1\`: (export \`only locals\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
-
-exports[`modules case \`composes-1\`: (export \`only locals\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `Object {}`;
-
-exports[`modules case \`composes-1\`: (export \`only locals\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`composes-1\`: (export \`only locals\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`composes-1\`: (export \`only locals\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
+ [
+ "./modules/getJSON/source.css",
+ ".RT7ktT7mB7tfBR25sJDZ {
-exports[`modules case \`composes-1\`: (export \`only locals\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Object {
- "c1": "_c1 _c2",
- "c3": "_c3 _c1 _c2",
- "c5": "_c5 _c2 _c4",
+ background-color: aliceblue;
}
-`;
-
-exports[`modules case \`composes-1\`: (export \`only locals\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`composes-1\`: (export \`only locals\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`composes-1\`: (export \`only locals\`) (\`modules\` value is \`local)\`: locals 1`] = `undefined`;
-
-exports[`modules case \`composes-1\`: (export \`only locals\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Object {
- "c1": "_c1 _c2",
- "c3": "_c3 _c1 _c2",
- "c5": "_c5 _c2 _c4",
-}
-`;
-
-exports[`modules case \`composes-1\`: (export \`only locals\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
-exports[`modules case \`composes-1\`: (export \`only locals\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+.IZmhTnK9CIeu6ww6Zjbv {
-exports[`modules case \`composes-1\`: (export \`only locals\`) (\`modules\` value is \`true)\`: locals 1`] = `undefined`;
-
-exports[`modules case \`composes-1\`: (export \`only locals\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Object {
- "c1": "_c1 _c2",
- "c3": "_c3 _c1 _c2",
- "c5": "_c5 _c2 _c4",
+ background-color: blanchedalmond;
}
-`;
-
-exports[`modules case \`composes-1\`: (export \`only locals\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`composes-2\`: (export \`all\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`composes-2\`: (export \`all\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
-
-exports[`modules case \`composes-2\`: (export \`all\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ":local(.c1) { composes: c-2 from \\"./file.css\\"; b: 1; }
-:local(.c3) { composes: c1; b: 3; }
-:local(.c5) { composes: c-2 c4 from \\"./file.css\\"; b: 5; }
",
"",
],
]
`;
-exports[`modules case \`composes-2\`: (export \`all\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+exports[`"modules" option should invoke the custom getJSON function if provided: warnings 1`] = `[]`;
-exports[`modules case \`composes-2\`: (export \`all\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+exports[`"modules" option should keep order: errors 1`] = `[]`;
-exports[`modules case \`composes-2\`: (export \`all\`) (\`modules\` value is \`global)\`: locals 1`] = `
-Object {
- "c1": "_c1 _c-2",
- "c3": "_c3 _c1 _c-2",
- "c5": "_c5 _c-2 _c4",
+exports[`"modules" option should keep order: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+import ___CSS_LOADER_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./order-1.css";
+import ___CSS_LOADER_ICSS_IMPORT_1___, * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./order-2.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_1___, "", true);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.Q9ZbfN73CE9nTzgsOKaJ {
+ display: block;
}
-`;
-exports[`modules case \`composes-2\`: (export \`all\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- "._c-2 {
+.BRalxsptB32EbO5CVyzm {
+ display: inline;
+}
+\`, ""]);
+// Exports
+export var simple = \`Q9ZbfN73CE9nTzgsOKaJ \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["order-1"]} \${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["order-2"]} \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["order-1-1"]} \${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["order-2-2"]}\`;
+var _1 = \`BRalxsptB32EbO5CVyzm \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["order-1"]}\`;
+export { _1 as "simple-other" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should keep order: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/order/order-1.css",
+ ".f6n4s_1IY8eI9OLwFkLZ {
color: red;
}
-._c4 {
+.xIASfsMafltm9AZOHmbo {
+ color: aliceblue;
+}
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/order/order-2.css",
+ ".EPgSMUSXLA4RUVdEmb8f {
color: blue;
}
-.test{
- c: d
+.WSVzOOOUl82t8IEBx9dS {
+ color: azure;
}
",
"",
],
- Array [
- 1,
- "._c1 { b: 1; }
-._c3 { b: 3; }
-._c5 { b: 5; }
+ [
+ "./modules/order/index.css",
+ ".Q9ZbfN73CE9nTzgsOKaJ {
+ display: block;
+}
+
+.BRalxsptB32EbO5CVyzm {
+ display: inline;
+}
",
"",
],
]
`;
-exports[`modules case \`composes-2\`: (export \`all\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+exports[`"modules" option should keep order: warnings 1`] = `[]`;
-exports[`modules case \`composes-2\`: (export \`all\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+exports[`"modules" option should resolve absolute path in composes: errors 1`] = `[]`;
-exports[`modules case \`composes-2\`: (export \`all\`) (\`modules\` value is \`local)\`: locals 1`] = `
-Object {
- "c1": "_c1 _c-2",
- "c3": "_c3 _c1 _c-2",
- "c5": "_c5 _c-2 _c4",
-}
+exports[`"modules" option should resolve absolute path in composes: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+import ___CSS_LOADER_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported-simple.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, "", true);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.kyvwkn92Lnd2EucgzJse { color: red; }\`, ""]);
+// Exports
+export var simple = \`kyvwkn92Lnd2EucgzJse \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["imported-simple"]}\`;
+export default ___CSS_LOADER_EXPORT___;
+"
`;
-exports[`modules case \`composes-2\`: (export \`all\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- "._c-2 {
- color: red;
-}
-
-._c4 {
- color: blue;
-}
-
-._test{
- c: d
+exports[`"modules" option should resolve absolute path in composes: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/imported-simple.css",
+ ".pCAAqHK9Lcplw9QM7Rj0 {
+ display: block;
}
",
"",
],
- Array [
- 1,
- "._c1 { b: 1; }
-._c3 { b: 3; }
-._c5 { b: 5; }
-",
+ [
+ "./modules/composes/composes-absolute.css",
+ ".kyvwkn92Lnd2EucgzJse { color: red; }",
"",
],
]
`;
-exports[`modules case \`composes-2\`: (export \`all\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`composes-2\`: (export \`all\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+exports[`"modules" option should resolve absolute path in composes: warnings 1`] = `[]`;
-exports[`modules case \`composes-2\`: (export \`all\`) (\`modules\` value is \`true)\`: locals 1`] = `
-Object {
- "c1": "_c1 _c-2",
- "c3": "_c3 _c1 _c-2",
- "c5": "_c5 _c-2 _c4",
-}
-`;
+exports[`"modules" option should resolve package from node_modules with and without tilde: errors 1`] = `[]`;
-exports[`modules case \`composes-2\`: (export \`all\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- "._c-2 {
- color: red;
+exports[`"modules" option should resolve package from node_modules with and without tilde: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+import ___CSS_LOADER_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!../node_modules/test/index.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, "", true);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.dplP4w4XMPrlPI5jKzht {
+ color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["foo"] };
+ background: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["bar"] };
}
-._c4 {
- color: blue;
-}
+\`, ""]);
+// Exports
+export var foo = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["foo"]}\`;
+export var bar = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["bar"]}\`;
+export var className = \`dplP4w4XMPrlPI5jKzht\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
-._test{
- c: d
-}
+exports[`"modules" option should resolve package from node_modules with and without tilde: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/node_modules/test/index.css",
+ "
",
"",
],
- Array [
- 1,
- "._c1 { b: 1; }
-._c3 { b: 3; }
-._c5 { b: 5; }
+ [
+ "./modules/issue-914/source.css",
+ ".dplP4w4XMPrlPI5jKzht {
+ color: red;
+ background: green;
+}
+
",
"",
],
]
`;
-exports[`modules case \`composes-2\`: (export \`all\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
+exports[`"modules" option should resolve package from node_modules with and without tilde: warnings 1`] = `[]`;
-exports[`modules case \`composes-2\`: (export \`only locals\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+exports[`"modules" option should should work with two leading hyphens: errors 1`] = `[]`;
-exports[`modules case \`composes-2\`: (export \`only locals\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+exports[`"modules" option should should work with two leading hyphens: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`._--test {
+ background: red;
+}
-exports[`modules case \`composes-2\`: (export \`only locals\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `Object {}`;
+._--_test {
+ background: blue;
+}
-exports[`modules case \`composes-2\`: (export \`only locals\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+._--className {
+ background: red;
+}
-exports[`modules case \`composes-2\`: (export \`only locals\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+#_--someId {
+ background: green;
+}
-exports[`modules case \`composes-2\`: (export \`only locals\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
+._--className ._--subClass {
+ color: green;
+}
-exports[`modules case \`composes-2\`: (export \`only locals\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Object {
- "c1": "_c1 _c-2",
- "c3": "_c3 _c1 _c-2",
- "c5": "_c5 _c-2 _c4",
+#_--someId ._--subClass {
+ color: blue;
}
-`;
-exports[`modules case \`composes-2\`: (export \`only locals\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+._---a0-34a___f {
+ color: red;
+}
-exports[`modules case \`composes-2\`: (export \`only locals\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+._--m_x_\\\\@ {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
-exports[`modules case \`composes-2\`: (export \`only locals\`) (\`modules\` value is \`local)\`: locals 1`] = `undefined`;
+._--B\\\\&W\\\\? {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
-exports[`modules case \`composes-2\`: (export \`only locals\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Object {
- "c1": "_c1 _c-2",
- "c3": "_c3 _c1 _c-2",
- "c5": "_c5 _c-2 _c4",
+/* matches elements with class=":\\\`(" */
+._--\\\\3A \\\\\\\`\\\\( {
+ color: aqua;
}
-`;
-exports[`modules case \`composes-2\`: (export \`only locals\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+/* matches elements with class="1a2b3c" */
+._--\\\\31 a2b3c {
+ color: aliceblue;
+}
-exports[`modules case \`composes-2\`: (export \`only locals\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+/* matches the element with id="#fake-id" */
+#_--\\\\#fake-id {
+ color: antiquewhite;
+}
-exports[`modules case \`composes-2\`: (export \`only locals\`) (\`modules\` value is \`true)\`: locals 1`] = `undefined`;
+/* matches the element with id="-a-b-c-" */
+#_---a-b-c- {
+ color: azure;
+}
-exports[`modules case \`composes-2\`: (export \`only locals\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Object {
- "c1": "_c1 _c-2",
- "c3": "_c3 _c1 _c-2",
- "c5": "_c5 _c-2 _c4",
+/* matches the element with id="©" */
+#_--© {
+ color: black;
}
-`;
-exports[`modules case \`composes-2\`: (export \`only locals\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
+._--♥ { background: lime; }
+._--© { background: lime; }
+._--😍 { background: lime; }
+._--“‘’” { background: lime; }
+._--☺☃ { background: lime; }
+._--⌘⌥ { background: lime; }
+._--𝄞♪♩♫♬ { background: lime; }
+._--💩 { background: lime; }
+._--\\\\? { background: lime; }
+._--\\\\@ { background: lime; }
+._--\\\\. { background: lime; }
+._--\\\\3A \\\\) { background: lime; }
+._--\\\\3A \\\\\\\`\\\\( { background: lime; }
+._--\\\\31 23 { background: lime; }
+._--\\\\31 a2b3c { background: lime; }
+._--\\\\ { background: lime; }
+._--\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\> { background: lime; }
+._--\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\. { background: lime; }
+._--\\\\# { background: lime; }
+._--\\\\#\\\\# { background: lime; }
+._--\\\\#\\\\.\\\\#\\\\.\\\\# { background: lime; }
+._--\\\\_ { background: lime; }
+._--\\\\{\\\\} { background: lime; }
+._--\\\\#fake\\\\-id { background: lime; }
+._--foo\\\\.bar { background: lime; }
+._--\\\\3A hover { background: lime; }
+._--\\\\3A hover\\\\3A focus\\\\3A active { background: lime; }
+._--\\\\[attr\\\\=value\\\\] { background: lime; }
+._--f\\\\/o\\\\/o { background: lime; }
+._--f\\\\\\\\o\\\\\\\\o { background: lime; }
+._--f\\\\*o\\\\*o { background: lime; }
+._--f\\\\!o\\\\!o { background: lime; }
+._--f\\\\'o\\\\'o { background: lime; }
+._--f\\\\~o\\\\~o { background: lime; }
+._--f\\\\+o\\\\+o { background: lime; }
-exports[`modules case \`composes-multiple\`: (export \`all\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+._--foo\\\\/bar {
+ background: hotpink;
+}
-exports[`modules case \`composes-multiple\`: (export \`all\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+._--foo\\\\\\\\bar {
+ background: hotpink;
+}
-exports[`modules case \`composes-multiple\`: (export \`all\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ":local(.abc) {
- composes: def1 from \\"./file1.css\\";
- composes: def2 from \\"./file2.css\\";
+._--foo\\\\/bar\\\\/baz {
+ background: hotpink;
+}
+
+._--foo\\\\\\\\bar\\\\\\\\baz {
+ background: hotpink;
+}
+\`, ""]);
+// Exports
+var _1 = \`_--123\`;
+export { _1 as "123" };
+export var test = \`_--test\`;
+export var _test = \`_--_test\`;
+export var className = \`_--className\`;
+export var someId = \`_--someId\`;
+export var subClass = \`_--subClass\`;
+var _2 = \`_---a0-34a___f\`;
+export { _2 as "-a0-34a___f" };
+var _3 = \`_--m_x_@\`;
+export { _3 as "m_x_@" };
+var _4 = \`_--B&W?\`;
+export { _4 as "B&W?" };
+var _5 = \`_--:\\\`(\`;
+export { _5 as ":\`(" };
+var _6 = \`_--1a2b3c\`;
+export { _6 as "1a2b3c" };
+var _7 = \`_--#fake-id\`;
+export { _7 as "#fake-id" };
+var _8 = \`_---a-b-c-\`;
+export { _8 as "-a-b-c-" };
+var _9 = \`_--©\`;
+export { _9 as "©" };
+var _a = \`_--♥\`;
+export { _a as "♥" };
+var _b = \`_--😍\`;
+export { _b as "😍" };
+var _c = \`_--“‘’”\`;
+export { _c as "“‘’”" };
+var _d = \`_--☺☃\`;
+export { _d as "☺☃" };
+var _e = \`_--⌘⌥\`;
+export { _e as "⌘⌥" };
+var _f = \`_--𝄞♪♩♫♬\`;
+export { _f as "𝄞♪♩♫♬" };
+var _10 = \`_--💩\`;
+export { _10 as "💩" };
+var _11 = \`_--?\`;
+export { _11 as "?" };
+var _12 = \`_--@\`;
+export { _12 as "@" };
+var _13 = \`_--.\`;
+export { _13 as "." };
+var _14 = \`_--:)\`;
+export { _14 as ":)" };
+var _15 = \`_--
\`;
+export { _15 as "
" };
+var _16 = \`_--<><<<>><>\`;
+export { _16 as "<><<<>><>" };
+var _17 = \`_--++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\`;
+export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." };
+var _18 = \`_--#\`;
+export { _18 as "#" };
+var _19 = \`_--##\`;
+export { _19 as "##" };
+var _1a = \`_--#.#.#\`;
+export { _1a as "#.#.#" };
+export var _ = \`_--_\`;
+var _1b = \`_--{}\`;
+export { _1b as "{}" };
+var _1c = \`_--foo.bar\`;
+export { _1c as "foo.bar" };
+var _1d = \`_--:hover\`;
+export { _1d as ":hover" };
+var _1e = \`_--:hover:focus:active\`;
+export { _1e as ":hover:focus:active" };
+var _1f = \`_--[attr=value]\`;
+export { _1f as "[attr=value]" };
+var _20 = \`_--f/o/o\`;
+export { _20 as "f/o/o" };
+var _21 = \`_--f\\\\o\\\\o\`;
+export { _21 as "f\\\\o\\\\o" };
+var _22 = \`_--f*o*o\`;
+export { _22 as "f*o*o" };
+var _23 = \`_--f!o!o\`;
+export { _23 as "f!o!o" };
+var _24 = \`_--f'o'o\`;
+export { _24 as "f'o'o" };
+var _25 = \`_--f~o~o\`;
+export { _25 as "f~o~o" };
+var _26 = \`_--f+o+o\`;
+export { _26 as "f+o+o" };
+var _27 = \`_--foo/bar\`;
+export { _27 as "foo/bar" };
+var _28 = \`_--foo\\\\bar\`;
+export { _28 as "foo\\\\bar" };
+var _29 = \`_--foo/bar/baz\`;
+export { _29 as "foo/bar/baz" };
+var _2a = \`_--foo\\\\bar\\\\baz\`;
+export { _2a as "foo\\\\bar\\\\baz" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should should work with two leading hyphens: result 1`] = `
+[
+ [
+ "./modules/localIdentName/localIdentName.css",
+ "._--test {
+ background: red;
}
-",
- "",
- ],
-]
-`;
-exports[`modules case \`composes-multiple\`: (export \`all\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+._--_test {
+ background: blue;
+}
-exports[`modules case \`composes-multiple\`: (export \`all\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+._--className {
+ background: red;
+}
-exports[`modules case \`composes-multiple\`: (export \`all\`) (\`modules\` value is \`global)\`: locals 1`] = `
-Object {
- "abc": "_abc _def1 _def2",
+#_--someId {
+ background: green;
}
-`;
-exports[`modules case \`composes-multiple\`: (export \`all\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- "._def1 {
- color: red;
+._--className ._--subClass {
+ color: green;
}
-",
- "",
- ],
- Array [
- 3,
- "._def2 {
+
+#_--someId ._--subClass {
color: blue;
}
-",
- "",
- ],
- Array [
- 1,
- "._abc {
+
+._---a0-34a___f {
+ color: red;
}
-",
- "",
- ],
-]
-`;
-exports[`modules case \`composes-multiple\`: (export \`all\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+._--m_x_\\@ {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
-exports[`modules case \`composes-multiple\`: (export \`all\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+._--B\\&W\\? {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
-exports[`modules case \`composes-multiple\`: (export \`all\`) (\`modules\` value is \`local)\`: locals 1`] = `
-Object {
- "abc": "_abc _def1 _def2",
+/* matches elements with class=":\`(" */
+._--\\3A \\\`\\( {
+ color: aqua;
}
-`;
-exports[`modules case \`composes-multiple\`: (export \`all\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- "._def1 {
- color: red;
+/* matches elements with class="1a2b3c" */
+._--\\31 a2b3c {
+ color: aliceblue;
}
-",
- "",
- ],
- Array [
- 3,
- "._def2 {
- color: blue;
+
+/* matches the element with id="#fake-id" */
+#_--\\#fake-id {
+ color: antiquewhite;
}
-",
- "",
- ],
- Array [
- 1,
- "._abc {
+
+/* matches the element with id="-a-b-c-" */
+#_---a-b-c- {
+ color: azure;
}
-",
- "",
- ],
-]
-`;
-exports[`modules case \`composes-multiple\`: (export \`all\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+/* matches the element with id="©" */
+#_--© {
+ color: black;
+}
-exports[`modules case \`composes-multiple\`: (export \`all\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+._--♥ { background: lime; }
+._--© { background: lime; }
+._--😍 { background: lime; }
+._--“‘’” { background: lime; }
+._--☺☃ { background: lime; }
+._--⌘⌥ { background: lime; }
+._--𝄞♪♩♫♬ { background: lime; }
+._--💩 { background: lime; }
+._--\\? { background: lime; }
+._--\\@ { background: lime; }
+._--\\. { background: lime; }
+._--\\3A \\) { background: lime; }
+._--\\3A \\\`\\( { background: lime; }
+._--\\31 23 { background: lime; }
+._--\\31 a2b3c { background: lime; }
+._--\\
{ background: lime; }
+._--\\<\\>\\<\\<\\<\\>\\>\\<\\> { background: lime; }
+._--\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\[\\>\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\>\\+\\<\\<\\<\\<\\-\\]\\>\\+\\+\\.\\>\\+\\.\\+\\+\\+\\+\\+\\+\\+\\.\\.\\+\\+\\+\\.\\>\\+\\+\\.\\<\\<\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\.\\>\\.\\+\\+\\+\\.\\-\\-\\-\\-\\-\\-\\.\\-\\-\\-\\-\\-\\-\\-\\-\\.\\>\\+\\.\\>\\. { background: lime; }
+._--\\# { background: lime; }
+._--\\#\\# { background: lime; }
+._--\\#\\.\\#\\.\\# { background: lime; }
+._--\\_ { background: lime; }
+._--\\{\\} { background: lime; }
+._--\\#fake\\-id { background: lime; }
+._--foo\\.bar { background: lime; }
+._--\\3A hover { background: lime; }
+._--\\3A hover\\3A focus\\3A active { background: lime; }
+._--\\[attr\\=value\\] { background: lime; }
+._--f\\/o\\/o { background: lime; }
+._--f\\\\o\\\\o { background: lime; }
+._--f\\*o\\*o { background: lime; }
+._--f\\!o\\!o { background: lime; }
+._--f\\'o\\'o { background: lime; }
+._--f\\~o\\~o { background: lime; }
+._--f\\+o\\+o { background: lime; }
-exports[`modules case \`composes-multiple\`: (export \`all\`) (\`modules\` value is \`true)\`: locals 1`] = `
-Object {
- "abc": "_abc _def1 _def2",
+._--foo\\/bar {
+ background: hotpink;
}
-`;
-exports[`modules case \`composes-multiple\`: (export \`all\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- "._def1 {
- color: red;
+._--foo\\\\bar {
+ background: hotpink;
}
-",
- "",
- ],
- Array [
- 3,
- "._def2 {
- color: blue;
+
+._--foo\\/bar\\/baz {
+ background: hotpink;
}
-",
- "",
- ],
- Array [
- 1,
- "._abc {
+
+._--foo\\\\bar\\\\baz {
+ background: hotpink;
}
",
"",
@@ -1200,152 +1734,343 @@ Array [
]
`;
-exports[`modules case \`composes-multiple\`: (export \`all\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`composes-multiple\`: (export \`only locals\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+exports[`"modules" option should should work with two leading hyphens: warnings 1`] = `[]`;
-exports[`modules case \`composes-multiple\`: (export \`only locals\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+exports[`"modules" option should should work with two leading underscore: errors 1`] = `[]`;
-exports[`modules case \`composes-multiple\`: (export \`only locals\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `Object {}`;
-
-exports[`modules case \`composes-multiple\`: (export \`only locals\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+exports[`"modules" option should should work with two leading underscore: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.__test {
+ background: red;
+}
-exports[`modules case \`composes-multiple\`: (export \`only locals\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+.___test {
+ background: blue;
+}
-exports[`modules case \`composes-multiple\`: (export \`only locals\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
+.__className {
+ background: red;
+}
-exports[`modules case \`composes-multiple\`: (export \`only locals\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Object {
- "abc": "_abc _def1 _def2",
+#__someId {
+ background: green;
}
-`;
-exports[`modules case \`composes-multiple\`: (export \`only locals\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+.__className .__subClass {
+ color: green;
+}
-exports[`modules case \`composes-multiple\`: (export \`only locals\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+#__someId .__subClass {
+ color: blue;
+}
-exports[`modules case \`composes-multiple\`: (export \`only locals\`) (\`modules\` value is \`local)\`: locals 1`] = `undefined`;
+.__-a0-34a___f {
+ color: red;
+}
-exports[`modules case \`composes-multiple\`: (export \`only locals\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Object {
- "abc": "_abc _def1 _def2",
+.__m_x_\\\\@ {
+ margin-left: auto !important;
+ margin-right: auto !important;
}
-`;
-exports[`modules case \`composes-multiple\`: (export \`only locals\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+.__B\\\\&W\\\\? {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
-exports[`modules case \`composes-multiple\`: (export \`only locals\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+/* matches elements with class=":\\\`(" */
+.__\\\\3A \\\\\\\`\\\\( {
+ color: aqua;
+}
-exports[`modules case \`composes-multiple\`: (export \`only locals\`) (\`modules\` value is \`true)\`: locals 1`] = `undefined`;
+/* matches elements with class="1a2b3c" */
+.__\\\\31 a2b3c {
+ color: aliceblue;
+}
-exports[`modules case \`composes-multiple\`: (export \`only locals\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Object {
- "abc": "_abc _def1 _def2",
+/* matches the element with id="#fake-id" */
+#__\\\\#fake-id {
+ color: antiquewhite;
}
-`;
-exports[`modules case \`composes-multiple\`: (export \`only locals\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
+/* matches the element with id="-a-b-c-" */
+#__-a-b-c- {
+ color: azure;
+}
-exports[`modules case \`composes-with-importing\`: (export \`all\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+/* matches the element with id="©" */
+#__© {
+ color: black;
+}
-exports[`modules case \`composes-with-importing\`: (export \`all\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+.__♥ { background: lime; }
+.__© { background: lime; }
+.__😍 { background: lime; }
+.__“‘’” { background: lime; }
+.__☺☃ { background: lime; }
+.__⌘⌥ { background: lime; }
+.__𝄞♪♩♫♬ { background: lime; }
+.__💩 { background: lime; }
+.__\\\\? { background: lime; }
+.__\\\\@ { background: lime; }
+.__\\\\. { background: lime; }
+.__\\\\3A \\\\) { background: lime; }
+.__\\\\3A \\\\\\\`\\\\( { background: lime; }
+.__\\\\31 23 { background: lime; }
+.__\\\\31 a2b3c { background: lime; }
+.__\\\\
{ background: lime; }
+.__\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\> { background: lime; }
+.__\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\. { background: lime; }
+.__\\\\# { background: lime; }
+.__\\\\#\\\\# { background: lime; }
+.__\\\\#\\\\.\\\\#\\\\.\\\\# { background: lime; }
+.__\\\\_ { background: lime; }
+.__\\\\{\\\\} { background: lime; }
+.__\\\\#fake\\\\-id { background: lime; }
+.__foo\\\\.bar { background: lime; }
+.__\\\\3A hover { background: lime; }
+.__\\\\3A hover\\\\3A focus\\\\3A active { background: lime; }
+.__\\\\[attr\\\\=value\\\\] { background: lime; }
+.__f\\\\/o\\\\/o { background: lime; }
+.__f\\\\\\\\o\\\\\\\\o { background: lime; }
+.__f\\\\*o\\\\*o { background: lime; }
+.__f\\\\!o\\\\!o { background: lime; }
+.__f\\\\'o\\\\'o { background: lime; }
+.__f\\\\~o\\\\~o { background: lime; }
+.__f\\\\+o\\\\+o { background: lime; }
-exports[`modules case \`composes-with-importing\`: (export \`all\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ":local(.abc) {
- composes: def from \\"./file.css\\";
+.__foo\\\\/bar {
+ background: hotpink;
}
-",
- "",
- ],
-]
-`;
-exports[`modules case \`composes-with-importing\`: (export \`all\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+.__foo\\\\\\\\bar {
+ background: hotpink;
+}
-exports[`modules case \`composes-with-importing\`: (export \`all\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+.__foo\\\\/bar\\\\/baz {
+ background: hotpink;
+}
-exports[`modules case \`composes-with-importing\`: (export \`all\`) (\`modules\` value is \`global)\`: locals 1`] = `
-Object {
- "abc": "_abc _def",
+.__foo\\\\\\\\bar\\\\\\\\baz {
+ background: hotpink;
+}
+\`, ""]);
+// Exports
+var _1 = \`__123\`;
+export { _1 as "123" };
+export var test = \`__test\`;
+export var _test = \`___test\`;
+export var className = \`__className\`;
+export var someId = \`__someId\`;
+export var subClass = \`__subClass\`;
+var _2 = \`__-a0-34a___f\`;
+export { _2 as "-a0-34a___f" };
+var _3 = \`__m_x_@\`;
+export { _3 as "m_x_@" };
+var _4 = \`__B&W?\`;
+export { _4 as "B&W?" };
+var _5 = \`__:\\\`(\`;
+export { _5 as ":\`(" };
+var _6 = \`__1a2b3c\`;
+export { _6 as "1a2b3c" };
+var _7 = \`__#fake-id\`;
+export { _7 as "#fake-id" };
+var _8 = \`__-a-b-c-\`;
+export { _8 as "-a-b-c-" };
+var _9 = \`__©\`;
+export { _9 as "©" };
+var _a = \`__♥\`;
+export { _a as "♥" };
+var _b = \`__😍\`;
+export { _b as "😍" };
+var _c = \`__“‘’”\`;
+export { _c as "“‘’”" };
+var _d = \`__☺☃\`;
+export { _d as "☺☃" };
+var _e = \`__⌘⌥\`;
+export { _e as "⌘⌥" };
+var _f = \`__𝄞♪♩♫♬\`;
+export { _f as "𝄞♪♩♫♬" };
+var _10 = \`__💩\`;
+export { _10 as "💩" };
+var _11 = \`__?\`;
+export { _11 as "?" };
+var _12 = \`__@\`;
+export { _12 as "@" };
+var _13 = \`__.\`;
+export { _13 as "." };
+var _14 = \`__:)\`;
+export { _14 as ":)" };
+var _15 = \`__
\`;
+export { _15 as "
" };
+var _16 = \`__<><<<>><>\`;
+export { _16 as "<><<<>><>" };
+var _17 = \`__++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\`;
+export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." };
+var _18 = \`__#\`;
+export { _18 as "#" };
+var _19 = \`__##\`;
+export { _19 as "##" };
+var _1a = \`__#.#.#\`;
+export { _1a as "#.#.#" };
+export var _ = \`___\`;
+var _1b = \`__{}\`;
+export { _1b as "{}" };
+var _1c = \`__foo.bar\`;
+export { _1c as "foo.bar" };
+var _1d = \`__:hover\`;
+export { _1d as ":hover" };
+var _1e = \`__:hover:focus:active\`;
+export { _1e as ":hover:focus:active" };
+var _1f = \`__[attr=value]\`;
+export { _1f as "[attr=value]" };
+var _20 = \`__f/o/o\`;
+export { _20 as "f/o/o" };
+var _21 = \`__f\\\\o\\\\o\`;
+export { _21 as "f\\\\o\\\\o" };
+var _22 = \`__f*o*o\`;
+export { _22 as "f*o*o" };
+var _23 = \`__f!o!o\`;
+export { _23 as "f!o!o" };
+var _24 = \`__f'o'o\`;
+export { _24 as "f'o'o" };
+var _25 = \`__f~o~o\`;
+export { _25 as "f~o~o" };
+var _26 = \`__f+o+o\`;
+export { _26 as "f+o+o" };
+var _27 = \`__foo/bar\`;
+export { _27 as "foo/bar" };
+var _28 = \`__foo\\\\bar\`;
+export { _28 as "foo\\\\bar" };
+var _29 = \`__foo/bar/baz\`;
+export { _29 as "foo/bar/baz" };
+var _2a = \`__foo\\\\bar\\\\baz\`;
+export { _2a as "foo\\\\bar\\\\baz" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should should work with two leading underscore: result 1`] = `
+[
+ [
+ "./modules/localIdentName/localIdentName.css",
+ ".__test {
+ background: red;
}
-`;
-exports[`modules case \`composes-with-importing\`: (export \`all\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- "._def {
- color: red;
+.___test {
+ background: blue;
}
-",
- "",
- ],
- Array [
- 1,
- "._abc {
+
+.__className {
+ background: red;
}
-",
- "",
- ],
-]
-`;
-exports[`modules case \`composes-with-importing\`: (export \`all\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+#__someId {
+ background: green;
+}
-exports[`modules case \`composes-with-importing\`: (export \`all\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+.__className .__subClass {
+ color: green;
+}
-exports[`modules case \`composes-with-importing\`: (export \`all\`) (\`modules\` value is \`local)\`: locals 1`] = `
-Object {
- "abc": "_abc _def",
+#__someId .__subClass {
+ color: blue;
}
-`;
-exports[`modules case \`composes-with-importing\`: (export \`all\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- "._def {
+.__-a0-34a___f {
color: red;
}
-",
- "",
- ],
- Array [
- 1,
- "._abc {
+
+.__m_x_\\@ {
+ margin-left: auto !important;
+ margin-right: auto !important;
}
-",
- "",
- ],
-]
-`;
-exports[`modules case \`composes-with-importing\`: (export \`all\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+.__B\\&W\\? {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
-exports[`modules case \`composes-with-importing\`: (export \`all\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+/* matches elements with class=":\`(" */
+.__\\3A \\\`\\( {
+ color: aqua;
+}
-exports[`modules case \`composes-with-importing\`: (export \`all\`) (\`modules\` value is \`true)\`: locals 1`] = `
-Object {
- "abc": "_abc _def",
+/* matches elements with class="1a2b3c" */
+.__\\31 a2b3c {
+ color: aliceblue;
}
-`;
-exports[`modules case \`composes-with-importing\`: (export \`all\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 2,
- "._def {
- color: red;
+/* matches the element with id="#fake-id" */
+#__\\#fake-id {
+ color: antiquewhite;
}
-",
- "",
- ],
- Array [
- 1,
- "._abc {
+
+/* matches the element with id="-a-b-c-" */
+#__-a-b-c- {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#__© {
+ color: black;
+}
+
+.__♥ { background: lime; }
+.__© { background: lime; }
+.__😍 { background: lime; }
+.__“‘’” { background: lime; }
+.__☺☃ { background: lime; }
+.__⌘⌥ { background: lime; }
+.__𝄞♪♩♫♬ { background: lime; }
+.__💩 { background: lime; }
+.__\\? { background: lime; }
+.__\\@ { background: lime; }
+.__\\. { background: lime; }
+.__\\3A \\) { background: lime; }
+.__\\3A \\\`\\( { background: lime; }
+.__\\31 23 { background: lime; }
+.__\\31 a2b3c { background: lime; }
+.__\\
{ background: lime; }
+.__\\<\\>\\<\\<\\<\\>\\>\\<\\> { background: lime; }
+.__\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\[\\>\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\>\\+\\<\\<\\<\\<\\-\\]\\>\\+\\+\\.\\>\\+\\.\\+\\+\\+\\+\\+\\+\\+\\.\\.\\+\\+\\+\\.\\>\\+\\+\\.\\<\\<\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\.\\>\\.\\+\\+\\+\\.\\-\\-\\-\\-\\-\\-\\.\\-\\-\\-\\-\\-\\-\\-\\-\\.\\>\\+\\.\\>\\. { background: lime; }
+.__\\# { background: lime; }
+.__\\#\\# { background: lime; }
+.__\\#\\.\\#\\.\\# { background: lime; }
+.__\\_ { background: lime; }
+.__\\{\\} { background: lime; }
+.__\\#fake\\-id { background: lime; }
+.__foo\\.bar { background: lime; }
+.__\\3A hover { background: lime; }
+.__\\3A hover\\3A focus\\3A active { background: lime; }
+.__\\[attr\\=value\\] { background: lime; }
+.__f\\/o\\/o { background: lime; }
+.__f\\\\o\\\\o { background: lime; }
+.__f\\*o\\*o { background: lime; }
+.__f\\!o\\!o { background: lime; }
+.__f\\'o\\'o { background: lime; }
+.__f\\~o\\~o { background: lime; }
+.__f\\+o\\+o { background: lime; }
+
+.__foo\\/bar {
+ background: hotpink;
+}
+
+.__foo\\\\bar {
+ background: hotpink;
+}
+
+.__foo\\/bar\\/baz {
+ background: hotpink;
+}
+
+.__foo\\\\bar\\\\baz {
+ background: hotpink;
}
",
"",
@@ -1353,201 +2078,540 @@ Array [
]
`;
-exports[`modules case \`composes-with-importing\`: (export \`all\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
+exports[`"modules" option should should work with two leading underscore: warnings 1`] = `[]`;
-exports[`modules case \`composes-with-importing\`: (export \`only locals\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+exports[`"modules" option should support resolving in composes preprocessor files with extensions: errors 1`] = `[]`;
-exports[`modules case \`composes-with-importing\`: (export \`only locals\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+exports[`"modules" option should support resolving in composes preprocessor files with extensions: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+import ___CSS_LOADER_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./values.css";
+import ___CSS_LOADER_ICSS_IMPORT_1___, * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./less-file.less";
+import ___CSS_LOADER_ICSS_IMPORT_2___, * as ___CSS_LOADER_ICSS_IMPORT_2____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./scss-file.scss";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_1___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_2___, "", true);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.globalClassName {
+ color: orange;
+}
-exports[`modules case \`composes-with-importing\`: (export \`only locals\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `Object {}`;
+.jfnINdjNmjmNE30hJhM2 {
+ color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-def"] };
+}
-exports[`modules case \`composes-with-importing\`: (export \`only locals\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+.UIbsE5LKj9LULxJh5lui {
+ color: \${ ___CSS_LOADER_ICSS_IMPORT_1____NAMED___["v-foo"] };
+}
-exports[`modules case \`composes-with-importing\`: (export \`only locals\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+.IhDiFbofjUNbC6vdWN9Z {
+ color: \${ ___CSS_LOADER_ICSS_IMPORT_2____NAMED___["v-bar"] };
+}
-exports[`modules case \`composes-with-importing\`: (export \`only locals\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
+.vtrwouBgSegFPwkaXOt_ {
+ background: #000;
+}
+\`, ""]);
+// Exports
+var _1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-def"]}\`;
+export { _1 as "v-def" };
+var _2 = \`\${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["v-foo"]}\`;
+export { _2 as "v-foo" };
+var _3 = \`\${___CSS_LOADER_ICSS_IMPORT_2____NAMED___["v-bar"]}\`;
+export { _3 as "v-bar" };
+export var globalClassName = \`globalClassName\`;
+export var ghi = \`jfnINdjNmjmNE30hJhM2\`;
+var _4 = \`UIbsE5LKj9LULxJh5lui \${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["lessClass"]}\`;
+export { _4 as "class" };
+export var other = \`IhDiFbofjUNbC6vdWN9Z \${___CSS_LOADER_ICSS_IMPORT_2____NAMED___["scssClass"]}\`;
+export var otherClassName = \`vtrwouBgSegFPwkaXOt_ globalClassName\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should support resolving in composes preprocessor files with extensions: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/values.css",
+ "
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/less-file.less",
+ ".t5MH7YkQgNxGoiYDjLHG {
+ padding: 5px;
+}
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/scss-file.scss",
+ "$color: red;
-exports[`modules case \`composes-with-importing\`: (export \`only locals\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Object {
- "abc": "_abc _def",
+.oNU7JF6MtPAFrlrthaOD {
+ color: $color;
+ padding: 15px;
+}
+",
+ "",
+ ],
+ [
+ "./modules/composes/composes-preprocessors.css",
+ ".globalClassName {
+ color: orange;
}
-`;
-exports[`modules case \`composes-with-importing\`: (export \`only locals\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+.jfnINdjNmjmNE30hJhM2 {
+ color: red;
+}
-exports[`modules case \`composes-with-importing\`: (export \`only locals\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+.UIbsE5LKj9LULxJh5lui {
+ color: green;
+}
-exports[`modules case \`composes-with-importing\`: (export \`only locals\`) (\`modules\` value is \`local)\`: locals 1`] = `undefined`;
+.IhDiFbofjUNbC6vdWN9Z {
+ color: white;
+}
-exports[`modules case \`composes-with-importing\`: (export \`only locals\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Object {
- "abc": "_abc _def",
+.vtrwouBgSegFPwkaXOt_ {
+ background: #000;
}
+",
+ "",
+ ],
+]
`;
-exports[`modules case \`composes-with-importing\`: (export \`only locals\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+exports[`"modules" option should support resolving in composes preprocessor files with extensions: warnings 1`] = `[]`;
+
+exports[`"modules" option should support resolving in composes: errors 1`] = `[]`;
+
+exports[`"modules" option should support resolving in composes: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+import ___CSS_LOADER_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./values.css";
+import ___CSS_LOADER_ICSS_IMPORT_1___, * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css";
+import ___CSS_LOADER_ICSS_IMPORT_2___, * as ___CSS_LOADER_ICSS_IMPORT_2____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported-simple.css";
+import ___CSS_LOADER_ICSS_IMPORT_3___, * as ___CSS_LOADER_ICSS_IMPORT_3____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./relative.css";
+import ___CSS_LOADER_ICSS_IMPORT_4___, * as ___CSS_LOADER_ICSS_IMPORT_4____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./top-relative.css";
+import ___CSS_LOADER_ICSS_IMPORT_5___, * as ___CSS_LOADER_ICSS_IMPORT_5____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!../issue-861/node_modules/package/style.css";
+import ___CSS_LOADER_ICSS_IMPORT_6___, * as ___CSS_LOADER_ICSS_IMPORT_6____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./alias.css";
+import ___CSS_LOADER_ICSS_IMPORT_7___, * as ___CSS_LOADER_ICSS_IMPORT_7____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!sass-loader!./scss-file.scss";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./test-other.css";
+import ___CSS_LOADER_GET_URL_IMPORT___ from "../../../../src/runtime/getUrl.js";
+var ___CSS_LOADER_URL_IMPORT_0___ = new URL("../../url/img.png", import.meta.url);
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___, "(min-width: 100px)");
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_1___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_2___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_3___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_4___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_5___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_6___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_7___, "", true);
+var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.ozGmfTedr1GnFJDWqNUH {
+ color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-def"] };
+}
-exports[`modules case \`composes-with-importing\`: (export \`only locals\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+.zchqshjqLbPAHaRvIBET {
+ color: blue;
+}
-exports[`modules case \`composes-with-importing\`: (export \`only locals\`) (\`modules\` value is \`true)\`: locals 1`] = `undefined`;
+.WZBxXqS2GytaA3IBhhnd {
+ display: block;
+}
-exports[`modules case \`composes-with-importing\`: (export \`only locals\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Object {
- "abc": "_abc _def",
+.W51zcAMuJMsNFi1CXgWr {
+ width: \${ ___CSS_LOADER_ICSS_IMPORT_1____NAMED___["v-something"] };
}
-`;
-exports[`modules case \`composes-with-importing\`: (export \`only locals\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
+.KEl5ZxzNkpjfWorrBglC {
+ color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-other"] };
+}
-exports[`modules case \`declaration-value\`: (export \`all\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+.ecAEWh2vww9pNEdyj9Jn {
+ prop: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-def"] };
+ duplicate: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-other"] };
+}
-exports[`modules case \`declaration-value\`: (export \`all\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+.CBlowYk8qiAgWWzFeXRA {
+ color: red;
+}
-exports[`modules case \`declaration-value\`: (export \`all\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "@value blue: red;
+.c_NHnDcX1bd_kuxgsuYi {
+ color: yellow;
+}
-.a {
- border: 1px solid blue;
+.S0Kwou8pVmsENtBP3hYm {
+ color: gray;
}
-",
- "",
- ],
-]
-`;
-exports[`modules case \`declaration-value\`: (export \`all\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+.rq663Pq_zV0CjpwttvK4 {
+ color: gray;
+}
-exports[`modules case \`declaration-value\`: (export \`all\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+.fadRMHArJofp7sWEbPVR {
+ color: gainsboro;
+}
-exports[`modules case \`declaration-value\`: (export \`all\`) (\`modules\` value is \`global)\`: locals 1`] = `
-Object {
- "blue": "red",
+.sg1HlXqlWy6l6_Wm5iA7 {
+ color: gainsboro;
}
-`;
-exports[`modules case \`declaration-value\`: (export \`all\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ".a {
- border: 1px solid red;
+.bnRUswvicYag6u0SPnvI {
+ color: #BF4040;
}
-",
- "",
- ],
-]
-`;
-exports[`modules case \`declaration-value\`: (export \`all\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+.kEJRwpukB2OtmkGTknbU {
+ color: black;
+}
-exports[`modules case \`declaration-value\`: (export \`all\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+@media (min-width: 960px) {
+ .hY2PI5vC9ABuJY1nkWnf {
+ padding: 0 20px;
+ }
+}
-exports[`modules case \`declaration-value\`: (export \`all\`) (\`modules\` value is \`local)\`: locals 1`] = `
-Object {
- "a": "_a",
- "blue": "red",
+.\${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["s-white"] } {
+ color: white;
}
-`;
-exports[`modules case \`declaration-value\`: (export \`all\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._a {
- border: 1px solid red;
+@media \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["m-small"] } {
+ .hY2PI5vC9ABuJY1nkWnf {
+ padding: 20px 20px;
+ }
}
-",
- "",
- ],
-]
-`;
-exports[`modules case \`declaration-value\`: (export \`all\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+.q8mv0HutzqdsVWjl8mAz {
+ v-ident: validIdent;
+ v-pre-defined-ident: left;
+ v-string: 'content';
+ v-string-1: '';
+ v-url: url(https://www.exammple.com/images/my-background.png);
+ v-url-1: url('https://www.exammple.com/images/my-background.png');
+ v-url-2: url("https://www.exammple.com/images/my-background.png");
+ v-integer: 100;
+ v-integer-1: -100;
+ v-integer-2: +100;
+ v-number: .60;
+ v-number-1: -456.8;
+ v-number-2: -3.4e-2;
+ v-dimension: 12px;
+ v-percentage: 100%;
+ v-hex: #fff;
+ v-comment: /* comment */ 10px /* comment */;
+ v-function: rgb(0,0,0);
+ v-unicode-range: U+0025-00FF;
+ mutliple: #fff .60 100%;
+}
+
+
+a {
+ content: 'content';
+}
+
+@supports (content: 'content') {
+ a {
+ content: 'content';
+ }
+}
-exports[`modules case \`declaration-value\`: (export \`all\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+[class~='content'] {
+ color:green;
+}
-exports[`modules case \`declaration-value\`: (export \`all\`) (\`modules\` value is \`true)\`: locals 1`] = `
-Object {
- "a": "_a",
- "blue": "red",
+.xajoqP1d3SwrjJ4WEM8g {
+ background: url(\${___CSS_LOADER_URL_REPLACEMENT_0___});
}
-`;
-exports[`modules case \`declaration-value\`: (export \`all\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._a {
- border: 1px solid red;
+.Ix5nEHiVOsWuWxdx0twz {
+ background: red;
}
+\`, ""]);
+// Exports
+var _1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-def"]}\`;
+export { _1 as "v-def" };
+var _2 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-other"]}\`;
+export { _2 as "v-other" };
+var _3 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["s-white"]}\`;
+export { _3 as "s-white" };
+var _4 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["m-small"]}\`;
+export { _4 as "m-small" };
+var _5 = \`\${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["v-something"]}\`;
+export { _5 as "v-something" };
+var _6 = \`blue\`;
+export { _6 as "v-foo" };
+var _7 = \`block\`;
+export { _7 as "v-bar" };
+var _8 = \`#BF4040\`;
+export { _8 as "v-primary" };
+var _9 = \`black-selector\`;
+export { _9 as "s-black" };
+var _a = \`(min-width: 960px)\`;
+export { _a as "m-large" };
+var _b = \`validIdent\`;
+export { _b as "v-ident" };
+var _c = \`left\`;
+export { _c as "v-pre-defined-ident" };
+var _d = \`'content'\`;
+export { _d as "v-string" };
+var _e = \`''\`;
+export { _e as "v-string-1" };
+var _f = \`url(https://www.exammple.com/images/my-background.png)\`;
+export { _f as "v-url" };
+var _10 = \`url('https://www.exammple.com/images/my-background.png')\`;
+export { _10 as "v-url-1" };
+var _11 = \`url("https://www.exammple.com/images/my-background.png")\`;
+export { _11 as "v-url-2" };
+var _12 = \`100\`;
+export { _12 as "v-integer" };
+var _13 = \`-100\`;
+export { _13 as "v-integer-1" };
+var _14 = \`+100\`;
+export { _14 as "v-integer-2" };
+var _15 = \`.60\`;
+export { _15 as "v-number" };
+var _16 = \`-456.8\`;
+export { _16 as "v-number-1" };
+var _17 = \`-3.4e-2\`;
+export { _17 as "v-number-2" };
+var _18 = \`12px\`;
+export { _18 as "v-dimension" };
+var _19 = \`100%\`;
+export { _19 as "v-percentage" };
+var _1a = \`#fff\`;
+export { _1a as "v-hex" };
+var _1b = \` /* comment */\`;
+export { _1b as "v-comment" };
+var _1c = \`rgb(0,0,0)\`;
+export { _1c as "v-function" };
+var _1d = \`U+0025-00FF\`;
+export { _1d as "v-unicode-range" };
+export var ghi = \`ozGmfTedr1GnFJDWqNUH\`;
+var _1e = \`zchqshjqLbPAHaRvIBET\`;
+export { _1e as "my-class" };
+export var other = \`WZBxXqS2GytaA3IBhhnd\`;
+var _1f = \`W51zcAMuJMsNFi1CXgWr\`;
+export { _1f as "other-other" };
+export var green = \`KEl5ZxzNkpjfWorrBglC\`;
+export var foo = \`ecAEWh2vww9pNEdyj9Jn\`;
+export var simple = \`CBlowYk8qiAgWWzFeXRA \${___CSS_LOADER_ICSS_IMPORT_2____NAMED___["imported-simple"]}\`;
+export var relative = \`c_NHnDcX1bd_kuxgsuYi \${___CSS_LOADER_ICSS_IMPORT_3____NAMED___["imported-relative"]}\`;
+var _20 = \`S0Kwou8pVmsENtBP3hYm \${___CSS_LOADER_ICSS_IMPORT_4____NAMED___["imported-relative"]}\`;
+export { _20 as "top-relative" };
+var _21 = \`rq663Pq_zV0CjpwttvK4 \${___CSS_LOADER_ICSS_IMPORT_5____NAMED___["imported-module"]}\`;
+export { _21 as "my-module" };
+export var alias = \`fadRMHArJofp7sWEbPVR \${___CSS_LOADER_ICSS_IMPORT_6____NAMED___["imported-alias"]}\`;
+var _22 = \`sg1HlXqlWy6l6_Wm5iA7 \${___CSS_LOADER_ICSS_IMPORT_6____NAMED___["imported-alias"]}\`;
+export { _22 as "alias-duplicate" };
+var _23 = \`bnRUswvicYag6u0SPnvI\`;
+export { _23 as "primary-selector" };
+var _24 = \`kEJRwpukB2OtmkGTknbU\`;
+export { _24 as "black-selector" };
+export var header = \`hY2PI5vC9ABuJY1nkWnf\`;
+export var foobarbaz = \`q8mv0HutzqdsVWjl8mAz\`;
+export var url = \`xajoqP1d3SwrjJ4WEM8g\`;
+export var main = \`Ix5nEHiVOsWuWxdx0twz \${___CSS_LOADER_ICSS_IMPORT_7____NAMED___["scssClass"]}\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should support resolving in composes: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/test-other.css",
+ ".s4X7wVQcTygYUV4ttKyQ {
+ d: d;
+}
+",
+ "(min-width: 100px)",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/values.css",
+ "
",
"",
],
-]
-`;
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/something.css",
+ "
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/imported-simple.css",
+ ".pCAAqHK9Lcplw9QM7Rj0 {
+ display: block;
+}
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/relative.css",
+ ".o0pMg4suYQOIzdBIQJv1 {
+ display: inline;
+}
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/top-relative.css",
+ ".l9CmW32NEl99tuNLdbzp {
+ display: flex;
+}
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/issue-861/node_modules/package/style.css",
+ ".q49Ogfvno__tAgAiYJcD {
+ display: inline-block;
+}
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/alias.css",
+ ".dnhKs1AYKq4KodZdfzcx {
+ display: table;
+}
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!../../node_modules/sass-loader/dist/cjs.js!./modules/composes/scss-file.scss",
+ ".oNU7JF6MtPAFrlrthaOD {
+ color: red;
+ padding: 15px;
+}",
+ "",
+ ],
+ [
+ "./modules/composes/composes.css",
+ ".ozGmfTedr1GnFJDWqNUH {
+ color: red;
+}
-exports[`modules case \`declaration-value\`: (export \`all\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
+.zchqshjqLbPAHaRvIBET {
+ color: blue;
+}
-exports[`modules case \`declaration-value\`: (export \`only locals\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+.WZBxXqS2GytaA3IBhhnd {
+ display: block;
+}
-exports[`modules case \`declaration-value\`: (export \`only locals\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+.W51zcAMuJMsNFi1CXgWr {
+ width: 2112moon;
+}
-exports[`modules case \`declaration-value\`: (export \`only locals\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `Object {}`;
+.KEl5ZxzNkpjfWorrBglC {
+ color: green;
+}
-exports[`modules case \`declaration-value\`: (export \`only locals\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+.ecAEWh2vww9pNEdyj9Jn {
+ prop: red;
+ duplicate: green;
+}
-exports[`modules case \`declaration-value\`: (export \`only locals\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+.CBlowYk8qiAgWWzFeXRA {
+ color: red;
+}
-exports[`modules case \`declaration-value\`: (export \`only locals\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
+.c_NHnDcX1bd_kuxgsuYi {
+ color: yellow;
+}
-exports[`modules case \`declaration-value\`: (export \`only locals\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Object {
- "blue": "red",
+.S0Kwou8pVmsENtBP3hYm {
+ color: gray;
}
-`;
-exports[`modules case \`declaration-value\`: (export \`only locals\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+.rq663Pq_zV0CjpwttvK4 {
+ color: gray;
+}
-exports[`modules case \`declaration-value\`: (export \`only locals\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+.fadRMHArJofp7sWEbPVR {
+ color: gainsboro;
+}
-exports[`modules case \`declaration-value\`: (export \`only locals\`) (\`modules\` value is \`local)\`: locals 1`] = `undefined`;
+.sg1HlXqlWy6l6_Wm5iA7 {
+ color: gainsboro;
+}
-exports[`modules case \`declaration-value\`: (export \`only locals\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Object {
- "a": "_a",
- "blue": "red",
+.bnRUswvicYag6u0SPnvI {
+ color: #BF4040;
}
-`;
-exports[`modules case \`declaration-value\`: (export \`only locals\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+.kEJRwpukB2OtmkGTknbU {
+ color: black;
+}
-exports[`modules case \`declaration-value\`: (export \`only locals\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+@media (min-width: 960px) {
+ .hY2PI5vC9ABuJY1nkWnf {
+ padding: 0 20px;
+ }
+}
-exports[`modules case \`declaration-value\`: (export \`only locals\`) (\`modules\` value is \`true)\`: locals 1`] = `undefined`;
+.white {
+ color: white;
+}
-exports[`modules case \`declaration-value\`: (export \`only locals\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Object {
- "a": "_a",
- "blue": "red",
+@media (min-width: 320px) {
+ .hY2PI5vC9ABuJY1nkWnf {
+ padding: 20px 20px;
+ }
}
-`;
-exports[`modules case \`declaration-value\`: (export \`only locals\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
+.q8mv0HutzqdsVWjl8mAz {
+ v-ident: validIdent;
+ v-pre-defined-ident: left;
+ v-string: 'content';
+ v-string-1: '';
+ v-url: url(https://www.exammple.com/images/my-background.png);
+ v-url-1: url('https://www.exammple.com/images/my-background.png');
+ v-url-2: url("https://www.exammple.com/images/my-background.png");
+ v-integer: 100;
+ v-integer-1: -100;
+ v-integer-2: +100;
+ v-number: .60;
+ v-number-1: -456.8;
+ v-number-2: -3.4e-2;
+ v-dimension: 12px;
+ v-percentage: 100%;
+ v-hex: #fff;
+ v-comment: /* comment */ 10px /* comment */;
+ v-function: rgb(0,0,0);
+ v-unicode-range: U+0025-00FF;
+ mutliple: #fff .60 100%;
+}
+
+
+a {
+ content: 'content';
+}
+
+@supports (content: 'content') {
+ a {
+ content: 'content';
+ }
+}
-exports[`modules case \`issue-589\`: (export \`all\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+[class~='content'] {
+ color:green;
+}
-exports[`modules case \`issue-589\`: (export \`all\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+.xajoqP1d3SwrjJ4WEM8g {
+ background: url(replaced_file_protocol_/webpack/public/path/img.png);
+}
-exports[`modules case \`issue-589\`: (export \`all\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "body:before {
- content: '';
- background: url(/webpack/public/path/5b1f36bc41ab31f5b801d48ba1d65781.png);
+.Ix5nEHiVOsWuWxdx0twz {
+ background: red;
}
",
"",
@@ -1555,219 +2619,382 @@ Array [
]
`;
-exports[`modules case \`issue-589\`: (export \`all\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`issue-589\`: (export \`all\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+exports[`"modules" option should support resolving in composes: warnings 1`] = `[]`;
-exports[`modules case \`issue-589\`: (export \`all\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
-
-exports[`modules case \`issue-589\`: (export \`all\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "body:before {
- content: '';
- background: url(/webpack/public/path/5b1f36bc41ab31f5b801d48ba1d65781.png);
-}
-",
- "",
- ],
+exports[`"modules" option should throw an error on unresolved import: errors 1`] = `
+[
+ "ModuleBuildError: Module build failed (from \`replaced original path\`):
+Error: Can't resolve './unresolved.css' in '/test/fixtures/modules/unresolved'",
]
`;
-exports[`modules case \`issue-589\`: (export \`all\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+exports[`"modules" option should throw an error on unresolved import: warnings 1`] = `[]`;
-exports[`modules case \`issue-589\`: (export \`all\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+exports[`"modules" option should throw an error when class has unsupported name (JavaScript reserved words): errors 1`] = `[]`;
-exports[`modules case \`issue-589\`: (export \`all\`) (\`modules\` value is \`local)\`: locals 1`] = `undefined`;
+exports[`"modules" option should throw an error when class has unsupported name (JavaScript reserved words): warnings 1`] = `[]`;
-exports[`modules case \`issue-589\`: (export \`all\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "body:before {
- content: '';
- background: url(/webpack/public/path/5b1f36bc41ab31f5b801d48ba1d65781.png);
-}
-",
- "",
- ],
-]
-`;
+exports[`"modules" option should throw an error when the "namedExport" is enabled and the "exportLocalsConvention" options has not "camelCaseOnly" value: errors 1`] = `[]`;
-exports[`modules case \`issue-589\`: (export \`all\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+exports[`"modules" option should throw an error when the "namedExport" is enabled and the "exportLocalsConvention" options has not "camelCaseOnly" value: warnings 1`] = `[]`;
-exports[`modules case \`issue-589\`: (export \`all\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+exports[`"modules" option should throw an error when the "namedExport" option is "true", but the "esModule" is "false": errors 1`] = `
+[
+ "ModuleBuildError: Module build failed (from \`replaced original path\`):
+Error: The 'modules.namedExport' option requires the 'esModule' option to be enabled",
+]
+`;
-exports[`modules case \`issue-589\`: (export \`all\`) (\`modules\` value is \`true)\`: locals 1`] = `undefined`;
+exports[`"modules" option should throw an error when the "namedExport" option is "true", but the "esModule" is "false": warnings 1`] = `[]`;
-exports[`modules case \`issue-589\`: (export \`all\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "body:before {
- content: '';
- background: url(/webpack/public/path/5b1f36bc41ab31f5b801d48ba1d65781.png);
-}
-",
- "",
- ],
+exports[`"modules" option should throw error when the "exportLocalsConvention" function throw error: errors 1`] = `
+[
+ "ModuleBuildError: Module build failed (from \`replaced original path\`):
+Error: namedExportFn error",
]
`;
-exports[`modules case \`issue-589\`: (export \`all\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
+exports[`"modules" option should throw error when the "exportLocalsConvention" function throw error: warnings 1`] = `[]`;
-exports[`modules case \`issue-589\`: (export \`only locals\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+exports[`"modules" option should throw error with composes when the "namedExport" is enabled and "exportLocalsConvention" options has invalid value: errors 1`] = `[]`;
-exports[`modules case \`issue-589\`: (export \`only locals\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+exports[`"modules" option should throw error with composes when the "namedExport" is enabled and "exportLocalsConvention" options has invalid value: warnings 1`] = `[]`;
-exports[`modules case \`issue-589\`: (export \`only locals\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `Object {}`;
+exports[`"modules" option should work and correctly replace escaped symbols: errors 1`] = `[]`;
-exports[`modules case \`issue-589\`: (export \`only locals\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+exports[`"modules" option should work and correctly replace escaped symbols: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.test--KuIS {
+ background: red;
+}
-exports[`modules case \`issue-589\`: (export \`only locals\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+._test--Lb3f {
+ background: blue;
+}
-exports[`modules case \`issue-589\`: (export \`only locals\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
+.className--Ldhp {
+ background: red;
+}
-exports[`modules case \`issue-589\`: (export \`only locals\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `Object {}`;
+#someId--b0rh {
+ background: green;
+}
-exports[`modules case \`issue-589\`: (export \`only locals\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+.className--Ldhp .subClass--Mw9j {
+ color: green;
+}
-exports[`modules case \`issue-589\`: (export \`only locals\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+#someId--b0rh .subClass--Mw9j {
+ color: blue;
+}
-exports[`modules case \`issue-589\`: (export \`only locals\`) (\`modules\` value is \`local)\`: locals 1`] = `undefined`;
+.-a0-34a___f--DdFW {
+ color: red;
+}
-exports[`modules case \`issue-589\`: (export \`only locals\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `Object {}`;
+.m_x_\\\\@--OdAm {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
-exports[`modules case \`issue-589\`: (export \`only locals\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+.B\\\\&W\\\\?--h4SE {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
-exports[`modules case \`issue-589\`: (export \`only locals\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+/* matches elements with class=":\\\`(" */
+.\\\\3A \\\\\\\`\\\\(--fKJQ {
+ color: aqua;
+}
-exports[`modules case \`issue-589\`: (export \`only locals\`) (\`modules\` value is \`true)\`: locals 1`] = `undefined`;
+/* matches elements with class="1a2b3c" */
+.\\\\31 a2b3c--YR1u {
+ color: aliceblue;
+}
-exports[`modules case \`issue-589\`: (export \`only locals\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `Object {}`;
+/* matches the element with id="#fake-id" */
+#\\\\#fake-id--AqiA {
+ color: antiquewhite;
+}
-exports[`modules case \`issue-589\`: (export \`only locals\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
+/* matches the element with id="-a-b-c-" */
+#-a-b-c---CwXv {
+ color: azure;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`all\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+/* matches the element with id="©" */
+#©--jBj0 {
+ color: black;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`all\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+.♥--vJl9 { background: lime; }
+.©--jBj0 { background: lime; }
+.😍--CNLr { background: lime; }
+.“‘’”--GM0Y { background: lime; }
+.☺☃--NKrB { background: lime; }
+.⌘⌥--edHW { background: lime; }
+.𝄞♪♩♫♬--QyMp { background: lime; }
+.💩--B82Y { background: lime; }
+.\\\\?--ndmp { background: lime; }
+.\\\\@--v3gq { background: lime; }
+.\\\\.--zd5u { background: lime; }
+.\\\\3A \\\\)--ZiZn { background: lime; }
+.\\\\3A \\\\\\\`\\\\(--fKJQ { background: lime; }
+.\\\\31 23--oqRG { background: lime; }
+.\\\\31 a2b3c--YR1u { background: lime; }
+.\\\\
--TdAx { background: lime; }
+.\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\>--ozNs { background: lime; }
+.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\.--ByKo { background: lime; }
+.\\\\#--HkwI { background: lime; }
+.\\\\#\\\\#--IJc6 { background: lime; }
+.\\\\#\\\\.\\\\#\\\\.\\\\#--BnPp { background: lime; }
+.\\\\_--bCwk { background: lime; }
+.\\\\{\\\\}--IZkB { background: lime; }
+.\\\\#fake\\\\-id--AqiA { background: lime; }
+.foo\\\\.bar--uajo { background: lime; }
+.\\\\3A hover--HVud { background: lime; }
+.\\\\3A hover\\\\3A focus\\\\3A active--Zlaa { background: lime; }
+.\\\\[attr\\\\=value\\\\]--PWvC { background: lime; }
+.f\\\\/o\\\\/o--A5l5 { background: lime; }
+.f\\\\\\\\o\\\\\\\\o--DFfh { background: lime; }
+.f\\\\*o\\\\*o--gv1E { background: lime; }
+.f\\\\!o\\\\!o--_aIy { background: lime; }
+.f\\\\'o\\\\'o--HSXN { background: lime; }
+.f\\\\~o\\\\~o--MrVz { background: lime; }
+.f\\\\+o\\\\+o--EvMH { background: lime; }
-exports[`modules case \`keyframes-and-animation\`: (export \`all\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ".a {
- color: green;
+.foo\\\\/bar--hei2 {
+ background: hotpink;
}
-@keyframes bounce {
- 0% {
- transform: translateY(-100%);
- opacity: 0;
- }
- 5% {
- transform: translateY(-100%);
- opacity: 0;
- }
+.foo\\\\\\\\bar--IgSz {
+ background: hotpink;
}
-@-webkit-keyframes bounce2 {
- 0% {
- transform: translateY(-100%);
- opacity: 0;
- }
- 5% {
- transform: translateY(-100%);
- opacity: 0;
- }
+.foo\\\\/bar\\\\/baz--p6KJ {
+ background: hotpink;
}
-.bounce {
- animation-name: bounce;
- animation: bounce2 1s ease;
+.foo\\\\\\\\bar\\\\\\\\baz--HZer {
+ background: hotpink;
+}
+\`, ""]);
+// Exports
+var _1 = \`123--oqRG\`;
+export { _1 as "123" };
+export var test = \`test--KuIS\`;
+export var _test = \`_test--Lb3f\`;
+export var className = \`className--Ldhp\`;
+export var someId = \`someId--b0rh\`;
+export var subClass = \`subClass--Mw9j\`;
+var _2 = \`-a0-34a___f--DdFW\`;
+export { _2 as "-a0-34a___f" };
+var _3 = \`m_x_@--OdAm\`;
+export { _3 as "m_x_@" };
+var _4 = \`B&W?--h4SE\`;
+export { _4 as "B&W?" };
+var _5 = \`:\\\`(--fKJQ\`;
+export { _5 as ":\`(" };
+var _6 = \`1a2b3c--YR1u\`;
+export { _6 as "1a2b3c" };
+var _7 = \`#fake-id--AqiA\`;
+export { _7 as "#fake-id" };
+var _8 = \`-a-b-c---CwXv\`;
+export { _8 as "-a-b-c-" };
+var _9 = \`©--jBj0\`;
+export { _9 as "©" };
+var _a = \`♥--vJl9\`;
+export { _a as "♥" };
+var _b = \`😍--CNLr\`;
+export { _b as "😍" };
+var _c = \`“‘’”--GM0Y\`;
+export { _c as "“‘’”" };
+var _d = \`☺☃--NKrB\`;
+export { _d as "☺☃" };
+var _e = \`⌘⌥--edHW\`;
+export { _e as "⌘⌥" };
+var _f = \`𝄞♪♩♫♬--QyMp\`;
+export { _f as "𝄞♪♩♫♬" };
+var _10 = \`💩--B82Y\`;
+export { _10 as "💩" };
+var _11 = \`?--ndmp\`;
+export { _11 as "?" };
+var _12 = \`@--v3gq\`;
+export { _12 as "@" };
+var _13 = \`.--zd5u\`;
+export { _13 as "." };
+var _14 = \`:)--ZiZn\`;
+export { _14 as ":)" };
+var _15 = \`
--TdAx\`;
+export { _15 as "
" };
+var _16 = \`<><<<>><>--ozNs\`;
+export { _16 as "<><<<>><>" };
+var _17 = \`++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.--ByKo\`;
+export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." };
+var _18 = \`#--HkwI\`;
+export { _18 as "#" };
+var _19 = \`##--IJc6\`;
+export { _19 as "##" };
+var _1a = \`#.#.#--BnPp\`;
+export { _1a as "#.#.#" };
+export var _ = \`_--bCwk\`;
+var _1b = \`{}--IZkB\`;
+export { _1b as "{}" };
+var _1c = \`foo.bar--uajo\`;
+export { _1c as "foo.bar" };
+var _1d = \`:hover--HVud\`;
+export { _1d as ":hover" };
+var _1e = \`:hover:focus:active--Zlaa\`;
+export { _1e as ":hover:focus:active" };
+var _1f = \`[attr=value]--PWvC\`;
+export { _1f as "[attr=value]" };
+var _20 = \`f/o/o--A5l5\`;
+export { _20 as "f/o/o" };
+var _21 = \`f\\\\o\\\\o--DFfh\`;
+export { _21 as "f\\\\o\\\\o" };
+var _22 = \`f*o*o--gv1E\`;
+export { _22 as "f*o*o" };
+var _23 = \`f!o!o--_aIy\`;
+export { _23 as "f!o!o" };
+var _24 = \`f'o'o--HSXN\`;
+export { _24 as "f'o'o" };
+var _25 = \`f~o~o--MrVz\`;
+export { _25 as "f~o~o" };
+var _26 = \`f+o+o--EvMH\`;
+export { _26 as "f+o+o" };
+var _27 = \`foo/bar--hei2\`;
+export { _27 as "foo/bar" };
+var _28 = \`foo\\\\bar--IgSz\`;
+export { _28 as "foo\\\\bar" };
+var _29 = \`foo/bar/baz--p6KJ\`;
+export { _29 as "foo/bar/baz" };
+var _2a = \`foo\\\\bar\\\\baz--HZer\`;
+export { _2a as "foo\\\\bar\\\\baz" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and correctly replace escaped symbols: result 1`] = `
+[
+ [
+ "./modules/localIdentName/localIdentName.css",
+ ".test--KuIS {
+ background: red;
}
-.bounce2 {
- color: green;
- animation: bounce 1s ease;
- animation-name: bounce2;
+._test--Lb3f {
+ background: blue;
}
-.bounce3 {
- animation: bounce 1s ease, bounce2
+.className--Ldhp {
+ background: red;
}
-.bounce4 {
- animation: bounce 1s ease, bounce2;
+#someId--b0rh {
+ background: green;
}
-.b {
- color: green;
+.className--Ldhp .subClass--Mw9j {
+ color: green;
}
-",
- "",
- ],
-]
-`;
-exports[`modules case \`keyframes-and-animation\`: (export \`all\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+#someId--b0rh .subClass--Mw9j {
+ color: blue;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`all\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+.-a0-34a___f--DdFW {
+ color: red;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`all\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
+.m_x_\\@--OdAm {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`all\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ".a {
- color: green;
+.B\\&W\\?--h4SE {
+ margin-left: auto !important;
+ margin-right: auto !important;
}
-@keyframes bounce {
- 0% {
- transform: translateY(-100%);
- opacity: 0;
- }
- 5% {
- transform: translateY(-100%);
- opacity: 0;
- }
+/* matches elements with class=":\`(" */
+.\\3A \\\`\\(--fKJQ {
+ color: aqua;
}
-@-webkit-keyframes bounce2 {
- 0% {
- transform: translateY(-100%);
- opacity: 0;
- }
- 5% {
- transform: translateY(-100%);
- opacity: 0;
- }
+/* matches elements with class="1a2b3c" */
+.\\31 a2b3c--YR1u {
+ color: aliceblue;
}
-.bounce {
- animation-name: bounce;
- animation: bounce2 1s ease;
+/* matches the element with id="#fake-id" */
+#\\#fake-id--AqiA {
+ color: antiquewhite;
}
-.bounce2 {
- color: green;
- animation: bounce 1s ease;
- animation-name: bounce2;
+/* matches the element with id="-a-b-c-" */
+#-a-b-c---CwXv {
+ color: azure;
}
-.bounce3 {
- animation: bounce 1s ease, bounce2
+/* matches the element with id="©" */
+#©--jBj0 {
+ color: black;
}
-.bounce4 {
- animation: bounce 1s ease, bounce2;
+.♥--vJl9 { background: lime; }
+.©--jBj0 { background: lime; }
+.😍--CNLr { background: lime; }
+.“‘’”--GM0Y { background: lime; }
+.☺☃--NKrB { background: lime; }
+.⌘⌥--edHW { background: lime; }
+.𝄞♪♩♫♬--QyMp { background: lime; }
+.💩--B82Y { background: lime; }
+.\\?--ndmp { background: lime; }
+.\\@--v3gq { background: lime; }
+.\\.--zd5u { background: lime; }
+.\\3A \\)--ZiZn { background: lime; }
+.\\3A \\\`\\(--fKJQ { background: lime; }
+.\\31 23--oqRG { background: lime; }
+.\\31 a2b3c--YR1u { background: lime; }
+.\\
--TdAx { background: lime; }
+.\\<\\>\\<\\<\\<\\>\\>\\<\\>--ozNs { background: lime; }
+.\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\[\\>\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\>\\+\\<\\<\\<\\<\\-\\]\\>\\+\\+\\.\\>\\+\\.\\+\\+\\+\\+\\+\\+\\+\\.\\.\\+\\+\\+\\.\\>\\+\\+\\.\\<\\<\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\.\\>\\.\\+\\+\\+\\.\\-\\-\\-\\-\\-\\-\\.\\-\\-\\-\\-\\-\\-\\-\\-\\.\\>\\+\\.\\>\\.--ByKo { background: lime; }
+.\\#--HkwI { background: lime; }
+.\\#\\#--IJc6 { background: lime; }
+.\\#\\.\\#\\.\\#--BnPp { background: lime; }
+.\\_--bCwk { background: lime; }
+.\\{\\}--IZkB { background: lime; }
+.\\#fake\\-id--AqiA { background: lime; }
+.foo\\.bar--uajo { background: lime; }
+.\\3A hover--HVud { background: lime; }
+.\\3A hover\\3A focus\\3A active--Zlaa { background: lime; }
+.\\[attr\\=value\\]--PWvC { background: lime; }
+.f\\/o\\/o--A5l5 { background: lime; }
+.f\\\\o\\\\o--DFfh { background: lime; }
+.f\\*o\\*o--gv1E { background: lime; }
+.f\\!o\\!o--_aIy { background: lime; }
+.f\\'o\\'o--HSXN { background: lime; }
+.f\\~o\\~o--MrVz { background: lime; }
+.f\\+o\\+o--EvMH { background: lime; }
+
+.foo\\/bar--hei2 {
+ background: hotpink;
}
-.b {
- color: green;
+.foo\\\\bar--IgSz {
+ background: hotpink;
+}
+
+.foo\\/bar\\/baz--p6KJ {
+ background: hotpink;
+}
+
+.foo\\\\bar\\\\baz--HZer {
+ background: hotpink;
}
",
"",
@@ -1775,248 +3002,668 @@ Array [
]
`;
-exports[`modules case \`keyframes-and-animation\`: (export \`all\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`keyframes-and-animation\`: (export \`all\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+exports[`"modules" option should work and correctly replace escaped symbols: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and generate the same classes for client and server: client errors 1`] = `[]`;
+
+exports[`"modules" option should work and generate the same classes for client and server: client module 1`] = `
+"// extracted by mini-css-extract-plugin
+var _1 = "oqRGsO4UR7_DWiqWXJMz";
+var _2 = "HkwIsjW5i7WNAxVRd5cg";
+var _3 = "IJc6Xl4ZKVZvSoeIuI2Q";
+var _4 = "BnPpnJmPeNr51pj2ZTlf";
+var _5 = "AqiAGSfnwaXj3eqg0Om8";
+var _6 = "ByKoYcSrMT2cN3V2iAgZ";
+var _7 = "CwXv27VMwyQqKBvNNaFr";
+var _8 = "DdFWMPoluIgmQirKzoS6";
+var _9 = "zd5uIZq6KrAWTwBjwZdC";
+var _a = "YR1u_buYf6paLzzUM6Vc";
+var _b = "ZiZnRjRT03NgoqVQwkGO";
+var _c = "fKJQkLarfQOel4wwbIrn";
+var _d = "HVudUNXnLNQoCLpVn82S";
+var _e = "ZlaaXvHLUsJOCFzItB_1";
+var _f = "ozNsTIG0LL2gSQdL5dzv";
+var _10 = "TdAx2ZSkw7Hbktc7KR72";
+var _11 = "ndmpvNNltJXbDVvqKuxt";
+var _12 = "v3gq0wPogd6ZPfq_pfyZ";
+var _13 = "h4SEF34CLwChRsak1742";
+var _14 = "PWvC4jVM5SwUmKmw2tfW";
+var _15 = "bCwkZEDuxDAOhKnMdLVF";
+var _16 = "Lb3fhDAuJv4v7BXOPttP";
+var _17 = "LdhpkZRWyKT7zDwJ0lt8";
+var _18 = "_aIyR9ETAs8ipXmRrrDO";
+var _19 = "HSXNnSjt1QaHBHUb_UIs";
+var _1a = "gv1E2n_bVvy0iT8TaHIv";
+var _1b = "EvMHRmCudyKg3GpLjAfj";
+var _1c = "A5l5sDODF4CQBW_PtlQD";
+var _1d = "DFfh4KyqOODVQsTPb3wt";
+var _1e = "uajo7mHzD_tTqOXqaqdg";
+var _1f = "hei2uQgDeX2YNkppCHp9";
+var _20 = "p6KJMhNWwmCU2bXHJB93";
+var _21 = "IgSzmmsCqiJBl4SibwgR";
+var _22 = "HZerWgmU0ffpPzySVi_g";
+var _23 = "MrVzSIcSXyoDsr5G0K5_";
+var _24 = "OdAmghrme3xnUYOdzoDw";
+var _25 = "b0rhwJStMR3eH63oapwW";
+var _26 = "Mw9j4nIdjx1xCGDt7d6a";
+var _27 = "KuIShlgsYfxvLoLHT1mu";
+var _28 = "IZkBfE9iUPen76w2bB_q";
+var _29 = "jBj0sZiWBysiwRyGu_go";
+var _2a = "GM0Y0nFCPtkVMz6Esfno";
+var _2b = "edHWpSne18gmGmfN6SV6";
+var _2c = "NKrBw7EAqPT7Cgn7JzrA";
+var _2d = "vJl9A9Ds21oujVsd5UD2";
+var _2e = "QyMp9YMEoYUmEHEdpRal";
+var _2f = "B82YxwgREHbKn8IpgaWw";
+var _30 = "CNLr9yJwqs3dm6FgpOqA";
+export { _1 as "123", _2 as "#", _3 as "##", _4 as "#.#.#", _5 as "#fake-id", _6 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.", _7 as "-a-b-c-", _8 as "-a0-34a___f", _9 as ".", _a as "1a2b3c", _b as ":)", _c as ":\`(", _d as ":hover", _e as ":hover:focus:active", _f as "<><<<>><>", _10 as "
", _11 as "?", _12 as "@", _13 as "B&W?", _14 as "[attr=value]", _15 as "_", _16 as "_test", _17 as "className", _18 as "f!o!o", _19 as "f'o'o", _1a as "f*o*o", _1b as "f+o+o", _1c as "f/o/o", _1d as "f\\\\o\\\\o", _1e as "foo.bar", _1f as "foo/bar", _20 as "foo/bar/baz", _21 as "foo\\\\bar", _22 as "foo\\\\bar\\\\baz", _23 as "f~o~o", _24 as "m_x_@", _25 as "someId", _26 as "subClass", _27 as "test", _28 as "{}", _29 as "©", _2a as "“‘’”", _2b as "⌘⌥", _2c as "☺☃", _2d as "♥", _2e as "𝄞♪♩♫♬", _2f as "💩", _30 as "😍" }
+"
+`;
+
+exports[`"modules" option should work and generate the same classes for client and server: client result 1`] = `
+{
+ "#": "HkwIsjW5i7WNAxVRd5cg",
+ "##": "IJc6Xl4ZKVZvSoeIuI2Q",
+ "#.#.#": "BnPpnJmPeNr51pj2ZTlf",
+ "#fake-id": "AqiAGSfnwaXj3eqg0Om8",
+ "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.": "ByKoYcSrMT2cN3V2iAgZ",
+ "-a-b-c-": "CwXv27VMwyQqKBvNNaFr",
+ "-a0-34a___f": "DdFWMPoluIgmQirKzoS6",
+ ".": "zd5uIZq6KrAWTwBjwZdC",
+ "123": "oqRGsO4UR7_DWiqWXJMz",
+ "1a2b3c": "YR1u_buYf6paLzzUM6Vc",
+ ":)": "ZiZnRjRT03NgoqVQwkGO",
+ ":\`(": "fKJQkLarfQOel4wwbIrn",
+ ":hover": "HVudUNXnLNQoCLpVn82S",
+ ":hover:focus:active": "ZlaaXvHLUsJOCFzItB_1",
+ "<><<<>><>": "ozNsTIG0LL2gSQdL5dzv",
+ "
": "TdAx2ZSkw7Hbktc7KR72",
+ "?": "ndmpvNNltJXbDVvqKuxt",
+ "@": "v3gq0wPogd6ZPfq_pfyZ",
+ "B&W?": "h4SEF34CLwChRsak1742",
+ "[attr=value]": "PWvC4jVM5SwUmKmw2tfW",
+ "_": "bCwkZEDuxDAOhKnMdLVF",
+ "_test": "Lb3fhDAuJv4v7BXOPttP",
+ "className": "LdhpkZRWyKT7zDwJ0lt8",
+ "f!o!o": "_aIyR9ETAs8ipXmRrrDO",
+ "f'o'o": "HSXNnSjt1QaHBHUb_UIs",
+ "f*o*o": "gv1E2n_bVvy0iT8TaHIv",
+ "f+o+o": "EvMHRmCudyKg3GpLjAfj",
+ "f/o/o": "A5l5sDODF4CQBW_PtlQD",
+ "f\\o\\o": "DFfh4KyqOODVQsTPb3wt",
+ "foo.bar": "uajo7mHzD_tTqOXqaqdg",
+ "foo/bar": "hei2uQgDeX2YNkppCHp9",
+ "foo/bar/baz": "p6KJMhNWwmCU2bXHJB93",
+ "foo\\bar": "IgSzmmsCqiJBl4SibwgR",
+ "foo\\bar\\baz": "HZerWgmU0ffpPzySVi_g",
+ "f~o~o": "MrVzSIcSXyoDsr5G0K5_",
+ "m_x_@": "OdAmghrme3xnUYOdzoDw",
+ "someId": "b0rhwJStMR3eH63oapwW",
+ "subClass": "Mw9j4nIdjx1xCGDt7d6a",
+ "test": "KuIShlgsYfxvLoLHT1mu",
+ "{}": "IZkBfE9iUPen76w2bB_q",
+ "©": "jBj0sZiWBysiwRyGu_go",
+ "“‘’”": "GM0Y0nFCPtkVMz6Esfno",
+ "⌘⌥": "edHWpSne18gmGmfN6SV6",
+ "☺☃": "NKrBw7EAqPT7Cgn7JzrA",
+ "♥": "vJl9A9Ds21oujVsd5UD2",
+ "𝄞♪♩♫♬": "QyMp9YMEoYUmEHEdpRal",
+ "💩": "B82YxwgREHbKn8IpgaWw",
+ "😍": "CNLr9yJwqs3dm6FgpOqA",
+}
+`;
+
+exports[`"modules" option should work and generate the same classes for client and server: client warnings 1`] = `[]`;
+
+exports[`"modules" option should work and generate the same classes for client and server: server errors 1`] = `[]`;
+
+exports[`"modules" option should work and generate the same classes for client and server: server module 1`] = `
+"// Exports
+var _1 = \`oqRGsO4UR7_DWiqWXJMz\`;
+export { _1 as "123" };
+export var test = \`KuIShlgsYfxvLoLHT1mu\`;
+export var _test = \`Lb3fhDAuJv4v7BXOPttP\`;
+export var className = \`LdhpkZRWyKT7zDwJ0lt8\`;
+export var someId = \`b0rhwJStMR3eH63oapwW\`;
+export var subClass = \`Mw9j4nIdjx1xCGDt7d6a\`;
+var _2 = \`DdFWMPoluIgmQirKzoS6\`;
+export { _2 as "-a0-34a___f" };
+var _3 = \`OdAmghrme3xnUYOdzoDw\`;
+export { _3 as "m_x_@" };
+var _4 = \`h4SEF34CLwChRsak1742\`;
+export { _4 as "B&W?" };
+var _5 = \`fKJQkLarfQOel4wwbIrn\`;
+export { _5 as ":\`(" };
+var _6 = \`YR1u_buYf6paLzzUM6Vc\`;
+export { _6 as "1a2b3c" };
+var _7 = \`AqiAGSfnwaXj3eqg0Om8\`;
+export { _7 as "#fake-id" };
+var _8 = \`CwXv27VMwyQqKBvNNaFr\`;
+export { _8 as "-a-b-c-" };
+var _9 = \`jBj0sZiWBysiwRyGu_go\`;
+export { _9 as "©" };
+var _a = \`vJl9A9Ds21oujVsd5UD2\`;
+export { _a as "♥" };
+var _b = \`CNLr9yJwqs3dm6FgpOqA\`;
+export { _b as "😍" };
+var _c = \`GM0Y0nFCPtkVMz6Esfno\`;
+export { _c as "“‘’”" };
+var _d = \`NKrBw7EAqPT7Cgn7JzrA\`;
+export { _d as "☺☃" };
+var _e = \`edHWpSne18gmGmfN6SV6\`;
+export { _e as "⌘⌥" };
+var _f = \`QyMp9YMEoYUmEHEdpRal\`;
+export { _f as "𝄞♪♩♫♬" };
+var _10 = \`B82YxwgREHbKn8IpgaWw\`;
+export { _10 as "💩" };
+var _11 = \`ndmpvNNltJXbDVvqKuxt\`;
+export { _11 as "?" };
+var _12 = \`v3gq0wPogd6ZPfq_pfyZ\`;
+export { _12 as "@" };
+var _13 = \`zd5uIZq6KrAWTwBjwZdC\`;
+export { _13 as "." };
+var _14 = \`ZiZnRjRT03NgoqVQwkGO\`;
+export { _14 as ":)" };
+var _15 = \`TdAx2ZSkw7Hbktc7KR72\`;
+export { _15 as "
" };
+var _16 = \`ozNsTIG0LL2gSQdL5dzv\`;
+export { _16 as "<><<<>><>" };
+var _17 = \`ByKoYcSrMT2cN3V2iAgZ\`;
+export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." };
+var _18 = \`HkwIsjW5i7WNAxVRd5cg\`;
+export { _18 as "#" };
+var _19 = \`IJc6Xl4ZKVZvSoeIuI2Q\`;
+export { _19 as "##" };
+var _1a = \`BnPpnJmPeNr51pj2ZTlf\`;
+export { _1a as "#.#.#" };
+export var _ = \`bCwkZEDuxDAOhKnMdLVF\`;
+var _1b = \`IZkBfE9iUPen76w2bB_q\`;
+export { _1b as "{}" };
+var _1c = \`uajo7mHzD_tTqOXqaqdg\`;
+export { _1c as "foo.bar" };
+var _1d = \`HVudUNXnLNQoCLpVn82S\`;
+export { _1d as ":hover" };
+var _1e = \`ZlaaXvHLUsJOCFzItB_1\`;
+export { _1e as ":hover:focus:active" };
+var _1f = \`PWvC4jVM5SwUmKmw2tfW\`;
+export { _1f as "[attr=value]" };
+var _20 = \`A5l5sDODF4CQBW_PtlQD\`;
+export { _20 as "f/o/o" };
+var _21 = \`DFfh4KyqOODVQsTPb3wt\`;
+export { _21 as "f\\\\o\\\\o" };
+var _22 = \`gv1E2n_bVvy0iT8TaHIv\`;
+export { _22 as "f*o*o" };
+var _23 = \`_aIyR9ETAs8ipXmRrrDO\`;
+export { _23 as "f!o!o" };
+var _24 = \`HSXNnSjt1QaHBHUb_UIs\`;
+export { _24 as "f'o'o" };
+var _25 = \`MrVzSIcSXyoDsr5G0K5_\`;
+export { _25 as "f~o~o" };
+var _26 = \`EvMHRmCudyKg3GpLjAfj\`;
+export { _26 as "f+o+o" };
+var _27 = \`hei2uQgDeX2YNkppCHp9\`;
+export { _27 as "foo/bar" };
+var _28 = \`IgSzmmsCqiJBl4SibwgR\`;
+export { _28 as "foo\\\\bar" };
+var _29 = \`p6KJMhNWwmCU2bXHJB93\`;
+export { _29 as "foo/bar/baz" };
+var _2a = \`HZerWgmU0ffpPzySVi_g\`;
+export { _2a as "foo\\\\bar\\\\baz" };
+"
+`;
+
+exports[`"modules" option should work and generate the same classes for client and server: server result 1`] = `
+{
+ "#": "HkwIsjW5i7WNAxVRd5cg",
+ "##": "IJc6Xl4ZKVZvSoeIuI2Q",
+ "#.#.#": "BnPpnJmPeNr51pj2ZTlf",
+ "#fake-id": "AqiAGSfnwaXj3eqg0Om8",
+ "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.": "ByKoYcSrMT2cN3V2iAgZ",
+ "-a-b-c-": "CwXv27VMwyQqKBvNNaFr",
+ "-a0-34a___f": "DdFWMPoluIgmQirKzoS6",
+ ".": "zd5uIZq6KrAWTwBjwZdC",
+ "123": "oqRGsO4UR7_DWiqWXJMz",
+ "1a2b3c": "YR1u_buYf6paLzzUM6Vc",
+ ":)": "ZiZnRjRT03NgoqVQwkGO",
+ ":\`(": "fKJQkLarfQOel4wwbIrn",
+ ":hover": "HVudUNXnLNQoCLpVn82S",
+ ":hover:focus:active": "ZlaaXvHLUsJOCFzItB_1",
+ "<><<<>><>": "ozNsTIG0LL2gSQdL5dzv",
+ "
": "TdAx2ZSkw7Hbktc7KR72",
+ "?": "ndmpvNNltJXbDVvqKuxt",
+ "@": "v3gq0wPogd6ZPfq_pfyZ",
+ "B&W?": "h4SEF34CLwChRsak1742",
+ "[attr=value]": "PWvC4jVM5SwUmKmw2tfW",
+ "_": "bCwkZEDuxDAOhKnMdLVF",
+ "_test": "Lb3fhDAuJv4v7BXOPttP",
+ "className": "LdhpkZRWyKT7zDwJ0lt8",
+ "f!o!o": "_aIyR9ETAs8ipXmRrrDO",
+ "f'o'o": "HSXNnSjt1QaHBHUb_UIs",
+ "f*o*o": "gv1E2n_bVvy0iT8TaHIv",
+ "f+o+o": "EvMHRmCudyKg3GpLjAfj",
+ "f/o/o": "A5l5sDODF4CQBW_PtlQD",
+ "f\\o\\o": "DFfh4KyqOODVQsTPb3wt",
+ "foo.bar": "uajo7mHzD_tTqOXqaqdg",
+ "foo/bar": "hei2uQgDeX2YNkppCHp9",
+ "foo/bar/baz": "p6KJMhNWwmCU2bXHJB93",
+ "foo\\bar": "IgSzmmsCqiJBl4SibwgR",
+ "foo\\bar\\baz": "HZerWgmU0ffpPzySVi_g",
+ "f~o~o": "MrVzSIcSXyoDsr5G0K5_",
+ "m_x_@": "OdAmghrme3xnUYOdzoDw",
+ "someId": "b0rhwJStMR3eH63oapwW",
+ "subClass": "Mw9j4nIdjx1xCGDt7d6a",
+ "test": "KuIShlgsYfxvLoLHT1mu",
+ "{}": "IZkBfE9iUPen76w2bB_q",
+ "©": "jBj0sZiWBysiwRyGu_go",
+ "“‘’”": "GM0Y0nFCPtkVMz6Esfno",
+ "⌘⌥": "edHWpSne18gmGmfN6SV6",
+ "☺☃": "NKrBw7EAqPT7Cgn7JzrA",
+ "♥": "vJl9A9Ds21oujVsd5UD2",
+ "𝄞♪♩♫♬": "QyMp9YMEoYUmEHEdpRal",
+ "💩": "B82YxwgREHbKn8IpgaWw",
+ "😍": "CNLr9yJwqs3dm6FgpOqA",
+}
+`;
+
+exports[`"modules" option should work and generate the same classes for client and server: server warnings 1`] = `[]`;
+
+exports[`"modules" option should work and has "undefined" context if no context was given: errors 1`] = `[]`;
+
+exports[`"modules" option should work and has "undefined" context if no context was given: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.foo {
+ background: red;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`all\`) (\`modules\` value is \`local)\`: locals 1`] = `
-Object {
- "a": "_a",
- "b": "_b",
- "bounce": "_bounce",
- "bounce2": "_bounce2",
- "bounce3": "_bounce3",
- "bounce4": "_bounce4",
+.foo {
+ background: blue;
}
-`;
-exports[`modules case \`keyframes-and-animation\`: (export \`all\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._a {
- color: green;
+.foo {
+ background: red;
}
-@keyframes _bounce {
- 0% {
- transform: translateY(-100%);
- opacity: 0;
- }
- 5% {
- transform: translateY(-100%);
- opacity: 0;
- }
+#foo {
+ background: green;
}
-@-webkit-keyframes _bounce2 {
- 0% {
- transform: translateY(-100%);
- opacity: 0;
- }
- 5% {
- transform: translateY(-100%);
- opacity: 0;
- }
+.foo .foo {
+ color: green;
}
-._bounce {
- animation-name: _bounce;
- animation: _bounce2 1s ease;
+#foo .foo {
+ color: blue;
}
-._bounce2 {
- color: green;
- animation: _bounce 1s ease;
- animation-name: _bounce2;
+.foo {
+ color: red;
}
-._bounce3 {
- animation: _bounce 1s ease, _bounce2
+.foo {
+ margin-left: auto !important;
+ margin-right: auto !important;
}
-._bounce4 {
- animation: _bounce 1s ease, _bounce2;
+.foo {
+ margin-left: auto !important;
+ margin-right: auto !important;
}
-._b {
- color: green;
+/* matches elements with class=":\\\`(" */
+.foo {
+ color: aqua;
}
-",
- "",
- ],
-]
-`;
-exports[`modules case \`keyframes-and-animation\`: (export \`all\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+/* matches elements with class="1a2b3c" */
+.foo {
+ color: aliceblue;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`all\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+/* matches the element with id="#fake-id" */
+#foo {
+ color: antiquewhite;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`all\`) (\`modules\` value is \`true)\`: locals 1`] = `
-Object {
- "a": "_a",
- "b": "_b",
- "bounce": "_bounce",
- "bounce2": "_bounce2",
- "bounce3": "_bounce3",
- "bounce4": "_bounce4",
+/* matches the element with id="-a-b-c-" */
+#foo {
+ color: azure;
}
-`;
-exports[`modules case \`keyframes-and-animation\`: (export \`all\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._a {
- color: green;
+/* matches the element with id="©" */
+#foo {
+ color: black;
}
-@keyframes _bounce {
- 0% {
- transform: translateY(-100%);
- opacity: 0;
- }
- 5% {
- transform: translateY(-100%);
- opacity: 0;
- }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+
+.foo {
+ background: hotpink;
}
-@-webkit-keyframes _bounce2 {
- 0% {
- transform: translateY(-100%);
- opacity: 0;
- }
- 5% {
- transform: translateY(-100%);
- opacity: 0;
- }
+.foo {
+ background: hotpink;
}
-._bounce {
- animation-name: _bounce;
- animation: _bounce2 1s ease;
+.foo {
+ background: hotpink;
}
-._bounce2 {
- color: green;
- animation: _bounce 1s ease;
- animation-name: _bounce2;
+.foo {
+ background: hotpink;
+}
+\`, ""]);
+// Exports
+var _1 = \`foo\`;
+export { _1 as "123" };
+export var test = \`foo\`;
+export var _test = \`foo\`;
+export var className = \`foo\`;
+export var someId = \`foo\`;
+export var subClass = \`foo\`;
+var _2 = \`foo\`;
+export { _2 as "-a0-34a___f" };
+var _3 = \`foo\`;
+export { _3 as "m_x_@" };
+var _4 = \`foo\`;
+export { _4 as "B&W?" };
+var _5 = \`foo\`;
+export { _5 as ":\`(" };
+var _6 = \`foo\`;
+export { _6 as "1a2b3c" };
+var _7 = \`foo\`;
+export { _7 as "#fake-id" };
+var _8 = \`foo\`;
+export { _8 as "-a-b-c-" };
+var _9 = \`foo\`;
+export { _9 as "©" };
+var _a = \`foo\`;
+export { _a as "♥" };
+var _b = \`foo\`;
+export { _b as "😍" };
+var _c = \`foo\`;
+export { _c as "“‘’”" };
+var _d = \`foo\`;
+export { _d as "☺☃" };
+var _e = \`foo\`;
+export { _e as "⌘⌥" };
+var _f = \`foo\`;
+export { _f as "𝄞♪♩♫♬" };
+var _10 = \`foo\`;
+export { _10 as "💩" };
+var _11 = \`foo\`;
+export { _11 as "?" };
+var _12 = \`foo\`;
+export { _12 as "@" };
+var _13 = \`foo\`;
+export { _13 as "." };
+var _14 = \`foo\`;
+export { _14 as ":)" };
+var _15 = \`foo\`;
+export { _15 as "
" };
+var _16 = \`foo\`;
+export { _16 as "<><<<>><>" };
+var _17 = \`foo\`;
+export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." };
+var _18 = \`foo\`;
+export { _18 as "#" };
+var _19 = \`foo\`;
+export { _19 as "##" };
+var _1a = \`foo\`;
+export { _1a as "#.#.#" };
+export var _ = \`foo\`;
+var _1b = \`foo\`;
+export { _1b as "{}" };
+var _1c = \`foo\`;
+export { _1c as "foo.bar" };
+var _1d = \`foo\`;
+export { _1d as ":hover" };
+var _1e = \`foo\`;
+export { _1e as ":hover:focus:active" };
+var _1f = \`foo\`;
+export { _1f as "[attr=value]" };
+var _20 = \`foo\`;
+export { _20 as "f/o/o" };
+var _21 = \`foo\`;
+export { _21 as "f\\\\o\\\\o" };
+var _22 = \`foo\`;
+export { _22 as "f*o*o" };
+var _23 = \`foo\`;
+export { _23 as "f!o!o" };
+var _24 = \`foo\`;
+export { _24 as "f'o'o" };
+var _25 = \`foo\`;
+export { _25 as "f~o~o" };
+var _26 = \`foo\`;
+export { _26 as "f+o+o" };
+var _27 = \`foo\`;
+export { _27 as "foo/bar" };
+var _28 = \`foo\`;
+export { _28 as "foo\\\\bar" };
+var _29 = \`foo\`;
+export { _29 as "foo/bar/baz" };
+var _2a = \`foo\`;
+export { _2a as "foo\\\\bar\\\\baz" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and has "undefined" context if no context was given: result 1`] = `
+[
+ [
+ "./modules/localIdentName/localIdentName.css",
+ ".foo {
+ background: red;
}
-._bounce3 {
- animation: _bounce 1s ease, _bounce2
+.foo {
+ background: blue;
}
-._bounce4 {
- animation: _bounce 1s ease, _bounce2;
+.foo {
+ background: red;
}
-._b {
- color: green;
+#foo {
+ background: green;
}
-",
- "",
- ],
-]
-`;
-exports[`modules case \`keyframes-and-animation\`: (export \`all\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
+.foo .foo {
+ color: green;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`only locals\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+#foo .foo {
+ color: blue;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`only locals\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+.foo {
+ color: red;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`only locals\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `Object {}`;
+.foo {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`only locals\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+.foo {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`only locals\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+/* matches elements with class=":\`(" */
+.foo {
+ color: aqua;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`only locals\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
+/* matches elements with class="1a2b3c" */
+.foo {
+ color: aliceblue;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`only locals\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `Object {}`;
+/* matches the element with id="#fake-id" */
+#foo {
+ color: antiquewhite;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`only locals\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+/* matches the element with id="-a-b-c-" */
+#foo {
+ color: azure;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`only locals\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+/* matches the element with id="©" */
+#foo {
+ color: black;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`only locals\`) (\`modules\` value is \`local)\`: locals 1`] = `undefined`;
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
-exports[`modules case \`keyframes-and-animation\`: (export \`only locals\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Object {
- "a": "_a",
- "b": "_b",
- "bounce": "_bounce",
- "bounce2": "_bounce2",
- "bounce3": "_bounce3",
- "bounce4": "_bounce4",
+.foo {
+ background: hotpink;
}
-`;
-exports[`modules case \`keyframes-and-animation\`: (export \`only locals\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`keyframes-and-animation\`: (export \`only locals\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+.foo {
+ background: hotpink;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`only locals\`) (\`modules\` value is \`true)\`: locals 1`] = `undefined`;
+.foo {
+ background: hotpink;
+}
-exports[`modules case \`keyframes-and-animation\`: (export \`only locals\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Object {
- "a": "_a",
- "b": "_b",
- "bounce": "_bounce",
- "bounce2": "_bounce2",
- "bounce3": "_bounce3",
- "bounce4": "_bounce4",
+.foo {
+ background: hotpink;
}
+",
+ "",
+ ],
+]
`;
-exports[`modules case \`keyframes-and-animation\`: (export \`only locals\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`leak-scope\`: (export \`all\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`leak-scope\`: (export \`all\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
-
-exports[`modules case \`leak-scope\`: (export \`all\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ".a {
- color: green;
- animation: a;
-}
+exports[`"modules" option should work and has "undefined" context if no context was given: warnings 1`] = `[]`;
-@keyframes b {
- 0% { left: 10px; }
- 100% { left: 20px; }
-}
+exports[`"modules" option should work and prefer relative for "composes": errors 1`] = `[]`;
-.b {
- animation: b;
+exports[`"modules" option should work and prefer relative for "composes": module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+import ___CSS_LOADER_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./package/one.css";
+import ___CSS_LOADER_ICSS_IMPORT_1___, * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./node_modules/package/two.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, "", true);
+___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_1___, "", true);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.eY6jkKjjXnFY1QWC5gpe {
+ color: yellow;
}
-@keyframes :global(c) {
- 0% { left: 10px; }
- 100% { left: 20px; }
+.cfTHoySzymaJQ150LQPh {
+ color: yellow;
}
+\`, ""]);
+// Exports
+export var one = \`eY6jkKjjXnFY1QWC5gpe \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["imported-relative"]}\`;
+export var two = \`cfTHoySzymaJQ150LQPh \${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["imported-relative"]}\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
-.c {
- animation: c1;
- animation: c2, c3, c4;
+exports[`"modules" option should work and prefer relative for "composes": result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/prefer-relative/package/one.css",
+ ".x6BAJm_OUHnABwnaBJG6 {
+ display: block;
}
-
-@keyframes :global(d) {
- 0% { left: 10px; }
- 100% { left: 20px; }
+",
+ "",
+ ],
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/prefer-relative/node_modules/package/two.css",
+ ".sFLAbn2jg871KRraVJSF {
+ display: inline;
}
-
-:global .d1 {
- animation: d1;
- animation: d2, d3, d4;
+",
+ "",
+ ],
+ [
+ "./modules/prefer-relative/source.css",
+ ".eY6jkKjjXnFY1QWC5gpe {
+ color: yellow;
}
-:global(.d2) {
- animation: d2;
+.cfTHoySzymaJQ150LQPh {
+ color: yellow;
}
",
"",
@@ -2024,286 +3671,343 @@ Array [
]
`;
-exports[`modules case \`leak-scope\`: (export \`all\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+exports[`"modules" option should work and prefer relative for "composes": warnings 1`] = `[]`;
-exports[`modules case \`leak-scope\`: (export \`all\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+exports[`"modules" option should work and prefix leading hyphen when digit is first: errors 1`] = `[]`;
-exports[`modules case \`leak-scope\`: (export \`all\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
+exports[`"modules" option should work and prefix leading hyphen when digit is first: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`._-1test {
+ background: red;
+}
-exports[`modules case \`leak-scope\`: (export \`all\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ".a {
- color: green;
- animation: a;
+._-1_test {
+ background: blue;
}
-@keyframes b {
- 0% { left: 10px; }
- 100% { left: 20px; }
+._-1className {
+ background: red;
}
-.b {
- animation: b;
+#_-1someId {
+ background: green;
}
-@keyframes c {
- 0% { left: 10px; }
- 100% { left: 20px; }
+._-1className ._-1subClass {
+ color: green;
}
-.c {
- animation: c1;
- animation: c2, c3, c4;
+#_-1someId ._-1subClass {
+ color: blue;
}
-@keyframes d {
- 0% { left: 10px; }
- 100% { left: 20px; }
+._-1-a0-34a___f {
+ color: red;
}
-.d1 {
- animation: d1;
- animation: d2, d3, d4;
+._-1m_x_\\\\@ {
+ margin-left: auto !important;
+ margin-right: auto !important;
}
-.d2 {
- animation: d2;
+._-1B\\\\&W\\\\? {
+ margin-left: auto !important;
+ margin-right: auto !important;
}
-",
- "",
- ],
-]
-`;
-exports[`modules case \`leak-scope\`: (export \`all\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+/* matches elements with class=":\\\`(" */
+._-1\\\\3A \\\\\\\`\\\\( {
+ color: aqua;
+}
-exports[`modules case \`leak-scope\`: (export \`all\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+/* matches elements with class="1a2b3c" */
+._-1\\\\31 a2b3c {
+ color: aliceblue;
+}
-exports[`modules case \`leak-scope\`: (export \`all\`) (\`modules\` value is \`local)\`: locals 1`] = `
-Object {
- "a": "_a",
- "b": "_b",
- "c": "_c",
- "c1": "_c1",
- "c2": "_c2",
- "c3": "_c3",
- "c4": "_c4",
- "d2": "_d2",
+/* matches the element with id="#fake-id" */
+#_-1\\\\#fake-id {
+ color: antiquewhite;
}
-`;
-exports[`modules case \`leak-scope\`: (export \`all\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._a {
- color: green;
- animation: _a;
+/* matches the element with id="-a-b-c-" */
+#_-1-a-b-c- {
+ color: azure;
}
-@keyframes _b {
- 0% { left: 10px; }
- 100% { left: 20px; }
+/* matches the element with id="©" */
+#_-1© {
+ color: black;
}
-._b {
- animation: _b;
-}
+._-1♥ { background: lime; }
+._-1© { background: lime; }
+._-1😍 { background: lime; }
+._-1“‘’” { background: lime; }
+._-1☺☃ { background: lime; }
+._-1⌘⌥ { background: lime; }
+._-1𝄞♪♩♫♬ { background: lime; }
+._-1💩 { background: lime; }
+._-1\\\\? { background: lime; }
+._-1\\\\@ { background: lime; }
+._-1\\\\. { background: lime; }
+._-1\\\\3A \\\\) { background: lime; }
+._-1\\\\3A \\\\\\\`\\\\( { background: lime; }
+._-1\\\\31 23 { background: lime; }
+._-1\\\\31 a2b3c { background: lime; }
+._-1\\\\
{ background: lime; }
+._-1\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\> { background: lime; }
+._-1\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\. { background: lime; }
+._-1\\\\# { background: lime; }
+._-1\\\\#\\\\# { background: lime; }
+._-1\\\\#\\\\.\\\\#\\\\.\\\\# { background: lime; }
+._-1\\\\_ { background: lime; }
+._-1\\\\{\\\\} { background: lime; }
+._-1\\\\#fake\\\\-id { background: lime; }
+._-1foo\\\\.bar { background: lime; }
+._-1\\\\3A hover { background: lime; }
+._-1\\\\3A hover\\\\3A focus\\\\3A active { background: lime; }
+._-1\\\\[attr\\\\=value\\\\] { background: lime; }
+._-1f\\\\/o\\\\/o { background: lime; }
+._-1f\\\\\\\\o\\\\\\\\o { background: lime; }
+._-1f\\\\*o\\\\*o { background: lime; }
+._-1f\\\\!o\\\\!o { background: lime; }
+._-1f\\\\'o\\\\'o { background: lime; }
+._-1f\\\\~o\\\\~o { background: lime; }
+._-1f\\\\+o\\\\+o { background: lime; }
-@keyframes c {
- 0% { left: 10px; }
- 100% { left: 20px; }
+._-1foo\\\\/bar {
+ background: hotpink;
}
-._c {
- animation: _c1;
- animation: _c2, _c3, _c4;
+._-1foo\\\\\\\\bar {
+ background: hotpink;
}
-@keyframes d {
- 0% { left: 10px; }
- 100% { left: 20px; }
+._-1foo\\\\/bar\\\\/baz {
+ background: hotpink;
}
-.d1 {
- animation: d1;
- animation: d2, d3, d4;
+._-1foo\\\\\\\\bar\\\\\\\\baz {
+ background: hotpink;
}
-
-.d2 {
- animation: _d2;
+\`, ""]);
+// Exports
+var _1 = \`_-1123\`;
+export { _1 as "123" };
+export var test = \`_-1test\`;
+export var _test = \`_-1_test\`;
+export var className = \`_-1className\`;
+export var someId = \`_-1someId\`;
+export var subClass = \`_-1subClass\`;
+var _2 = \`_-1-a0-34a___f\`;
+export { _2 as "-a0-34a___f" };
+var _3 = \`_-1m_x_@\`;
+export { _3 as "m_x_@" };
+var _4 = \`_-1B&W?\`;
+export { _4 as "B&W?" };
+var _5 = \`_-1:\\\`(\`;
+export { _5 as ":\`(" };
+var _6 = \`_-11a2b3c\`;
+export { _6 as "1a2b3c" };
+var _7 = \`_-1#fake-id\`;
+export { _7 as "#fake-id" };
+var _8 = \`_-1-a-b-c-\`;
+export { _8 as "-a-b-c-" };
+var _9 = \`_-1©\`;
+export { _9 as "©" };
+var _a = \`_-1♥\`;
+export { _a as "♥" };
+var _b = \`_-1😍\`;
+export { _b as "😍" };
+var _c = \`_-1“‘’”\`;
+export { _c as "“‘’”" };
+var _d = \`_-1☺☃\`;
+export { _d as "☺☃" };
+var _e = \`_-1⌘⌥\`;
+export { _e as "⌘⌥" };
+var _f = \`_-1𝄞♪♩♫♬\`;
+export { _f as "𝄞♪♩♫♬" };
+var _10 = \`_-1💩\`;
+export { _10 as "💩" };
+var _11 = \`_-1?\`;
+export { _11 as "?" };
+var _12 = \`_-1@\`;
+export { _12 as "@" };
+var _13 = \`_-1.\`;
+export { _13 as "." };
+var _14 = \`_-1:)\`;
+export { _14 as ":)" };
+var _15 = \`_-1
\`;
+export { _15 as "
" };
+var _16 = \`_-1<><<<>><>\`;
+export { _16 as "<><<<>><>" };
+var _17 = \`_-1++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\`;
+export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." };
+var _18 = \`_-1#\`;
+export { _18 as "#" };
+var _19 = \`_-1##\`;
+export { _19 as "##" };
+var _1a = \`_-1#.#.#\`;
+export { _1a as "#.#.#" };
+export var _ = \`_-1_\`;
+var _1b = \`_-1{}\`;
+export { _1b as "{}" };
+var _1c = \`_-1foo.bar\`;
+export { _1c as "foo.bar" };
+var _1d = \`_-1:hover\`;
+export { _1d as ":hover" };
+var _1e = \`_-1:hover:focus:active\`;
+export { _1e as ":hover:focus:active" };
+var _1f = \`_-1[attr=value]\`;
+export { _1f as "[attr=value]" };
+var _20 = \`_-1f/o/o\`;
+export { _20 as "f/o/o" };
+var _21 = \`_-1f\\\\o\\\\o\`;
+export { _21 as "f\\\\o\\\\o" };
+var _22 = \`_-1f*o*o\`;
+export { _22 as "f*o*o" };
+var _23 = \`_-1f!o!o\`;
+export { _23 as "f!o!o" };
+var _24 = \`_-1f'o'o\`;
+export { _24 as "f'o'o" };
+var _25 = \`_-1f~o~o\`;
+export { _25 as "f~o~o" };
+var _26 = \`_-1f+o+o\`;
+export { _26 as "f+o+o" };
+var _27 = \`_-1foo/bar\`;
+export { _27 as "foo/bar" };
+var _28 = \`_-1foo\\\\bar\`;
+export { _28 as "foo\\\\bar" };
+var _29 = \`_-1foo/bar/baz\`;
+export { _29 as "foo/bar/baz" };
+var _2a = \`_-1foo\\\\bar\\\\baz\`;
+export { _2a as "foo\\\\bar\\\\baz" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and prefix leading hyphen when digit is first: result 1`] = `
+[
+ [
+ "./modules/localIdentName/localIdentName.css",
+ "._-1test {
+ background: red;
}
-",
- "",
- ],
-]
-`;
-exports[`modules case \`leak-scope\`: (export \`all\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`leak-scope\`: (export \`all\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`leak-scope\`: (export \`all\`) (\`modules\` value is \`true)\`: locals 1`] = `
-Object {
- "a": "_a",
- "b": "_b",
- "c": "_c",
- "c1": "_c1",
- "c2": "_c2",
- "c3": "_c3",
- "c4": "_c4",
- "d2": "_d2",
+._-1_test {
+ background: blue;
}
-`;
-exports[`modules case \`leak-scope\`: (export \`all\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._a {
- color: green;
- animation: _a;
+._-1className {
+ background: red;
}
-@keyframes _b {
- 0% { left: 10px; }
- 100% { left: 20px; }
+#_-1someId {
+ background: green;
}
-._b {
- animation: _b;
+._-1className ._-1subClass {
+ color: green;
}
-@keyframes c {
- 0% { left: 10px; }
- 100% { left: 20px; }
+#_-1someId ._-1subClass {
+ color: blue;
}
-._c {
- animation: _c1;
- animation: _c2, _c3, _c4;
+._-1-a0-34a___f {
+ color: red;
}
-@keyframes d {
- 0% { left: 10px; }
- 100% { left: 20px; }
+._-1m_x_\\@ {
+ margin-left: auto !important;
+ margin-right: auto !important;
}
-.d1 {
- animation: d1;
- animation: d2, d3, d4;
+._-1B\\&W\\? {
+ margin-left: auto !important;
+ margin-right: auto !important;
}
-.d2 {
- animation: _d2;
+/* matches elements with class=":\`(" */
+._-1\\3A \\\`\\( {
+ color: aqua;
}
-",
- "",
- ],
-]
-`;
-
-exports[`modules case \`leak-scope\`: (export \`all\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
-exports[`modules case \`leak-scope\`: (export \`only locals\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`leak-scope\`: (export \`only locals\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
-
-exports[`modules case \`leak-scope\`: (export \`only locals\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `Object {}`;
-
-exports[`modules case \`leak-scope\`: (export \`only locals\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`leak-scope\`: (export \`only locals\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`leak-scope\`: (export \`only locals\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
-
-exports[`modules case \`leak-scope\`: (export \`only locals\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `Object {}`;
-
-exports[`modules case \`leak-scope\`: (export \`only locals\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`leak-scope\`: (export \`only locals\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`leak-scope\`: (export \`only locals\`) (\`modules\` value is \`local)\`: locals 1`] = `undefined`;
-
-exports[`modules case \`leak-scope\`: (export \`only locals\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Object {
- "a": "_a",
- "b": "_b",
- "c": "_c",
- "c1": "_c1",
- "c2": "_c2",
- "c3": "_c3",
- "c4": "_c4",
- "d2": "_d2",
+/* matches elements with class="1a2b3c" */
+._-1\\31 a2b3c {
+ color: aliceblue;
}
-`;
-
-exports[`modules case \`leak-scope\`: (export \`only locals\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
-exports[`modules case \`leak-scope\`: (export \`only locals\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`leak-scope\`: (export \`only locals\`) (\`modules\` value is \`true)\`: locals 1`] = `undefined`;
-
-exports[`modules case \`leak-scope\`: (export \`only locals\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Object {
- "a": "_a",
- "b": "_b",
- "c": "_c",
- "c1": "_c1",
- "c2": "_c2",
- "c3": "_c3",
- "c4": "_c4",
- "d2": "_d2",
+/* matches the element with id="#fake-id" */
+#_-1\\#fake-id {
+ color: antiquewhite;
}
-`;
-
-exports[`modules case \`leak-scope\`: (export \`only locals\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
-exports[`modules case \`local\`: (export \`all\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`local\`: (export \`all\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
-
-exports[`modules case \`local\`: (export \`all\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ".abc :local(.def) {
- color: red;
+/* matches the element with id="-a-b-c-" */
+#_-1-a-b-c- {
+ color: azure;
}
-:local .ghi .jkl {
- color: blue;
+/* matches the element with id="©" */
+#_-1© {
+ color: black;
}
-",
- "",
- ],
-]
-`;
-exports[`modules case \`local\`: (export \`all\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+._-1♥ { background: lime; }
+._-1© { background: lime; }
+._-1😍 { background: lime; }
+._-1“‘’” { background: lime; }
+._-1☺☃ { background: lime; }
+._-1⌘⌥ { background: lime; }
+._-1𝄞♪♩♫♬ { background: lime; }
+._-1💩 { background: lime; }
+._-1\\? { background: lime; }
+._-1\\@ { background: lime; }
+._-1\\. { background: lime; }
+._-1\\3A \\) { background: lime; }
+._-1\\3A \\\`\\( { background: lime; }
+._-1\\31 23 { background: lime; }
+._-1\\31 a2b3c { background: lime; }
+._-1\\
{ background: lime; }
+._-1\\<\\>\\<\\<\\<\\>\\>\\<\\> { background: lime; }
+._-1\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\[\\>\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\>\\+\\<\\<\\<\\<\\-\\]\\>\\+\\+\\.\\>\\+\\.\\+\\+\\+\\+\\+\\+\\+\\.\\.\\+\\+\\+\\.\\>\\+\\+\\.\\<\\<\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\.\\>\\.\\+\\+\\+\\.\\-\\-\\-\\-\\-\\-\\.\\-\\-\\-\\-\\-\\-\\-\\-\\.\\>\\+\\.\\>\\. { background: lime; }
+._-1\\# { background: lime; }
+._-1\\#\\# { background: lime; }
+._-1\\#\\.\\#\\.\\# { background: lime; }
+._-1\\_ { background: lime; }
+._-1\\{\\} { background: lime; }
+._-1\\#fake\\-id { background: lime; }
+._-1foo\\.bar { background: lime; }
+._-1\\3A hover { background: lime; }
+._-1\\3A hover\\3A focus\\3A active { background: lime; }
+._-1\\[attr\\=value\\] { background: lime; }
+._-1f\\/o\\/o { background: lime; }
+._-1f\\\\o\\\\o { background: lime; }
+._-1f\\*o\\*o { background: lime; }
+._-1f\\!o\\!o { background: lime; }
+._-1f\\'o\\'o { background: lime; }
+._-1f\\~o\\~o { background: lime; }
+._-1f\\+o\\+o { background: lime; }
-exports[`modules case \`local\`: (export \`all\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+._-1foo\\/bar {
+ background: hotpink;
+}
-exports[`modules case \`local\`: (export \`all\`) (\`modules\` value is \`global)\`: locals 1`] = `
-Object {
- "def": "_def",
- "ghi": "_ghi",
- "jkl": "_jkl",
+._-1foo\\\\bar {
+ background: hotpink;
}
-`;
-exports[`modules case \`local\`: (export \`all\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ".abc ._def {
- color: red;
+._-1foo\\/bar\\/baz {
+ background: hotpink;
}
-._ghi ._jkl {
- color: blue;
+._-1foo\\\\bar\\\\baz {
+ background: hotpink;
}
",
"",
@@ -2311,309 +4015,449 @@ Array [
]
`;
-exports[`modules case \`local\`: (export \`all\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+exports[`"modules" option should work and prefix leading hyphen when digit is first: warnings 1`] = `[]`;
-exports[`modules case \`local\`: (export \`all\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+exports[`"modules" option should work and respect the "context" option: errors 1`] = `[]`;
-exports[`modules case \`local\`: (export \`all\`) (\`modules\` value is \`local)\`: locals 1`] = `
-Object {
- "abc": "_abc",
- "def": "_def",
- "ghi": "_ghi",
- "jkl": "_jkl",
+exports[`"modules" option should work and respect the "context" option: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.Cqfpw57I {
+ background: red;
}
-`;
-exports[`modules case \`local\`: (export \`all\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._abc ._def {
- color: red;
+.TGo4Rmnn {
+ background: blue;
}
-._ghi ._jkl {
- color: blue;
+.V3rkzYqn {
+ background: red;
}
-",
- "",
- ],
-]
-`;
-exports[`modules case \`local\`: (export \`all\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`local\`: (export \`all\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`local\`: (export \`all\`) (\`modules\` value is \`true)\`: locals 1`] = `
-Object {
- "abc": "_abc",
- "def": "_def",
- "ghi": "_ghi",
- "jkl": "_jkl",
+#p0emrDgk {
+ background: green;
}
-`;
-exports[`modules case \`local\`: (export \`all\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._abc ._def {
- color: red;
+.V3rkzYqn .v0YwV1mq {
+ color: green;
}
-._ghi ._jkl {
+#p0emrDgk .v0YwV1mq {
color: blue;
}
-",
- "",
- ],
-]
-`;
-exports[`modules case \`local\`: (export \`all\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`local\`: (export \`only locals\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+.iD7O58t6 {
+ color: red;
+}
-exports[`modules case \`local\`: (export \`only locals\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+.RH_w1QEb {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
-exports[`modules case \`local\`: (export \`only locals\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `Object {}`;
+.Ag92YvL3 {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
-exports[`modules case \`local\`: (export \`only locals\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+/* matches elements with class=":\\\`(" */
+.ETB9N0Rx {
+ color: aqua;
+}
-exports[`modules case \`local\`: (export \`only locals\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+/* matches elements with class="1a2b3c" */
+.LEy8bpHz {
+ color: aliceblue;
+}
-exports[`modules case \`local\`: (export \`only locals\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
+/* matches the element with id="#fake-id" */
+#JOQqQG3P {
+ color: antiquewhite;
+}
-exports[`modules case \`local\`: (export \`only locals\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Object {
- "def": "_def",
- "ghi": "_ghi",
- "jkl": "_jkl",
+/* matches the element with id="-a-b-c-" */
+#LD6vZ0vn {
+ color: azure;
}
-`;
-exports[`modules case \`local\`: (export \`only locals\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+/* matches the element with id="©" */
+#bD4iEyBe {
+ color: black;
+}
-exports[`modules case \`local\`: (export \`only locals\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+.pHooKEFO { background: lime; }
+.bD4iEyBe { background: lime; }
+.MkprjEQN { background: lime; }
+.hsoP1NHa { background: lime; }
+.AERfnIsn { background: lime; }
+.s83tEkiy { background: lime; }
+.sIO5dUZQ { background: lime; }
+.zVi6sc5A { background: lime; }
+.N9lQNAW2 { background: lime; }
+.SysYqBF2 { background: lime; }
+._TYYa2xJ { background: lime; }
+.TFikf3jN { background: lime; }
+.ETB9N0Rx { background: lime; }
+.DEfkSXfj { background: lime; }
+.LEy8bpHz { background: lime; }
+.nMEppSss { background: lime; }
+.cGH8351B { background: lime; }
+._sBaAj4v { background: lime; }
+.Ig420xMn { background: lime; }
+.t_MNCpGV { background: lime; }
+.ozULn22d { background: lime; }
+.qR0Vnn20 { background: lime; }
+.tt66IaNP { background: lime; }
+.JOQqQG3P { background: lime; }
+.RFVWf69B { background: lime; }
+.QnhABYwt { background: lime; }
+.qRhRpbmB { background: lime; }
+.wkL_QN8C { background: lime; }
+.KDSjlnnR { background: lime; }
+.LsVcYH6Y { background: lime; }
+.CNQowmKT { background: lime; }
+.eUsF4mDa { background: lime; }
+.ESWnsA_A { background: lime; }
+.taQ7D9sF { background: lime; }
+.AL7FEeDx { background: lime; }
-exports[`modules case \`local\`: (export \`only locals\`) (\`modules\` value is \`local)\`: locals 1`] = `undefined`;
+.GOPxpaxq {
+ background: hotpink;
+}
-exports[`modules case \`local\`: (export \`only locals\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Object {
- "abc": "_abc",
- "def": "_def",
- "ghi": "_ghi",
- "jkl": "_jkl",
+.chesbSdq {
+ background: hotpink;
}
-`;
-exports[`modules case \`local\`: (export \`only locals\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+.QMeNd406 {
+ background: hotpink;
+}
-exports[`modules case \`local\`: (export \`only locals\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+.jXaakDKS {
+ background: hotpink;
+}
+\`, ""]);
+// Exports
+var _1 = \`DEfkSXfj\`;
+export { _1 as "123" };
+export var test = \`Cqfpw57I\`;
+export var _test = \`TGo4Rmnn\`;
+export var className = \`V3rkzYqn\`;
+export var someId = \`p0emrDgk\`;
+export var subClass = \`v0YwV1mq\`;
+var _2 = \`iD7O58t6\`;
+export { _2 as "-a0-34a___f" };
+var _3 = \`RH_w1QEb\`;
+export { _3 as "m_x_@" };
+var _4 = \`Ag92YvL3\`;
+export { _4 as "B&W?" };
+var _5 = \`ETB9N0Rx\`;
+export { _5 as ":\`(" };
+var _6 = \`LEy8bpHz\`;
+export { _6 as "1a2b3c" };
+var _7 = \`JOQqQG3P\`;
+export { _7 as "#fake-id" };
+var _8 = \`LD6vZ0vn\`;
+export { _8 as "-a-b-c-" };
+var _9 = \`bD4iEyBe\`;
+export { _9 as "©" };
+var _a = \`pHooKEFO\`;
+export { _a as "♥" };
+var _b = \`MkprjEQN\`;
+export { _b as "😍" };
+var _c = \`hsoP1NHa\`;
+export { _c as "“‘’”" };
+var _d = \`AERfnIsn\`;
+export { _d as "☺☃" };
+var _e = \`s83tEkiy\`;
+export { _e as "⌘⌥" };
+var _f = \`sIO5dUZQ\`;
+export { _f as "𝄞♪♩♫♬" };
+var _10 = \`zVi6sc5A\`;
+export { _10 as "💩" };
+var _11 = \`N9lQNAW2\`;
+export { _11 as "?" };
+var _12 = \`SysYqBF2\`;
+export { _12 as "@" };
+var _13 = \`_TYYa2xJ\`;
+export { _13 as "." };
+var _14 = \`TFikf3jN\`;
+export { _14 as ":)" };
+var _15 = \`nMEppSss\`;
+export { _15 as "
" };
+var _16 = \`cGH8351B\`;
+export { _16 as "<><<<>><>" };
+var _17 = \`_sBaAj4v\`;
+export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." };
+var _18 = \`Ig420xMn\`;
+export { _18 as "#" };
+var _19 = \`t_MNCpGV\`;
+export { _19 as "##" };
+var _1a = \`ozULn22d\`;
+export { _1a as "#.#.#" };
+export var _ = \`qR0Vnn20\`;
+var _1b = \`tt66IaNP\`;
+export { _1b as "{}" };
+var _1c = \`RFVWf69B\`;
+export { _1c as "foo.bar" };
+var _1d = \`QnhABYwt\`;
+export { _1d as ":hover" };
+var _1e = \`qRhRpbmB\`;
+export { _1e as ":hover:focus:active" };
+var _1f = \`wkL_QN8C\`;
+export { _1f as "[attr=value]" };
+var _20 = \`KDSjlnnR\`;
+export { _20 as "f/o/o" };
+var _21 = \`LsVcYH6Y\`;
+export { _21 as "f\\\\o\\\\o" };
+var _22 = \`CNQowmKT\`;
+export { _22 as "f*o*o" };
+var _23 = \`eUsF4mDa\`;
+export { _23 as "f!o!o" };
+var _24 = \`ESWnsA_A\`;
+export { _24 as "f'o'o" };
+var _25 = \`taQ7D9sF\`;
+export { _25 as "f~o~o" };
+var _26 = \`AL7FEeDx\`;
+export { _26 as "f+o+o" };
+var _27 = \`GOPxpaxq\`;
+export { _27 as "foo/bar" };
+var _28 = \`chesbSdq\`;
+export { _28 as "foo\\\\bar" };
+var _29 = \`QMeNd406\`;
+export { _29 as "foo/bar/baz" };
+var _2a = \`jXaakDKS\`;
+export { _2a as "foo\\\\bar\\\\baz" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the "context" option: result 1`] = `
+[
+ [
+ "./modules/localIdentName/localIdentName.css",
+ ".Cqfpw57I {
+ background: red;
+}
-exports[`modules case \`local\`: (export \`only locals\`) (\`modules\` value is \`true)\`: locals 1`] = `undefined`;
+.TGo4Rmnn {
+ background: blue;
+}
-exports[`modules case \`local\`: (export \`only locals\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Object {
- "abc": "_abc",
- "def": "_def",
- "ghi": "_ghi",
- "jkl": "_jkl",
+.V3rkzYqn {
+ background: red;
}
-`;
-exports[`modules case \`local\`: (export \`only locals\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
+#p0emrDgk {
+ background: green;
+}
-exports[`modules case \`local-2\`: (export \`all\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+.V3rkzYqn .v0YwV1mq {
+ color: green;
+}
-exports[`modules case \`local-2\`: (export \`all\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+#p0emrDgk .v0YwV1mq {
+ color: blue;
+}
-exports[`modules case \`local-2\`: (export \`all\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ":local(.className) { background: red; }
-:local(#someId) { background: green; }
-:local(.className .subClass) { color: green; }
-:local(#someId .subClass) { color: blue; }
-",
- "",
- ],
-]
-`;
+.iD7O58t6 {
+ color: red;
+}
-exports[`modules case \`local-2\`: (export \`all\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+.RH_w1QEb {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
-exports[`modules case \`local-2\`: (export \`all\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+.Ag92YvL3 {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
-exports[`modules case \`local-2\`: (export \`all\`) (\`modules\` value is \`global)\`: locals 1`] = `
-Object {
- "className": "_className",
- "someId": "_someId",
- "subClass": "_subClass",
+/* matches elements with class=":\`(" */
+.ETB9N0Rx {
+ color: aqua;
}
-`;
-exports[`modules case \`local-2\`: (export \`all\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._className { background: red; }
-#_someId { background: green; }
-._className ._subClass { color: green; }
-#_someId ._subClass { color: blue; }
-",
- "",
- ],
-]
-`;
+/* matches elements with class="1a2b3c" */
+.LEy8bpHz {
+ color: aliceblue;
+}
-exports[`modules case \`local-2\`: (export \`all\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+/* matches the element with id="#fake-id" */
+#JOQqQG3P {
+ color: antiquewhite;
+}
-exports[`modules case \`local-2\`: (export \`all\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+/* matches the element with id="-a-b-c-" */
+#LD6vZ0vn {
+ color: azure;
+}
-exports[`modules case \`local-2\`: (export \`all\`) (\`modules\` value is \`local)\`: locals 1`] = `
-Object {
- "className": "_className",
- "someId": "_someId",
- "subClass": "_subClass",
+/* matches the element with id="©" */
+#bD4iEyBe {
+ color: black;
}
-`;
-exports[`modules case \`local-2\`: (export \`all\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._className { background: red; }
-#_someId { background: green; }
-._className ._subClass { color: green; }
-#_someId ._subClass { color: blue; }
-",
- "",
- ],
-]
-`;
+.pHooKEFO { background: lime; }
+.bD4iEyBe { background: lime; }
+.MkprjEQN { background: lime; }
+.hsoP1NHa { background: lime; }
+.AERfnIsn { background: lime; }
+.s83tEkiy { background: lime; }
+.sIO5dUZQ { background: lime; }
+.zVi6sc5A { background: lime; }
+.N9lQNAW2 { background: lime; }
+.SysYqBF2 { background: lime; }
+._TYYa2xJ { background: lime; }
+.TFikf3jN { background: lime; }
+.ETB9N0Rx { background: lime; }
+.DEfkSXfj { background: lime; }
+.LEy8bpHz { background: lime; }
+.nMEppSss { background: lime; }
+.cGH8351B { background: lime; }
+._sBaAj4v { background: lime; }
+.Ig420xMn { background: lime; }
+.t_MNCpGV { background: lime; }
+.ozULn22d { background: lime; }
+.qR0Vnn20 { background: lime; }
+.tt66IaNP { background: lime; }
+.JOQqQG3P { background: lime; }
+.RFVWf69B { background: lime; }
+.QnhABYwt { background: lime; }
+.qRhRpbmB { background: lime; }
+.wkL_QN8C { background: lime; }
+.KDSjlnnR { background: lime; }
+.LsVcYH6Y { background: lime; }
+.CNQowmKT { background: lime; }
+.eUsF4mDa { background: lime; }
+.ESWnsA_A { background: lime; }
+.taQ7D9sF { background: lime; }
+.AL7FEeDx { background: lime; }
-exports[`modules case \`local-2\`: (export \`all\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+.GOPxpaxq {
+ background: hotpink;
+}
-exports[`modules case \`local-2\`: (export \`all\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+.chesbSdq {
+ background: hotpink;
+}
-exports[`modules case \`local-2\`: (export \`all\`) (\`modules\` value is \`true)\`: locals 1`] = `
-Object {
- "className": "_className",
- "someId": "_someId",
- "subClass": "_subClass",
+.QMeNd406 {
+ background: hotpink;
}
-`;
-exports[`modules case \`local-2\`: (export \`all\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._className { background: red; }
-#_someId { background: green; }
-._className ._subClass { color: green; }
-#_someId ._subClass { color: blue; }
+.jXaakDKS {
+ background: hotpink;
+}
",
"",
],
]
`;
-exports[`modules case \`local-2\`: (export \`all\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`local-2\`: (export \`only locals\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+exports[`"modules" option should work and respect the "context" option: warnings 1`] = `[]`;
-exports[`modules case \`local-2\`: (export \`only locals\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+exports[`"modules" option should work and respect the "exportLocalsConvention" option with the "function" type and returns array names: errors 1`] = `[]`;
-exports[`modules case \`local-2\`: (export \`only locals\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `Object {}`;
-
-exports[`modules case \`local-2\`: (export \`only locals\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
-
-exports[`modules case \`local-2\`: (export \`only locals\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`local-2\`: (export \`only locals\`) (\`modules\` value is \`global)\`: locals 1`] = `undefined`;
-
-exports[`modules case \`local-2\`: (export \`only locals\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Object {
- "className": "_className",
- "someId": "_someId",
- "subClass": "_subClass",
+exports[`"modules" option should work and respect the "exportLocalsConvention" option with the "function" type and returns array names: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
}
-`;
-
-exports[`modules case \`local-2\`: (export \`only locals\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
-exports[`modules case \`local-2\`: (export \`only locals\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
-
-exports[`modules case \`local-2\`: (export \`only locals\`) (\`modules\` value is \`local)\`: locals 1`] = `undefined`;
-
-exports[`modules case \`local-2\`: (export \`only locals\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Object {
- "className": "_className",
- "someId": "_someId",
- "subClass": "_subClass",
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
}
-`;
-exports[`modules case \`local-2\`: (export \`only locals\`) (\`modules\` value is \`local)\`: warnings 1`] = `Array []`;
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
-exports[`modules case \`local-2\`: (export \`only locals\`) (\`modules\` value is \`true)\`: errors 1`] = `Array []`;
+a {
+ color: yellow;
+}
-exports[`modules case \`local-2\`: (export \`only locals\`) (\`modules\` value is \`true)\`: locals 1`] = `undefined`;
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
-exports[`modules case \`local-2\`: (export \`only locals\`) (\`modules\` value is \`true)\`: module (evaluated) 1`] = `
-Object {
- "className": "_className",
- "someId": "_someId",
- "subClass": "_subClass",
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
}
-`;
-exports[`modules case \`local-2\`: (export \`only locals\`) (\`modules\` value is \`true)\`: warnings 1`] = `Array []`;
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
-exports[`modules case \`local-and-composes\`: (export \`all\`) (\`modules\` value is \`false)\`: errors 1`] = `Array []`;
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+\`, ""]);
+// Exports
+export var foo_TEST_1 = \`bar\`;
+export var foo_TEST_3 = \`bar\`;
+export var my_btn_info_is_disabled_TEST_1 = \`value\`;
+export var my_btn_info_is_disabled_TEST_3 = \`value\`;
+export var btn_info_is_disabled_TEST_1 = \`rmc8ltu8P1VXaeqLNU6N\`;
+export var btn_info_is_disabled_TEST_3 = \`rmc8ltu8P1VXaeqLNU6N\`;
+export var btn__info_is_disabled_1_TEST_1 = \`AooVHuvzAIGXWngdfslc\`;
+export var btn__info_is_disabled_1_TEST_3 = \`AooVHuvzAIGXWngdfslc\`;
+export var simple_TEST_1 = \`snmJCrfw3LVnrlx87XVC\`;
+export var simple_TEST_3 = \`snmJCrfw3LVnrlx87XVC\`;
+export var foo_bar_TEST_1 = \`vA4oeh0XymefKJVIJyg1\`;
+export var foo_bar_TEST_3 = \`vA4oeh0XymefKJVIJyg1\`;
+export var class_TEST_1 = \`mDiC1MIOTWjgsd86woaJ\`;
+export var class_TEST_3 = \`mDiC1MIOTWjgsd86woaJ\`;
+export var fooBarBaz_TEST_1 = \`kY3VVFqpzmTiFlxOd9KU\`;
+export var fooBarBaz_TEST_3 = \`kY3VVFqpzmTiFlxOd9KU\`;
+export var b_TEST_1 = \`eiLdMC_n9TCXQ0oPIJyI\`;
+export var b_TEST_3 = \`eiLdMC_n9TCXQ0oPIJyI\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the "exportLocalsConvention" option with the "function" type and returns array names: result 1`] = `
+[
+ [
+ "./modules/localsConvention/localsConvention.css",
+ ".rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
-exports[`modules case \`local-and-composes\`: (export \`all\`) (\`modules\` value is \`false)\`: locals 1`] = `undefined`;
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
-exports[`modules case \`local-and-composes\`: (export \`all\`) (\`modules\` value is \`false)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- ":local(.abc) {
+.snmJCrfw3LVnrlx87XVC {
color: red;
}
-:local(.def) {
- composes: abc;
- background: green;
-}
-",
- "",
- ],
-]
-`;
-exports[`modules case \`local-and-composes\`: (export \`all\`) (\`modules\` value is \`false)\`: warnings 1`] = `Array []`;
+a {
+ color: yellow;
+}
-exports[`modules case \`local-and-composes\`: (export \`all\`) (\`modules\` value is \`global)\`: errors 1`] = `Array []`;
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
-exports[`modules case \`local-and-composes\`: (export \`all\`) (\`modules\` value is \`global)\`: locals 1`] = `
-Object {
- "abc": "_abc",
- "def": "_def _abc",
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
}
-`;
-exports[`modules case \`local-and-composes\`: (export \`all\`) (\`modules\` value is \`global)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._abc {
+.kY3VVFqpzmTiFlxOd9KU {
color: red;
}
-._def {
- background: green;
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
}
",
"",
@@ -2621,53 +4465,17116 @@ Array [
]
`;
-exports[`modules case \`local-and-composes\`: (export \`all\`) (\`modules\` value is \`global)\`: warnings 1`] = `Array []`;
+exports[`"modules" option should work and respect the "exportLocalsConvention" option with the "function" type and returns array names: warnings 1`] = `[]`;
-exports[`modules case \`local-and-composes\`: (export \`all\`) (\`modules\` value is \`local)\`: errors 1`] = `Array []`;
+exports[`"modules" option should work and respect the "exportLocalsConvention" option with the "function" type: errors 1`] = `[]`;
-exports[`modules case \`local-and-composes\`: (export \`all\`) (\`modules\` value is \`local)\`: locals 1`] = `
-Object {
- "abc": "_abc",
- "def": "_def _abc",
+exports[`"modules" option should work and respect the "exportLocalsConvention" option with the "function" type: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
}
-`;
-exports[`modules case \`local-and-composes\`: (export \`all\`) (\`modules\` value is \`local)\`: module (evaluated) 1`] = `
-Array [
- Array [
- 1,
- "._abc {
- color: red;
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
}
-._def {
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+\`, ""]);
+// Exports
+export var foo_TEST = \`bar\`;
+export var my_btn_info_is_disabled_TEST = \`value\`;
+export var btn_info_is_disabled_TEST = \`rmc8ltu8P1VXaeqLNU6N\`;
+export var btn__info_is_disabled_1_TEST = \`AooVHuvzAIGXWngdfslc\`;
+export var simple_TEST = \`snmJCrfw3LVnrlx87XVC\`;
+export var foo_bar_TEST = \`vA4oeh0XymefKJVIJyg1\`;
+export var class_TEST = \`mDiC1MIOTWjgsd86woaJ\`;
+export var fooBarBaz_TEST = \`kY3VVFqpzmTiFlxOd9KU\`;
+export var b_TEST = \`eiLdMC_n9TCXQ0oPIJyI\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the "exportLocalsConvention" option with the "function" type: result 1`] = `
+[
+ [
+ "./modules/localsConvention/localsConvention.css",
+ ".rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the "exportLocalsConvention" option with the "function" type: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "exportOnlyLocals" option: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "exportOnlyLocals" option: module 1`] = `
+"// Imports
+import * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./values.css";
+import * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css";
+import * as ___CSS_LOADER_ICSS_IMPORT_2____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported-simple.css";
+import * as ___CSS_LOADER_ICSS_IMPORT_3____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./relative.css";
+import * as ___CSS_LOADER_ICSS_IMPORT_4____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./top-relative.css";
+import * as ___CSS_LOADER_ICSS_IMPORT_5____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!../issue-861/node_modules/package/style.css";
+import * as ___CSS_LOADER_ICSS_IMPORT_6____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./alias.css";
+import * as ___CSS_LOADER_ICSS_IMPORT_7____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!sass-loader!./scss-file.scss";
+// Exports
+var _1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-def"]}\`;
+export { _1 as "v-def" };
+var _2 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-other"]}\`;
+export { _2 as "v-other" };
+var _3 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["s-white"]}\`;
+export { _3 as "s-white" };
+var _4 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["m-small"]}\`;
+export { _4 as "m-small" };
+var _5 = \`\${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["v-something"]}\`;
+export { _5 as "v-something" };
+var _6 = \`blue\`;
+export { _6 as "v-foo" };
+var _7 = \`block\`;
+export { _7 as "v-bar" };
+var _8 = \`#BF4040\`;
+export { _8 as "v-primary" };
+var _9 = \`black-selector\`;
+export { _9 as "s-black" };
+var _a = \`(min-width: 960px)\`;
+export { _a as "m-large" };
+var _b = \`validIdent\`;
+export { _b as "v-ident" };
+var _c = \`left\`;
+export { _c as "v-pre-defined-ident" };
+var _d = \`'content'\`;
+export { _d as "v-string" };
+var _e = \`''\`;
+export { _e as "v-string-1" };
+var _f = \`url(https://www.exammple.com/images/my-background.png)\`;
+export { _f as "v-url" };
+var _10 = \`url('https://www.exammple.com/images/my-background.png')\`;
+export { _10 as "v-url-1" };
+var _11 = \`url("https://www.exammple.com/images/my-background.png")\`;
+export { _11 as "v-url-2" };
+var _12 = \`100\`;
+export { _12 as "v-integer" };
+var _13 = \`-100\`;
+export { _13 as "v-integer-1" };
+var _14 = \`+100\`;
+export { _14 as "v-integer-2" };
+var _15 = \`.60\`;
+export { _15 as "v-number" };
+var _16 = \`-456.8\`;
+export { _16 as "v-number-1" };
+var _17 = \`-3.4e-2\`;
+export { _17 as "v-number-2" };
+var _18 = \`12px\`;
+export { _18 as "v-dimension" };
+var _19 = \`100%\`;
+export { _19 as "v-percentage" };
+var _1a = \`#fff\`;
+export { _1a as "v-hex" };
+var _1b = \` /* comment */\`;
+export { _1b as "v-comment" };
+var _1c = \`rgb(0,0,0)\`;
+export { _1c as "v-function" };
+var _1d = \`U+0025-00FF\`;
+export { _1d as "v-unicode-range" };
+export var ghi = \`_ghi\`;
+var _1e = \`_my-class\`;
+export { _1e as "my-class" };
+export var other = \`_other\`;
+var _1f = \`_other-other\`;
+export { _1f as "other-other" };
+export var green = \`_green\`;
+export var foo = \`_foo\`;
+export var simple = \`_simple \${___CSS_LOADER_ICSS_IMPORT_2____NAMED___["imported-simple"]}\`;
+export var relative = \`_relative \${___CSS_LOADER_ICSS_IMPORT_3____NAMED___["imported-relative"]}\`;
+var _20 = \`_top-relative \${___CSS_LOADER_ICSS_IMPORT_4____NAMED___["imported-relative"]}\`;
+export { _20 as "top-relative" };
+var _21 = \`_my-module \${___CSS_LOADER_ICSS_IMPORT_5____NAMED___["imported-module"]}\`;
+export { _21 as "my-module" };
+export var alias = \`_alias \${___CSS_LOADER_ICSS_IMPORT_6____NAMED___["imported-alias"]}\`;
+var _22 = \`_alias-duplicate \${___CSS_LOADER_ICSS_IMPORT_6____NAMED___["imported-alias"]}\`;
+export { _22 as "alias-duplicate" };
+var _23 = \`_primary-selector\`;
+export { _23 as "primary-selector" };
+var _24 = \`_black-selector\`;
+export { _24 as "black-selector" };
+export var header = \`_header\`;
+export var foobarbaz = \`_foobarbaz\`;
+export var url = \`_url\`;
+export var main = \`_main \${___CSS_LOADER_ICSS_IMPORT_7____NAMED___["scssClass"]}\`;
+"
+`;
+
+exports[`"modules" option should work and respect the "exportOnlyLocals" option: result 1`] = `
+{
+ "alias": "_alias _imported-alias",
+ "alias-duplicate": "_alias-duplicate _imported-alias",
+ "black-selector": "_black-selector",
+ "foo": "_foo",
+ "foobarbaz": "_foobarbaz",
+ "ghi": "_ghi",
+ "green": "_green",
+ "header": "_header",
+ "m-large": "(min-width: 960px)",
+ "m-small": "(min-width: 320px)",
+ "main": "_main _scssClass",
+ "my-class": "_my-class",
+ "my-module": "_my-module _imported-module",
+ "other": "_other",
+ "other-other": "_other-other",
+ "primary-selector": "_primary-selector",
+ "relative": "_relative _imported-relative",
+ "s-black": "black-selector",
+ "s-white": "white",
+ "simple": "_simple _imported-simple",
+ "top-relative": "_top-relative _imported-relative",
+ "url": "_url",
+ "v-bar": "block",
+ "v-comment": " /* comment */",
+ "v-def": "red",
+ "v-dimension": "12px",
+ "v-foo": "blue",
+ "v-function": "rgb(0,0,0)",
+ "v-hex": "#fff",
+ "v-ident": "validIdent",
+ "v-integer": "100",
+ "v-integer-1": "-100",
+ "v-integer-2": "+100",
+ "v-number": ".60",
+ "v-number-1": "-456.8",
+ "v-number-2": "-3.4e-2",
+ "v-other": "green",
+ "v-percentage": "100%",
+ "v-pre-defined-ident": "left",
+ "v-primary": "#BF4040",
+ "v-something": "2112moon",
+ "v-string": "'content'",
+ "v-string-1": "''",
+ "v-unicode-range": "U+0025-00FF",
+ "v-url": "url(https://www.exammple.com/images/my-background.png)",
+ "v-url-1": "url('https://www.exammple.com/images/my-background.png')",
+ "v-url-2": "url("https://www.exammple.com/images/my-background.png")",
+}
+`;
+
+exports[`"modules" option should work and respect the "exportOnlyLocals" option: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "getLocalIdent" option: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "getLocalIdent" option: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.foo {
+ background: red;
+}
+
+.foo {
+ background: blue;
+}
+
+.foo {
+ background: red;
+}
+
+#foo {
+ background: green;
+}
+
+.foo .foo {
+ color: green;
+}
+
+#foo .foo {
+ color: blue;
+}
+
+.foo {
+ color: red;
+}
+
+.foo {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.foo {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\\\`(" */
+.foo {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.foo {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#foo {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#foo {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#foo {
+ color: black;
+}
+
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+
+.foo {
+ background: hotpink;
+}
+
+.foo {
+ background: hotpink;
+}
+
+.foo {
+ background: hotpink;
+}
+
+.foo {
+ background: hotpink;
+}
+\`, ""]);
+// Exports
+var _1 = \`foo\`;
+export { _1 as "123" };
+export var test = \`foo\`;
+export var _test = \`foo\`;
+export var className = \`foo\`;
+export var someId = \`foo\`;
+export var subClass = \`foo\`;
+var _2 = \`foo\`;
+export { _2 as "-a0-34a___f" };
+var _3 = \`foo\`;
+export { _3 as "m_x_@" };
+var _4 = \`foo\`;
+export { _4 as "B&W?" };
+var _5 = \`foo\`;
+export { _5 as ":\`(" };
+var _6 = \`foo\`;
+export { _6 as "1a2b3c" };
+var _7 = \`foo\`;
+export { _7 as "#fake-id" };
+var _8 = \`foo\`;
+export { _8 as "-a-b-c-" };
+var _9 = \`foo\`;
+export { _9 as "©" };
+var _a = \`foo\`;
+export { _a as "♥" };
+var _b = \`foo\`;
+export { _b as "😍" };
+var _c = \`foo\`;
+export { _c as "“‘’”" };
+var _d = \`foo\`;
+export { _d as "☺☃" };
+var _e = \`foo\`;
+export { _e as "⌘⌥" };
+var _f = \`foo\`;
+export { _f as "𝄞♪♩♫♬" };
+var _10 = \`foo\`;
+export { _10 as "💩" };
+var _11 = \`foo\`;
+export { _11 as "?" };
+var _12 = \`foo\`;
+export { _12 as "@" };
+var _13 = \`foo\`;
+export { _13 as "." };
+var _14 = \`foo\`;
+export { _14 as ":)" };
+var _15 = \`foo\`;
+export { _15 as "
" };
+var _16 = \`foo\`;
+export { _16 as "<><<<>><>" };
+var _17 = \`foo\`;
+export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." };
+var _18 = \`foo\`;
+export { _18 as "#" };
+var _19 = \`foo\`;
+export { _19 as "##" };
+var _1a = \`foo\`;
+export { _1a as "#.#.#" };
+export var _ = \`foo\`;
+var _1b = \`foo\`;
+export { _1b as "{}" };
+var _1c = \`foo\`;
+export { _1c as "foo.bar" };
+var _1d = \`foo\`;
+export { _1d as ":hover" };
+var _1e = \`foo\`;
+export { _1e as ":hover:focus:active" };
+var _1f = \`foo\`;
+export { _1f as "[attr=value]" };
+var _20 = \`foo\`;
+export { _20 as "f/o/o" };
+var _21 = \`foo\`;
+export { _21 as "f\\\\o\\\\o" };
+var _22 = \`foo\`;
+export { _22 as "f*o*o" };
+var _23 = \`foo\`;
+export { _23 as "f!o!o" };
+var _24 = \`foo\`;
+export { _24 as "f'o'o" };
+var _25 = \`foo\`;
+export { _25 as "f~o~o" };
+var _26 = \`foo\`;
+export { _26 as "f+o+o" };
+var _27 = \`foo\`;
+export { _27 as "foo/bar" };
+var _28 = \`foo\`;
+export { _28 as "foo\\\\bar" };
+var _29 = \`foo\`;
+export { _29 as "foo/bar/baz" };
+var _2a = \`foo\`;
+export { _2a as "foo\\\\bar\\\\baz" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the "getLocalIdent" option: result 1`] = `
+[
+ [
+ "./modules/localIdentName/localIdentName.css",
+ ".foo {
+ background: red;
+}
+
+.foo {
+ background: blue;
+}
+
+.foo {
+ background: red;
+}
+
+#foo {
+ background: green;
+}
+
+.foo .foo {
+ color: green;
+}
+
+#foo .foo {
+ color: blue;
+}
+
+.foo {
+ color: red;
+}
+
+.foo {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.foo {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\`(" */
+.foo {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.foo {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#foo {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#foo {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#foo {
+ color: black;
+}
+
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+.foo { background: lime; }
+
+.foo {
+ background: hotpink;
+}
+
+.foo {
+ background: hotpink;
+}
+
+.foo {
+ background: hotpink;
+}
+
+.foo {
+ background: hotpink;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the "getLocalIdent" option: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "hashSalt" option: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "hashSalt" option: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.test--a5c5ad41747f587b6274 {
+ background: red;
+}
+
+._test--df4a97df5d4981c18fd3 {
+ background: blue;
+}
+
+.className--f51a39697d46ec360e5d {
+ background: red;
+}
+
+#someId--a66e8413a3c261c3b5db {
+ background: green;
+}
+
+.className--f51a39697d46ec360e5d .subClass--a2c5762a1671ee02d495 {
+ color: green;
+}
+
+#someId--a66e8413a3c261c3b5db .subClass--a2c5762a1671ee02d495 {
+ color: blue;
+}
+
+.-a0-34a___f--bcceae76b21ea32837d1 {
+ color: red;
+}
+
+.m_x_\\\\@--bf8f3ed982973d67547f {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.B\\\\&W\\\\?--fdee73d5165bc2acf73d {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\\\`(" */
+.\\\\3A \\\\\\\`\\\\(--daecad79b824a8ae7e46 {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.\\\\31 a2b3c--d785e50a661529be89f2 {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#\\\\#fake-id--a2d7428449895097291a {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#-a-b-c---ccf3274dd45a8534913a {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#©--adb36177ba3316dd9afb {
+ color: black;
+}
+
+.♥--c663262caaf9ada1c6a0 { background: lime; }
+.©--adb36177ba3316dd9afb { background: lime; }
+.😍--d8e76280f5be316bb39c { background: lime; }
+.“‘’”--f87afd60ed2beca8050a { background: lime; }
+.☺☃--fe372e2946d00a877026 { background: lime; }
+.⌘⌥--fc006a6459cc592e3b7c { background: lime; }
+.𝄞♪♩♫♬--fd618d266b80203525ea { background: lime; }
+.💩--da6582591f548841513d { background: lime; }
+.\\\\?--b11162427f8dc0109aaf { background: lime; }
+.\\\\@--bb281d67eaa9e09d6112 { background: lime; }
+.\\\\.--b1699afe1173ecd986e4 { background: lime; }
+.\\\\3A \\\\)--a94f76ff951371f51151 { background: lime; }
+.\\\\3A \\\\\\\`\\\\(--daecad79b824a8ae7e46 { background: lime; }
+.\\\\31 23--d235ae87e4273d19e7e5 { background: lime; }
+.\\\\31 a2b3c--d785e50a661529be89f2 { background: lime; }
+.\\\\
--cc00b17b428adef51f6c { background: lime; }
+.\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\>--a2a770d06d29491cb90e { background: lime; }
+.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\.--cc7846d4433278cb7dc4 { background: lime; }
+.\\\\#--c7a943b3297883fd2089 { background: lime; }
+.\\\\#\\\\#--ea628e8df88221969552 { background: lime; }
+.\\\\#\\\\.\\\\#\\\\.\\\\#--dea710d8c9521902e062 { background: lime; }
+.\\\\_--e9f571bfd47fb40b377c { background: lime; }
+.\\\\{\\\\}--def5f97b0ff315e9c069 { background: lime; }
+.\\\\#fake\\\\-id--a2d7428449895097291a { background: lime; }
+.foo\\\\.bar--a4aa4a1a78b94ac062a8 { background: lime; }
+.\\\\3A hover--cc13dcdd34f352f8db26 { background: lime; }
+.\\\\3A hover\\\\3A focus\\\\3A active--de4f205b1da2542a3508 { background: lime; }
+.\\\\[attr\\\\=value\\\\]--ed6f9744ffabc36e81fd { background: lime; }
+.f\\\\/o\\\\/o--fef3c40a18a3bdc6aadf { background: lime; }
+.f\\\\\\\\o\\\\\\\\o--bed5a37b85151828fd59 { background: lime; }
+.f\\\\*o\\\\*o--dbb328bab1b211b02df5 { background: lime; }
+.f\\\\!o\\\\!o--d35399e626d374f6a536 { background: lime; }
+.f\\\\'o\\\\'o--dffb0a3cb0c3b935c5f4 { background: lime; }
+.f\\\\~o\\\\~o--f3f5d93f57c13ee77bb5 { background: lime; }
+.f\\\\+o\\\\+o--d70c625b18c77fdca148 { background: lime; }
+
+.foo\\\\/bar--bb4ad2f425527544553f {
+ background: hotpink;
+}
+
+.foo\\\\\\\\bar--e8ba4f9a74f8b7fa8361 {
+ background: hotpink;
+}
+
+.foo\\\\/bar\\\\/baz--b5eb40201778b94976f0 {
+ background: hotpink;
+}
+
+.foo\\\\\\\\bar\\\\\\\\baz--b178648b8128f2bbc548 {
+ background: hotpink;
+}
+\`, ""]);
+// Exports
+var _1 = \`123--d235ae87e4273d19e7e5\`;
+export { _1 as "123" };
+export var test = \`test--a5c5ad41747f587b6274\`;
+export var _test = \`_test--df4a97df5d4981c18fd3\`;
+export var className = \`className--f51a39697d46ec360e5d\`;
+export var someId = \`someId--a66e8413a3c261c3b5db\`;
+export var subClass = \`subClass--a2c5762a1671ee02d495\`;
+var _2 = \`-a0-34a___f--bcceae76b21ea32837d1\`;
+export { _2 as "-a0-34a___f" };
+var _3 = \`m_x_@--bf8f3ed982973d67547f\`;
+export { _3 as "m_x_@" };
+var _4 = \`B&W?--fdee73d5165bc2acf73d\`;
+export { _4 as "B&W?" };
+var _5 = \`:\\\`(--daecad79b824a8ae7e46\`;
+export { _5 as ":\`(" };
+var _6 = \`1a2b3c--d785e50a661529be89f2\`;
+export { _6 as "1a2b3c" };
+var _7 = \`#fake-id--a2d7428449895097291a\`;
+export { _7 as "#fake-id" };
+var _8 = \`-a-b-c---ccf3274dd45a8534913a\`;
+export { _8 as "-a-b-c-" };
+var _9 = \`©--adb36177ba3316dd9afb\`;
+export { _9 as "©" };
+var _a = \`♥--c663262caaf9ada1c6a0\`;
+export { _a as "♥" };
+var _b = \`😍--d8e76280f5be316bb39c\`;
+export { _b as "😍" };
+var _c = \`“‘’”--f87afd60ed2beca8050a\`;
+export { _c as "“‘’”" };
+var _d = \`☺☃--fe372e2946d00a877026\`;
+export { _d as "☺☃" };
+var _e = \`⌘⌥--fc006a6459cc592e3b7c\`;
+export { _e as "⌘⌥" };
+var _f = \`𝄞♪♩♫♬--fd618d266b80203525ea\`;
+export { _f as "𝄞♪♩♫♬" };
+var _10 = \`💩--da6582591f548841513d\`;
+export { _10 as "💩" };
+var _11 = \`?--b11162427f8dc0109aaf\`;
+export { _11 as "?" };
+var _12 = \`@--bb281d67eaa9e09d6112\`;
+export { _12 as "@" };
+var _13 = \`.--b1699afe1173ecd986e4\`;
+export { _13 as "." };
+var _14 = \`:)--a94f76ff951371f51151\`;
+export { _14 as ":)" };
+var _15 = \`
--cc00b17b428adef51f6c\`;
+export { _15 as "
" };
+var _16 = \`<><<<>><>--a2a770d06d29491cb90e\`;
+export { _16 as "<><<<>><>" };
+var _17 = \`++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.--cc7846d4433278cb7dc4\`;
+export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." };
+var _18 = \`#--c7a943b3297883fd2089\`;
+export { _18 as "#" };
+var _19 = \`##--ea628e8df88221969552\`;
+export { _19 as "##" };
+var _1a = \`#.#.#--dea710d8c9521902e062\`;
+export { _1a as "#.#.#" };
+export var _ = \`_--e9f571bfd47fb40b377c\`;
+var _1b = \`{}--def5f97b0ff315e9c069\`;
+export { _1b as "{}" };
+var _1c = \`foo.bar--a4aa4a1a78b94ac062a8\`;
+export { _1c as "foo.bar" };
+var _1d = \`:hover--cc13dcdd34f352f8db26\`;
+export { _1d as ":hover" };
+var _1e = \`:hover:focus:active--de4f205b1da2542a3508\`;
+export { _1e as ":hover:focus:active" };
+var _1f = \`[attr=value]--ed6f9744ffabc36e81fd\`;
+export { _1f as "[attr=value]" };
+var _20 = \`f/o/o--fef3c40a18a3bdc6aadf\`;
+export { _20 as "f/o/o" };
+var _21 = \`f\\\\o\\\\o--bed5a37b85151828fd59\`;
+export { _21 as "f\\\\o\\\\o" };
+var _22 = \`f*o*o--dbb328bab1b211b02df5\`;
+export { _22 as "f*o*o" };
+var _23 = \`f!o!o--d35399e626d374f6a536\`;
+export { _23 as "f!o!o" };
+var _24 = \`f'o'o--dffb0a3cb0c3b935c5f4\`;
+export { _24 as "f'o'o" };
+var _25 = \`f~o~o--f3f5d93f57c13ee77bb5\`;
+export { _25 as "f~o~o" };
+var _26 = \`f+o+o--d70c625b18c77fdca148\`;
+export { _26 as "f+o+o" };
+var _27 = \`foo/bar--bb4ad2f425527544553f\`;
+export { _27 as "foo/bar" };
+var _28 = \`foo\\\\bar--e8ba4f9a74f8b7fa8361\`;
+export { _28 as "foo\\\\bar" };
+var _29 = \`foo/bar/baz--b5eb40201778b94976f0\`;
+export { _29 as "foo/bar/baz" };
+var _2a = \`foo\\\\bar\\\\baz--b178648b8128f2bbc548\`;
+export { _2a as "foo\\\\bar\\\\baz" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the "hashSalt" option: result 1`] = `
+[
+ [
+ "./modules/localIdentName/localIdentName.css",
+ ".test--a5c5ad41747f587b6274 {
+ background: red;
+}
+
+._test--df4a97df5d4981c18fd3 {
+ background: blue;
+}
+
+.className--f51a39697d46ec360e5d {
+ background: red;
+}
+
+#someId--a66e8413a3c261c3b5db {
+ background: green;
+}
+
+.className--f51a39697d46ec360e5d .subClass--a2c5762a1671ee02d495 {
+ color: green;
+}
+
+#someId--a66e8413a3c261c3b5db .subClass--a2c5762a1671ee02d495 {
+ color: blue;
+}
+
+.-a0-34a___f--bcceae76b21ea32837d1 {
+ color: red;
+}
+
+.m_x_\\@--bf8f3ed982973d67547f {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.B\\&W\\?--fdee73d5165bc2acf73d {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\`(" */
+.\\3A \\\`\\(--daecad79b824a8ae7e46 {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.\\31 a2b3c--d785e50a661529be89f2 {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#\\#fake-id--a2d7428449895097291a {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#-a-b-c---ccf3274dd45a8534913a {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#©--adb36177ba3316dd9afb {
+ color: black;
+}
+
+.♥--c663262caaf9ada1c6a0 { background: lime; }
+.©--adb36177ba3316dd9afb { background: lime; }
+.😍--d8e76280f5be316bb39c { background: lime; }
+.“‘’”--f87afd60ed2beca8050a { background: lime; }
+.☺☃--fe372e2946d00a877026 { background: lime; }
+.⌘⌥--fc006a6459cc592e3b7c { background: lime; }
+.𝄞♪♩♫♬--fd618d266b80203525ea { background: lime; }
+.💩--da6582591f548841513d { background: lime; }
+.\\?--b11162427f8dc0109aaf { background: lime; }
+.\\@--bb281d67eaa9e09d6112 { background: lime; }
+.\\.--b1699afe1173ecd986e4 { background: lime; }
+.\\3A \\)--a94f76ff951371f51151 { background: lime; }
+.\\3A \\\`\\(--daecad79b824a8ae7e46 { background: lime; }
+.\\31 23--d235ae87e4273d19e7e5 { background: lime; }
+.\\31 a2b3c--d785e50a661529be89f2 { background: lime; }
+.\\
--cc00b17b428adef51f6c { background: lime; }
+.\\<\\>\\<\\<\\<\\>\\>\\<\\>--a2a770d06d29491cb90e { background: lime; }
+.\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\[\\>\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\>\\+\\<\\<\\<\\<\\-\\]\\>\\+\\+\\.\\>\\+\\.\\+\\+\\+\\+\\+\\+\\+\\.\\.\\+\\+\\+\\.\\>\\+\\+\\.\\<\\<\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\.\\>\\.\\+\\+\\+\\.\\-\\-\\-\\-\\-\\-\\.\\-\\-\\-\\-\\-\\-\\-\\-\\.\\>\\+\\.\\>\\.--cc7846d4433278cb7dc4 { background: lime; }
+.\\#--c7a943b3297883fd2089 { background: lime; }
+.\\#\\#--ea628e8df88221969552 { background: lime; }
+.\\#\\.\\#\\.\\#--dea710d8c9521902e062 { background: lime; }
+.\\_--e9f571bfd47fb40b377c { background: lime; }
+.\\{\\}--def5f97b0ff315e9c069 { background: lime; }
+.\\#fake\\-id--a2d7428449895097291a { background: lime; }
+.foo\\.bar--a4aa4a1a78b94ac062a8 { background: lime; }
+.\\3A hover--cc13dcdd34f352f8db26 { background: lime; }
+.\\3A hover\\3A focus\\3A active--de4f205b1da2542a3508 { background: lime; }
+.\\[attr\\=value\\]--ed6f9744ffabc36e81fd { background: lime; }
+.f\\/o\\/o--fef3c40a18a3bdc6aadf { background: lime; }
+.f\\\\o\\\\o--bed5a37b85151828fd59 { background: lime; }
+.f\\*o\\*o--dbb328bab1b211b02df5 { background: lime; }
+.f\\!o\\!o--d35399e626d374f6a536 { background: lime; }
+.f\\'o\\'o--dffb0a3cb0c3b935c5f4 { background: lime; }
+.f\\~o\\~o--f3f5d93f57c13ee77bb5 { background: lime; }
+.f\\+o\\+o--d70c625b18c77fdca148 { background: lime; }
+
+.foo\\/bar--bb4ad2f425527544553f {
+ background: hotpink;
+}
+
+.foo\\\\bar--e8ba4f9a74f8b7fa8361 {
+ background: hotpink;
+}
+
+.foo\\/bar\\/baz--b5eb40201778b94976f0 {
+ background: hotpink;
+}
+
+.foo\\\\bar\\\\baz--b178648b8128f2bbc548 {
+ background: hotpink;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the "hashSalt" option: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "hashStrategy" = "minimal-subset" and [local]: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "hashStrategy" = "minimal-subset" and [local]: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.test__iHMJbI42 {
+ background: red;
+}
+
+._test__iHMJbI42 {
+ background: blue;
+}
+
+.className__iHMJbI42 {
+ background: red;
+}
+
+#someId__iHMJbI42 {
background: green;
}
+
+.className__iHMJbI42 .subClass__iHMJbI42 {
+ color: green;
+}
+
+#someId__iHMJbI42 .subClass__iHMJbI42 {
+ color: blue;
+}
+
+.-a0-34a___f__iHMJbI42 {
+ color: red;
+}
+
+.m_x_\\\\@__iHMJbI42 {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.B\\\\&W\\\\?__iHMJbI42 {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\\\`(" */
+.\\\\3A \\\\\\\`\\\\(__iHMJbI42 {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.\\\\31 a2b3c__iHMJbI42 {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#\\\\#fake-id__iHMJbI42 {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#-a-b-c-__iHMJbI42 {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#©__iHMJbI42 {
+ color: black;
+}
+
+.♥__iHMJbI42 { background: lime; }
+.©__iHMJbI42 { background: lime; }
+.😍__iHMJbI42 { background: lime; }
+.“‘’”__iHMJbI42 { background: lime; }
+.☺☃__iHMJbI42 { background: lime; }
+.⌘⌥__iHMJbI42 { background: lime; }
+.𝄞♪♩♫♬__iHMJbI42 { background: lime; }
+.💩__iHMJbI42 { background: lime; }
+.\\\\?__iHMJbI42 { background: lime; }
+.\\\\@__iHMJbI42 { background: lime; }
+.\\\\.__iHMJbI42 { background: lime; }
+.\\\\3A \\\\)__iHMJbI42 { background: lime; }
+.\\\\3A \\\\\\\`\\\\(__iHMJbI42 { background: lime; }
+.\\\\31 23__iHMJbI42 { background: lime; }
+.\\\\31 a2b3c__iHMJbI42 { background: lime; }
+.\\\\
__iHMJbI42 { background: lime; }
+.\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\>__iHMJbI42 { background: lime; }
+.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\.__iHMJbI42 { background: lime; }
+.\\\\#__iHMJbI42 { background: lime; }
+.\\\\#\\\\#__iHMJbI42 { background: lime; }
+.\\\\#\\\\.\\\\#\\\\.\\\\#__iHMJbI42 { background: lime; }
+.\\\\___iHMJbI42 { background: lime; }
+.\\\\{\\\\}__iHMJbI42 { background: lime; }
+.\\\\#fake\\\\-id__iHMJbI42 { background: lime; }
+.foo\\\\.bar__iHMJbI42 { background: lime; }
+.\\\\3A hover__iHMJbI42 { background: lime; }
+.\\\\3A hover\\\\3A focus\\\\3A active__iHMJbI42 { background: lime; }
+.\\\\[attr\\\\=value\\\\]__iHMJbI42 { background: lime; }
+.f\\\\/o\\\\/o__iHMJbI42 { background: lime; }
+.f\\\\\\\\o\\\\\\\\o__iHMJbI42 { background: lime; }
+.f\\\\*o\\\\*o__iHMJbI42 { background: lime; }
+.f\\\\!o\\\\!o__iHMJbI42 { background: lime; }
+.f\\\\'o\\\\'o__iHMJbI42 { background: lime; }
+.f\\\\~o\\\\~o__iHMJbI42 { background: lime; }
+.f\\\\+o\\\\+o__iHMJbI42 { background: lime; }
+
+.foo\\\\/bar__iHMJbI42 {
+ background: hotpink;
+}
+
+.foo\\\\\\\\bar__iHMJbI42 {
+ background: hotpink;
+}
+
+.foo\\\\/bar\\\\/baz__iHMJbI42 {
+ background: hotpink;
+}
+
+.foo\\\\\\\\bar\\\\\\\\baz__iHMJbI42 {
+ background: hotpink;
+}
+\`, ""]);
+// Exports
+var _1 = \`123__iHMJbI42\`;
+export { _1 as "123" };
+export var test = \`test__iHMJbI42\`;
+export var _test = \`_test__iHMJbI42\`;
+export var className = \`className__iHMJbI42\`;
+export var someId = \`someId__iHMJbI42\`;
+export var subClass = \`subClass__iHMJbI42\`;
+var _2 = \`-a0-34a___f__iHMJbI42\`;
+export { _2 as "-a0-34a___f" };
+var _3 = \`m_x_@__iHMJbI42\`;
+export { _3 as "m_x_@" };
+var _4 = \`B&W?__iHMJbI42\`;
+export { _4 as "B&W?" };
+var _5 = \`:\\\`(__iHMJbI42\`;
+export { _5 as ":\`(" };
+var _6 = \`1a2b3c__iHMJbI42\`;
+export { _6 as "1a2b3c" };
+var _7 = \`#fake-id__iHMJbI42\`;
+export { _7 as "#fake-id" };
+var _8 = \`-a-b-c-__iHMJbI42\`;
+export { _8 as "-a-b-c-" };
+var _9 = \`©__iHMJbI42\`;
+export { _9 as "©" };
+var _a = \`♥__iHMJbI42\`;
+export { _a as "♥" };
+var _b = \`😍__iHMJbI42\`;
+export { _b as "😍" };
+var _c = \`“‘’”__iHMJbI42\`;
+export { _c as "“‘’”" };
+var _d = \`☺☃__iHMJbI42\`;
+export { _d as "☺☃" };
+var _e = \`⌘⌥__iHMJbI42\`;
+export { _e as "⌘⌥" };
+var _f = \`𝄞♪♩♫♬__iHMJbI42\`;
+export { _f as "𝄞♪♩♫♬" };
+var _10 = \`💩__iHMJbI42\`;
+export { _10 as "💩" };
+var _11 = \`?__iHMJbI42\`;
+export { _11 as "?" };
+var _12 = \`@__iHMJbI42\`;
+export { _12 as "@" };
+var _13 = \`.__iHMJbI42\`;
+export { _13 as "." };
+var _14 = \`:)__iHMJbI42\`;
+export { _14 as ":)" };
+var _15 = \`
__iHMJbI42\`;
+export { _15 as "
" };
+var _16 = \`<><<<>><>__iHMJbI42\`;
+export { _16 as "<><<<>><>" };
+var _17 = \`++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.__iHMJbI42\`;
+export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." };
+var _18 = \`#__iHMJbI42\`;
+export { _18 as "#" };
+var _19 = \`##__iHMJbI42\`;
+export { _19 as "##" };
+var _1a = \`#.#.#__iHMJbI42\`;
+export { _1a as "#.#.#" };
+export var _ = \`___iHMJbI42\`;
+var _1b = \`{}__iHMJbI42\`;
+export { _1b as "{}" };
+var _1c = \`foo.bar__iHMJbI42\`;
+export { _1c as "foo.bar" };
+var _1d = \`:hover__iHMJbI42\`;
+export { _1d as ":hover" };
+var _1e = \`:hover:focus:active__iHMJbI42\`;
+export { _1e as ":hover:focus:active" };
+var _1f = \`[attr=value]__iHMJbI42\`;
+export { _1f as "[attr=value]" };
+var _20 = \`f/o/o__iHMJbI42\`;
+export { _20 as "f/o/o" };
+var _21 = \`f\\\\o\\\\o__iHMJbI42\`;
+export { _21 as "f\\\\o\\\\o" };
+var _22 = \`f*o*o__iHMJbI42\`;
+export { _22 as "f*o*o" };
+var _23 = \`f!o!o__iHMJbI42\`;
+export { _23 as "f!o!o" };
+var _24 = \`f'o'o__iHMJbI42\`;
+export { _24 as "f'o'o" };
+var _25 = \`f~o~o__iHMJbI42\`;
+export { _25 as "f~o~o" };
+var _26 = \`f+o+o__iHMJbI42\`;
+export { _26 as "f+o+o" };
+var _27 = \`foo/bar__iHMJbI42\`;
+export { _27 as "foo/bar" };
+var _28 = \`foo\\\\bar__iHMJbI42\`;
+export { _28 as "foo\\\\bar" };
+var _29 = \`foo/bar/baz__iHMJbI42\`;
+export { _29 as "foo/bar/baz" };
+var _2a = \`foo\\\\bar\\\\baz__iHMJbI42\`;
+export { _2a as "foo\\\\bar\\\\baz" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the "hashStrategy" = "minimal-subset" and [local]: result 1`] = `
+[
+ [
+ "./modules/localIdentName/localIdentName.css",
+ ".test__iHMJbI42 {
+ background: red;
+}
+
+._test__iHMJbI42 {
+ background: blue;
+}
+
+.className__iHMJbI42 {
+ background: red;
+}
+
+#someId__iHMJbI42 {
+ background: green;
+}
+
+.className__iHMJbI42 .subClass__iHMJbI42 {
+ color: green;
+}
+
+#someId__iHMJbI42 .subClass__iHMJbI42 {
+ color: blue;
+}
+
+.-a0-34a___f__iHMJbI42 {
+ color: red;
+}
+
+.m_x_\\@__iHMJbI42 {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.B\\&W\\?__iHMJbI42 {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\`(" */
+.\\3A \\\`\\(__iHMJbI42 {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.\\31 a2b3c__iHMJbI42 {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#\\#fake-id__iHMJbI42 {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#-a-b-c-__iHMJbI42 {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#©__iHMJbI42 {
+ color: black;
+}
+
+.♥__iHMJbI42 { background: lime; }
+.©__iHMJbI42 { background: lime; }
+.😍__iHMJbI42 { background: lime; }
+.“‘’”__iHMJbI42 { background: lime; }
+.☺☃__iHMJbI42 { background: lime; }
+.⌘⌥__iHMJbI42 { background: lime; }
+.𝄞♪♩♫♬__iHMJbI42 { background: lime; }
+.💩__iHMJbI42 { background: lime; }
+.\\?__iHMJbI42 { background: lime; }
+.\\@__iHMJbI42 { background: lime; }
+.\\.__iHMJbI42 { background: lime; }
+.\\3A \\)__iHMJbI42 { background: lime; }
+.\\3A \\\`\\(__iHMJbI42 { background: lime; }
+.\\31 23__iHMJbI42 { background: lime; }
+.\\31 a2b3c__iHMJbI42 { background: lime; }
+.\\
__iHMJbI42 { background: lime; }
+.\\<\\>\\<\\<\\<\\>\\>\\<\\>__iHMJbI42 { background: lime; }
+.\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\[\\>\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\>\\+\\<\\<\\<\\<\\-\\]\\>\\+\\+\\.\\>\\+\\.\\+\\+\\+\\+\\+\\+\\+\\.\\.\\+\\+\\+\\.\\>\\+\\+\\.\\<\\<\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\.\\>\\.\\+\\+\\+\\.\\-\\-\\-\\-\\-\\-\\.\\-\\-\\-\\-\\-\\-\\-\\-\\.\\>\\+\\.\\>\\.__iHMJbI42 { background: lime; }
+.\\#__iHMJbI42 { background: lime; }
+.\\#\\#__iHMJbI42 { background: lime; }
+.\\#\\.\\#\\.\\#__iHMJbI42 { background: lime; }
+.\\___iHMJbI42 { background: lime; }
+.\\{\\}__iHMJbI42 { background: lime; }
+.\\#fake\\-id__iHMJbI42 { background: lime; }
+.foo\\.bar__iHMJbI42 { background: lime; }
+.\\3A hover__iHMJbI42 { background: lime; }
+.\\3A hover\\3A focus\\3A active__iHMJbI42 { background: lime; }
+.\\[attr\\=value\\]__iHMJbI42 { background: lime; }
+.f\\/o\\/o__iHMJbI42 { background: lime; }
+.f\\\\o\\\\o__iHMJbI42 { background: lime; }
+.f\\*o\\*o__iHMJbI42 { background: lime; }
+.f\\!o\\!o__iHMJbI42 { background: lime; }
+.f\\'o\\'o__iHMJbI42 { background: lime; }
+.f\\~o\\~o__iHMJbI42 { background: lime; }
+.f\\+o\\+o__iHMJbI42 { background: lime; }
+
+.foo\\/bar__iHMJbI42 {
+ background: hotpink;
+}
+
+.foo\\\\bar__iHMJbI42 {
+ background: hotpink;
+}
+
+.foo\\/bar\\/baz__iHMJbI42 {
+ background: hotpink;
+}
+
+.foo\\\\bar\\\\baz__iHMJbI42 {
+ background: hotpink;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the "hashStrategy" = "minimal-subset" and [local]: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "hashStrategy" = "minimal-subset" and no [local]: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "hashStrategy" = "minimal-subset" and no [local]: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.KuIShlgs {
+ background: red;
+}
+
+.Lb3fhDAu {
+ background: blue;
+}
+
+.LdhpkZRW {
+ background: red;
+}
+
+#b0rhwJSt {
+ background: green;
+}
+
+.LdhpkZRW .Mw9j4nId {
+ color: green;
+}
+
+#b0rhwJSt .Mw9j4nId {
+ color: blue;
+}
+
+.DdFWMPol {
+ color: red;
+}
+
+.OdAmghrm {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.h4SEF34C {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\\\`(" */
+.fKJQkLar {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.YR1u_buY {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#AqiAGSfn {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#CwXv27VM {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#jBj0sZiW {
+ color: black;
+}
+
+.vJl9A9Ds { background: lime; }
+.jBj0sZiW { background: lime; }
+.CNLr9yJw { background: lime; }
+.GM0Y0nFC { background: lime; }
+.NKrBw7EA { background: lime; }
+.edHWpSne { background: lime; }
+.QyMp9YME { background: lime; }
+.B82YxwgR { background: lime; }
+.ndmpvNNl { background: lime; }
+.v3gq0wPo { background: lime; }
+.zd5uIZq6 { background: lime; }
+.ZiZnRjRT { background: lime; }
+.fKJQkLar { background: lime; }
+.oqRGsO4U { background: lime; }
+.YR1u_buY { background: lime; }
+.TdAx2ZSk { background: lime; }
+.ozNsTIG0 { background: lime; }
+.ByKoYcSr { background: lime; }
+.HkwIsjW5 { background: lime; }
+.IJc6Xl4Z { background: lime; }
+.BnPpnJmP { background: lime; }
+.bCwkZEDu { background: lime; }
+.IZkBfE9i { background: lime; }
+.AqiAGSfn { background: lime; }
+.uajo7mHz { background: lime; }
+.HVudUNXn { background: lime; }
+.ZlaaXvHL { background: lime; }
+.PWvC4jVM { background: lime; }
+.A5l5sDOD { background: lime; }
+.DFfh4Kyq { background: lime; }
+.gv1E2n_b { background: lime; }
+._aIyR9ET { background: lime; }
+.HSXNnSjt { background: lime; }
+.MrVzSIcS { background: lime; }
+.EvMHRmCu { background: lime; }
+
+.hei2uQgD {
+ background: hotpink;
+}
+
+.IgSzmmsC {
+ background: hotpink;
+}
+
+.p6KJMhNW {
+ background: hotpink;
+}
+
+.HZerWgmU {
+ background: hotpink;
+}
+\`, ""]);
+// Exports
+var _1 = \`oqRGsO4U\`;
+export { _1 as "123" };
+export var test = \`KuIShlgs\`;
+export var _test = \`Lb3fhDAu\`;
+export var className = \`LdhpkZRW\`;
+export var someId = \`b0rhwJSt\`;
+export var subClass = \`Mw9j4nId\`;
+var _2 = \`DdFWMPol\`;
+export { _2 as "-a0-34a___f" };
+var _3 = \`OdAmghrm\`;
+export { _3 as "m_x_@" };
+var _4 = \`h4SEF34C\`;
+export { _4 as "B&W?" };
+var _5 = \`fKJQkLar\`;
+export { _5 as ":\`(" };
+var _6 = \`YR1u_buY\`;
+export { _6 as "1a2b3c" };
+var _7 = \`AqiAGSfn\`;
+export { _7 as "#fake-id" };
+var _8 = \`CwXv27VM\`;
+export { _8 as "-a-b-c-" };
+var _9 = \`jBj0sZiW\`;
+export { _9 as "©" };
+var _a = \`vJl9A9Ds\`;
+export { _a as "♥" };
+var _b = \`CNLr9yJw\`;
+export { _b as "😍" };
+var _c = \`GM0Y0nFC\`;
+export { _c as "“‘’”" };
+var _d = \`NKrBw7EA\`;
+export { _d as "☺☃" };
+var _e = \`edHWpSne\`;
+export { _e as "⌘⌥" };
+var _f = \`QyMp9YME\`;
+export { _f as "𝄞♪♩♫♬" };
+var _10 = \`B82YxwgR\`;
+export { _10 as "💩" };
+var _11 = \`ndmpvNNl\`;
+export { _11 as "?" };
+var _12 = \`v3gq0wPo\`;
+export { _12 as "@" };
+var _13 = \`zd5uIZq6\`;
+export { _13 as "." };
+var _14 = \`ZiZnRjRT\`;
+export { _14 as ":)" };
+var _15 = \`TdAx2ZSk\`;
+export { _15 as "
" };
+var _16 = \`ozNsTIG0\`;
+export { _16 as "<><<<>><>" };
+var _17 = \`ByKoYcSr\`;
+export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." };
+var _18 = \`HkwIsjW5\`;
+export { _18 as "#" };
+var _19 = \`IJc6Xl4Z\`;
+export { _19 as "##" };
+var _1a = \`BnPpnJmP\`;
+export { _1a as "#.#.#" };
+export var _ = \`bCwkZEDu\`;
+var _1b = \`IZkBfE9i\`;
+export { _1b as "{}" };
+var _1c = \`uajo7mHz\`;
+export { _1c as "foo.bar" };
+var _1d = \`HVudUNXn\`;
+export { _1d as ":hover" };
+var _1e = \`ZlaaXvHL\`;
+export { _1e as ":hover:focus:active" };
+var _1f = \`PWvC4jVM\`;
+export { _1f as "[attr=value]" };
+var _20 = \`A5l5sDOD\`;
+export { _20 as "f/o/o" };
+var _21 = \`DFfh4Kyq\`;
+export { _21 as "f\\\\o\\\\o" };
+var _22 = \`gv1E2n_b\`;
+export { _22 as "f*o*o" };
+var _23 = \`_aIyR9ET\`;
+export { _23 as "f!o!o" };
+var _24 = \`HSXNnSjt\`;
+export { _24 as "f'o'o" };
+var _25 = \`MrVzSIcS\`;
+export { _25 as "f~o~o" };
+var _26 = \`EvMHRmCu\`;
+export { _26 as "f+o+o" };
+var _27 = \`hei2uQgD\`;
+export { _27 as "foo/bar" };
+var _28 = \`IgSzmmsC\`;
+export { _28 as "foo\\\\bar" };
+var _29 = \`p6KJMhNW\`;
+export { _29 as "foo/bar/baz" };
+var _2a = \`HZerWgmU\`;
+export { _2a as "foo\\\\bar\\\\baz" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the "hashStrategy" = "minimal-subset" and no [local]: result 1`] = `
+[
+ [
+ "./modules/localIdentName/localIdentName.css",
+ ".KuIShlgs {
+ background: red;
+}
+
+.Lb3fhDAu {
+ background: blue;
+}
+
+.LdhpkZRW {
+ background: red;
+}
+
+#b0rhwJSt {
+ background: green;
+}
+
+.LdhpkZRW .Mw9j4nId {
+ color: green;
+}
+
+#b0rhwJSt .Mw9j4nId {
+ color: blue;
+}
+
+.DdFWMPol {
+ color: red;
+}
+
+.OdAmghrm {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.h4SEF34C {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\`(" */
+.fKJQkLar {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.YR1u_buY {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#AqiAGSfn {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#CwXv27VM {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#jBj0sZiW {
+ color: black;
+}
+
+.vJl9A9Ds { background: lime; }
+.jBj0sZiW { background: lime; }
+.CNLr9yJw { background: lime; }
+.GM0Y0nFC { background: lime; }
+.NKrBw7EA { background: lime; }
+.edHWpSne { background: lime; }
+.QyMp9YME { background: lime; }
+.B82YxwgR { background: lime; }
+.ndmpvNNl { background: lime; }
+.v3gq0wPo { background: lime; }
+.zd5uIZq6 { background: lime; }
+.ZiZnRjRT { background: lime; }
+.fKJQkLar { background: lime; }
+.oqRGsO4U { background: lime; }
+.YR1u_buY { background: lime; }
+.TdAx2ZSk { background: lime; }
+.ozNsTIG0 { background: lime; }
+.ByKoYcSr { background: lime; }
+.HkwIsjW5 { background: lime; }
+.IJc6Xl4Z { background: lime; }
+.BnPpnJmP { background: lime; }
+.bCwkZEDu { background: lime; }
+.IZkBfE9i { background: lime; }
+.AqiAGSfn { background: lime; }
+.uajo7mHz { background: lime; }
+.HVudUNXn { background: lime; }
+.ZlaaXvHL { background: lime; }
+.PWvC4jVM { background: lime; }
+.A5l5sDOD { background: lime; }
+.DFfh4Kyq { background: lime; }
+.gv1E2n_b { background: lime; }
+._aIyR9ET { background: lime; }
+.HSXNnSjt { background: lime; }
+.MrVzSIcS { background: lime; }
+.EvMHRmCu { background: lime; }
+
+.hei2uQgD {
+ background: hotpink;
+}
+
+.IgSzmmsC {
+ background: hotpink;
+}
+
+.p6KJMhNW {
+ background: hotpink;
+}
+
+.HZerWgmU {
+ background: hotpink;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the "hashStrategy" = "minimal-subset" and no [local]: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "hashStrategy" = "resource-path-and-local-name": errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "hashStrategy" = "resource-path-and-local-name": module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.test__KuIShlgs {
+ background: red;
+}
+
+._test__Lb3fhDAu {
+ background: blue;
+}
+
+.className__LdhpkZRW {
+ background: red;
+}
+
+#someId__b0rhwJSt {
+ background: green;
+}
+
+.className__LdhpkZRW .subClass__Mw9j4nId {
+ color: green;
+}
+
+#someId__b0rhwJSt .subClass__Mw9j4nId {
+ color: blue;
+}
+
+.-a0-34a___f__DdFWMPol {
+ color: red;
+}
+
+.m_x_\\\\@__OdAmghrm {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.B\\\\&W\\\\?__h4SEF34C {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\\\`(" */
+.\\\\3A \\\\\\\`\\\\(__fKJQkLar {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.\\\\31 a2b3c__YR1u_buY {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#\\\\#fake-id__AqiAGSfn {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#-a-b-c-__CwXv27VM {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#©__jBj0sZiW {
+ color: black;
+}
+
+.♥__vJl9A9Ds { background: lime; }
+.©__jBj0sZiW { background: lime; }
+.😍__CNLr9yJw { background: lime; }
+.“‘’”__GM0Y0nFC { background: lime; }
+.☺☃__NKrBw7EA { background: lime; }
+.⌘⌥__edHWpSne { background: lime; }
+.𝄞♪♩♫♬__QyMp9YME { background: lime; }
+.💩__B82YxwgR { background: lime; }
+.\\\\?__ndmpvNNl { background: lime; }
+.\\\\@__v3gq0wPo { background: lime; }
+.\\\\.__zd5uIZq6 { background: lime; }
+.\\\\3A \\\\)__ZiZnRjRT { background: lime; }
+.\\\\3A \\\\\\\`\\\\(__fKJQkLar { background: lime; }
+.\\\\31 23__oqRGsO4U { background: lime; }
+.\\\\31 a2b3c__YR1u_buY { background: lime; }
+.\\\\
__TdAx2ZSk { background: lime; }
+.\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\>__ozNsTIG0 { background: lime; }
+.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\.__ByKoYcSr { background: lime; }
+.\\\\#__HkwIsjW5 { background: lime; }
+.\\\\#\\\\#__IJc6Xl4Z { background: lime; }
+.\\\\#\\\\.\\\\#\\\\.\\\\#__BnPpnJmP { background: lime; }
+.\\\\___bCwkZEDu { background: lime; }
+.\\\\{\\\\}__IZkBfE9i { background: lime; }
+.\\\\#fake\\\\-id__AqiAGSfn { background: lime; }
+.foo\\\\.bar__uajo7mHz { background: lime; }
+.\\\\3A hover__HVudUNXn { background: lime; }
+.\\\\3A hover\\\\3A focus\\\\3A active__ZlaaXvHL { background: lime; }
+.\\\\[attr\\\\=value\\\\]__PWvC4jVM { background: lime; }
+.f\\\\/o\\\\/o__A5l5sDOD { background: lime; }
+.f\\\\\\\\o\\\\\\\\o__DFfh4Kyq { background: lime; }
+.f\\\\*o\\\\*o__gv1E2n_b { background: lime; }
+.f\\\\!o\\\\!o___aIyR9ET { background: lime; }
+.f\\\\'o\\\\'o__HSXNnSjt { background: lime; }
+.f\\\\~o\\\\~o__MrVzSIcS { background: lime; }
+.f\\\\+o\\\\+o__EvMHRmCu { background: lime; }
+
+.foo\\\\/bar__hei2uQgD {
+ background: hotpink;
+}
+
+.foo\\\\\\\\bar__IgSzmmsC {
+ background: hotpink;
+}
+
+.foo\\\\/bar\\\\/baz__p6KJMhNW {
+ background: hotpink;
+}
+
+.foo\\\\\\\\bar\\\\\\\\baz__HZerWgmU {
+ background: hotpink;
+}
+\`, ""]);
+// Exports
+var _1 = \`123__oqRGsO4U\`;
+export { _1 as "123" };
+export var test = \`test__KuIShlgs\`;
+export var _test = \`_test__Lb3fhDAu\`;
+export var className = \`className__LdhpkZRW\`;
+export var someId = \`someId__b0rhwJSt\`;
+export var subClass = \`subClass__Mw9j4nId\`;
+var _2 = \`-a0-34a___f__DdFWMPol\`;
+export { _2 as "-a0-34a___f" };
+var _3 = \`m_x_@__OdAmghrm\`;
+export { _3 as "m_x_@" };
+var _4 = \`B&W?__h4SEF34C\`;
+export { _4 as "B&W?" };
+var _5 = \`:\\\`(__fKJQkLar\`;
+export { _5 as ":\`(" };
+var _6 = \`1a2b3c__YR1u_buY\`;
+export { _6 as "1a2b3c" };
+var _7 = \`#fake-id__AqiAGSfn\`;
+export { _7 as "#fake-id" };
+var _8 = \`-a-b-c-__CwXv27VM\`;
+export { _8 as "-a-b-c-" };
+var _9 = \`©__jBj0sZiW\`;
+export { _9 as "©" };
+var _a = \`♥__vJl9A9Ds\`;
+export { _a as "♥" };
+var _b = \`😍__CNLr9yJw\`;
+export { _b as "😍" };
+var _c = \`“‘’”__GM0Y0nFC\`;
+export { _c as "“‘’”" };
+var _d = \`☺☃__NKrBw7EA\`;
+export { _d as "☺☃" };
+var _e = \`⌘⌥__edHWpSne\`;
+export { _e as "⌘⌥" };
+var _f = \`𝄞♪♩♫♬__QyMp9YME\`;
+export { _f as "𝄞♪♩♫♬" };
+var _10 = \`💩__B82YxwgR\`;
+export { _10 as "💩" };
+var _11 = \`?__ndmpvNNl\`;
+export { _11 as "?" };
+var _12 = \`@__v3gq0wPo\`;
+export { _12 as "@" };
+var _13 = \`.__zd5uIZq6\`;
+export { _13 as "." };
+var _14 = \`:)__ZiZnRjRT\`;
+export { _14 as ":)" };
+var _15 = \`
__TdAx2ZSk\`;
+export { _15 as "
" };
+var _16 = \`<><<<>><>__ozNsTIG0\`;
+export { _16 as "<><<<>><>" };
+var _17 = \`++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.__ByKoYcSr\`;
+export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." };
+var _18 = \`#__HkwIsjW5\`;
+export { _18 as "#" };
+var _19 = \`##__IJc6Xl4Z\`;
+export { _19 as "##" };
+var _1a = \`#.#.#__BnPpnJmP\`;
+export { _1a as "#.#.#" };
+export var _ = \`___bCwkZEDu\`;
+var _1b = \`{}__IZkBfE9i\`;
+export { _1b as "{}" };
+var _1c = \`foo.bar__uajo7mHz\`;
+export { _1c as "foo.bar" };
+var _1d = \`:hover__HVudUNXn\`;
+export { _1d as ":hover" };
+var _1e = \`:hover:focus:active__ZlaaXvHL\`;
+export { _1e as ":hover:focus:active" };
+var _1f = \`[attr=value]__PWvC4jVM\`;
+export { _1f as "[attr=value]" };
+var _20 = \`f/o/o__A5l5sDOD\`;
+export { _20 as "f/o/o" };
+var _21 = \`f\\\\o\\\\o__DFfh4Kyq\`;
+export { _21 as "f\\\\o\\\\o" };
+var _22 = \`f*o*o__gv1E2n_b\`;
+export { _22 as "f*o*o" };
+var _23 = \`f!o!o___aIyR9ET\`;
+export { _23 as "f!o!o" };
+var _24 = \`f'o'o__HSXNnSjt\`;
+export { _24 as "f'o'o" };
+var _25 = \`f~o~o__MrVzSIcS\`;
+export { _25 as "f~o~o" };
+var _26 = \`f+o+o__EvMHRmCu\`;
+export { _26 as "f+o+o" };
+var _27 = \`foo/bar__hei2uQgD\`;
+export { _27 as "foo/bar" };
+var _28 = \`foo\\\\bar__IgSzmmsC\`;
+export { _28 as "foo\\\\bar" };
+var _29 = \`foo/bar/baz__p6KJMhNW\`;
+export { _29 as "foo/bar/baz" };
+var _2a = \`foo\\\\bar\\\\baz__HZerWgmU\`;
+export { _2a as "foo\\\\bar\\\\baz" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the "hashStrategy" = "resource-path-and-local-name": result 1`] = `
+[
+ [
+ "./modules/localIdentName/localIdentName.css",
+ ".test__KuIShlgs {
+ background: red;
+}
+
+._test__Lb3fhDAu {
+ background: blue;
+}
+
+.className__LdhpkZRW {
+ background: red;
+}
+
+#someId__b0rhwJSt {
+ background: green;
+}
+
+.className__LdhpkZRW .subClass__Mw9j4nId {
+ color: green;
+}
+
+#someId__b0rhwJSt .subClass__Mw9j4nId {
+ color: blue;
+}
+
+.-a0-34a___f__DdFWMPol {
+ color: red;
+}
+
+.m_x_\\@__OdAmghrm {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.B\\&W\\?__h4SEF34C {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\`(" */
+.\\3A \\\`\\(__fKJQkLar {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.\\31 a2b3c__YR1u_buY {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#\\#fake-id__AqiAGSfn {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#-a-b-c-__CwXv27VM {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#©__jBj0sZiW {
+ color: black;
+}
+
+.♥__vJl9A9Ds { background: lime; }
+.©__jBj0sZiW { background: lime; }
+.😍__CNLr9yJw { background: lime; }
+.“‘’”__GM0Y0nFC { background: lime; }
+.☺☃__NKrBw7EA { background: lime; }
+.⌘⌥__edHWpSne { background: lime; }
+.𝄞♪♩♫♬__QyMp9YME { background: lime; }
+.💩__B82YxwgR { background: lime; }
+.\\?__ndmpvNNl { background: lime; }
+.\\@__v3gq0wPo { background: lime; }
+.\\.__zd5uIZq6 { background: lime; }
+.\\3A \\)__ZiZnRjRT { background: lime; }
+.\\3A \\\`\\(__fKJQkLar { background: lime; }
+.\\31 23__oqRGsO4U { background: lime; }
+.\\31 a2b3c__YR1u_buY { background: lime; }
+.\\
__TdAx2ZSk { background: lime; }
+.\\<\\>\\<\\<\\<\\>\\>\\<\\>__ozNsTIG0 { background: lime; }
+.\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\[\\>\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\>\\+\\<\\<\\<\\<\\-\\]\\>\\+\\+\\.\\>\\+\\.\\+\\+\\+\\+\\+\\+\\+\\.\\.\\+\\+\\+\\.\\>\\+\\+\\.\\<\\<\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\.\\>\\.\\+\\+\\+\\.\\-\\-\\-\\-\\-\\-\\.\\-\\-\\-\\-\\-\\-\\-\\-\\.\\>\\+\\.\\>\\.__ByKoYcSr { background: lime; }
+.\\#__HkwIsjW5 { background: lime; }
+.\\#\\#__IJc6Xl4Z { background: lime; }
+.\\#\\.\\#\\.\\#__BnPpnJmP { background: lime; }
+.\\___bCwkZEDu { background: lime; }
+.\\{\\}__IZkBfE9i { background: lime; }
+.\\#fake\\-id__AqiAGSfn { background: lime; }
+.foo\\.bar__uajo7mHz { background: lime; }
+.\\3A hover__HVudUNXn { background: lime; }
+.\\3A hover\\3A focus\\3A active__ZlaaXvHL { background: lime; }
+.\\[attr\\=value\\]__PWvC4jVM { background: lime; }
+.f\\/o\\/o__A5l5sDOD { background: lime; }
+.f\\\\o\\\\o__DFfh4Kyq { background: lime; }
+.f\\*o\\*o__gv1E2n_b { background: lime; }
+.f\\!o\\!o___aIyR9ET { background: lime; }
+.f\\'o\\'o__HSXNnSjt { background: lime; }
+.f\\~o\\~o__MrVzSIcS { background: lime; }
+.f\\+o\\+o__EvMHRmCu { background: lime; }
+
+.foo\\/bar__hei2uQgD {
+ background: hotpink;
+}
+
+.foo\\\\bar__IgSzmmsC {
+ background: hotpink;
+}
+
+.foo\\/bar\\/baz__p6KJMhNW {
+ background: hotpink;
+}
+
+.foo\\\\bar\\\\baz__HZerWgmU {
+ background: hotpink;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the "hashStrategy" = "resource-path-and-local-name": warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "localConvention" option with the "asIs" value: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "localConvention" option with the "asIs" value: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+\`, ""]);
+// Exports
+export var foo = \`bar\`;
+var _1 = \`value\`;
+export { _1 as "my-btn-info_is-disabled" };
+var _2 = \`rmc8ltu8P1VXaeqLNU6N\`;
+export { _2 as "btn-info_is-disabled" };
+var _3 = \`AooVHuvzAIGXWngdfslc\`;
+export { _3 as "btn--info_is-disabled_1" };
+export var simple = \`snmJCrfw3LVnrlx87XVC\`;
+export var foo_bar = \`vA4oeh0XymefKJVIJyg1\`;
+var _4 = \`mDiC1MIOTWjgsd86woaJ\`;
+export { _4 as "class" };
+export var fooBarBaz = \`kY3VVFqpzmTiFlxOd9KU\`;
+export var b = \`eiLdMC_n9TCXQ0oPIJyI\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the "localConvention" option with the "asIs" value: result 1`] = `
+[
+ [
+ "./modules/localsConvention/localsConvention.css",
+ ".rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the "localConvention" option with the "asIs" value: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "localIdentHashFunction" option: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "localIdentHashFunction" option: errors 2`] = `[]`;
+
+exports[`"modules" option should work and respect the "localIdentHashFunction" option: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.test--ddd414ab5d5137709283 {
+ background: red;
+}
+
+._test--e91d3d0c5fd37cd4b01b {
+ background: blue;
+}
+
+.className--e02e6f829b2bee39d627 {
+ background: red;
+}
+
+#someId--de52fa8c46db92b11447 {
+ background: green;
+}
+
+.className--e02e6f829b2bee39d627 .subClass--be91981b36e10e364e4c {
+ color: green;
+}
+
+#someId--de52fa8c46db92b11447 .subClass--be91981b36e10e364e4c {
+ color: blue;
+}
+
+.-a0-34a___f--da00a255d4f26816d790 {
+ color: red;
+}
+
+.m_x_\\\\@--bfd2a88024baab94215a {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.B\\\\&W\\\\?--bdeaa204fa06e193156e {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\\\`(" */
+.\\\\3A \\\\\\\`\\\\(--ca761b17eca1ae06d42e {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.\\\\31 a2b3c--a35141d9affd245508ec {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#\\\\#fake-id--ad040e49adcf9ebf2b28 {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#-a-b-c---e778be7522ccfc908a7f {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#©--e0f3ca20d394f3e4c0c4 {
+ color: black;
+}
+
+.♥--a33350b333a80f1b1a5b { background: lime; }
+.©--e0f3ca20d394f3e4c0c4 { background: lime; }
+.😍--c0436529b39516386e8e { background: lime; }
+.“‘’”--e70e1ad7759d3f300df8 { background: lime; }
+.☺☃--a0cb57576a5c7938d368 { background: lime; }
+.⌘⌥--e217e979d1184a514863 { background: lime; }
+.𝄞♪♩♫♬--a84ff99d334be3b94b99 { background: lime; }
+.💩--d850ae0fa2bc4c199f78 { background: lime; }
+.\\\\?--ce25d6e6d5d3f7f1caf8 { background: lime; }
+.\\\\@--af4ac041e6ccf6398ff5 { background: lime; }
+.\\\\.--e94958877c738509339f { background: lime; }
+.\\\\3A \\\\)--c80360aed4da410414fc { background: lime; }
+.\\\\3A \\\\\\\`\\\\(--ca761b17eca1ae06d42e { background: lime; }
+.\\\\31 23--c945113ffceee32ec307 { background: lime; }
+.\\\\31 a2b3c--a35141d9affd245508ec { background: lime; }
+.\\\\
--b01c44339fab06966cef { background: lime; }
+.\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\>--e4fde695b6d3728c37e2 { background: lime; }
+.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\.--dd1263b9248633b49ab6 { background: lime; }
+.\\\\#--e135fb99b5f04b604132 { background: lime; }
+.\\\\#\\\\#--ba6fb20eb138e8d73dc4 { background: lime; }
+.\\\\#\\\\.\\\\#\\\\.\\\\#--a6704dcf2abf08ff56bd { background: lime; }
+.\\\\_--aa2521adbafa6a1b57d0 { background: lime; }
+.\\\\{\\\\}--c716be70a0fac8bbc9e8 { background: lime; }
+.\\\\#fake\\\\-id--ad040e49adcf9ebf2b28 { background: lime; }
+.foo\\\\.bar--ce58180c03c903fcc73c { background: lime; }
+.\\\\3A hover--defde77234f3cb7141b1 { background: lime; }
+.\\\\3A hover\\\\3A focus\\\\3A active--cf83606abd36c7adf7e7 { background: lime; }
+.\\\\[attr\\\\=value\\\\]--c9620f5e0b4a2472cd5a { background: lime; }
+.f\\\\/o\\\\/o--d439f5313663238836bb { background: lime; }
+.f\\\\\\\\o\\\\\\\\o--f64285b41af14c5e74b5 { background: lime; }
+.f\\\\*o\\\\*o--e844a318c45519219501 { background: lime; }
+.f\\\\!o\\\\!o--ae46ad5331777ab05875 { background: lime; }
+.f\\\\'o\\\\'o--a23d7b9b14b04706b089 { background: lime; }
+.f\\\\~o\\\\~o--cc96b7a27dbd52fba7a5 { background: lime; }
+.f\\\\+o\\\\+o--debcf9986b3f64af6af9 { background: lime; }
+
+.foo\\\\/bar--d76ec2006d8359a0df78 {
+ background: hotpink;
+}
+
+.foo\\\\\\\\bar--c17737aec664275b67b0 {
+ background: hotpink;
+}
+
+.foo\\\\/bar\\\\/baz--c948ac137924110011f2 {
+ background: hotpink;
+}
+
+.foo\\\\\\\\bar\\\\\\\\baz--ee89c9e938e6eb8df43d {
+ background: hotpink;
+}
+\`, ""]);
+// Exports
+var _1 = \`123--c945113ffceee32ec307\`;
+export { _1 as "123" };
+export var test = \`test--ddd414ab5d5137709283\`;
+export var _test = \`_test--e91d3d0c5fd37cd4b01b\`;
+export var className = \`className--e02e6f829b2bee39d627\`;
+export var someId = \`someId--de52fa8c46db92b11447\`;
+export var subClass = \`subClass--be91981b36e10e364e4c\`;
+var _2 = \`-a0-34a___f--da00a255d4f26816d790\`;
+export { _2 as "-a0-34a___f" };
+var _3 = \`m_x_@--bfd2a88024baab94215a\`;
+export { _3 as "m_x_@" };
+var _4 = \`B&W?--bdeaa204fa06e193156e\`;
+export { _4 as "B&W?" };
+var _5 = \`:\\\`(--ca761b17eca1ae06d42e\`;
+export { _5 as ":\`(" };
+var _6 = \`1a2b3c--a35141d9affd245508ec\`;
+export { _6 as "1a2b3c" };
+var _7 = \`#fake-id--ad040e49adcf9ebf2b28\`;
+export { _7 as "#fake-id" };
+var _8 = \`-a-b-c---e778be7522ccfc908a7f\`;
+export { _8 as "-a-b-c-" };
+var _9 = \`©--e0f3ca20d394f3e4c0c4\`;
+export { _9 as "©" };
+var _a = \`♥--a33350b333a80f1b1a5b\`;
+export { _a as "♥" };
+var _b = \`😍--c0436529b39516386e8e\`;
+export { _b as "😍" };
+var _c = \`“‘’”--e70e1ad7759d3f300df8\`;
+export { _c as "“‘’”" };
+var _d = \`☺☃--a0cb57576a5c7938d368\`;
+export { _d as "☺☃" };
+var _e = \`⌘⌥--e217e979d1184a514863\`;
+export { _e as "⌘⌥" };
+var _f = \`𝄞♪♩♫♬--a84ff99d334be3b94b99\`;
+export { _f as "𝄞♪♩♫♬" };
+var _10 = \`💩--d850ae0fa2bc4c199f78\`;
+export { _10 as "💩" };
+var _11 = \`?--ce25d6e6d5d3f7f1caf8\`;
+export { _11 as "?" };
+var _12 = \`@--af4ac041e6ccf6398ff5\`;
+export { _12 as "@" };
+var _13 = \`.--e94958877c738509339f\`;
+export { _13 as "." };
+var _14 = \`:)--c80360aed4da410414fc\`;
+export { _14 as ":)" };
+var _15 = \`
--b01c44339fab06966cef\`;
+export { _15 as "
" };
+var _16 = \`<><<<>><>--e4fde695b6d3728c37e2\`;
+export { _16 as "<><<<>><>" };
+var _17 = \`++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.--dd1263b9248633b49ab6\`;
+export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." };
+var _18 = \`#--e135fb99b5f04b604132\`;
+export { _18 as "#" };
+var _19 = \`##--ba6fb20eb138e8d73dc4\`;
+export { _19 as "##" };
+var _1a = \`#.#.#--a6704dcf2abf08ff56bd\`;
+export { _1a as "#.#.#" };
+export var _ = \`_--aa2521adbafa6a1b57d0\`;
+var _1b = \`{}--c716be70a0fac8bbc9e8\`;
+export { _1b as "{}" };
+var _1c = \`foo.bar--ce58180c03c903fcc73c\`;
+export { _1c as "foo.bar" };
+var _1d = \`:hover--defde77234f3cb7141b1\`;
+export { _1d as ":hover" };
+var _1e = \`:hover:focus:active--cf83606abd36c7adf7e7\`;
+export { _1e as ":hover:focus:active" };
+var _1f = \`[attr=value]--c9620f5e0b4a2472cd5a\`;
+export { _1f as "[attr=value]" };
+var _20 = \`f/o/o--d439f5313663238836bb\`;
+export { _20 as "f/o/o" };
+var _21 = \`f\\\\o\\\\o--f64285b41af14c5e74b5\`;
+export { _21 as "f\\\\o\\\\o" };
+var _22 = \`f*o*o--e844a318c45519219501\`;
+export { _22 as "f*o*o" };
+var _23 = \`f!o!o--ae46ad5331777ab05875\`;
+export { _23 as "f!o!o" };
+var _24 = \`f'o'o--a23d7b9b14b04706b089\`;
+export { _24 as "f'o'o" };
+var _25 = \`f~o~o--cc96b7a27dbd52fba7a5\`;
+export { _25 as "f~o~o" };
+var _26 = \`f+o+o--debcf9986b3f64af6af9\`;
+export { _26 as "f+o+o" };
+var _27 = \`foo/bar--d76ec2006d8359a0df78\`;
+export { _27 as "foo/bar" };
+var _28 = \`foo\\\\bar--c17737aec664275b67b0\`;
+export { _28 as "foo\\\\bar" };
+var _29 = \`foo/bar/baz--c948ac137924110011f2\`;
+export { _29 as "foo/bar/baz" };
+var _2a = \`foo\\\\bar\\\\baz--ee89c9e938e6eb8df43d\`;
+export { _2a as "foo\\\\bar\\\\baz" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the "localIdentHashFunction" option: module 2`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.test--KuIShlgsYf {
+ background: red;
+}
+
+._test--Lb3fhDAuJv {
+ background: blue;
+}
+
+.className--LdhpkZRWyK {
+ background: red;
+}
+
+#someId--b0rhwJStMR {
+ background: green;
+}
+
+.className--LdhpkZRWyK .subClass--Mw9j4nIdjx {
+ color: green;
+}
+
+#someId--b0rhwJStMR .subClass--Mw9j4nIdjx {
+ color: blue;
+}
+
+.-a0-34a___f--DdFWMPoluI {
+ color: red;
+}
+
+.m_x_\\\\@--OdAmghrme3 {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.B\\\\&W\\\\?--h4SEF34CLw {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\\\`(" */
+.\\\\3A \\\\\\\`\\\\(--fKJQkLarfQ {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.\\\\31 a2b3c--YR1u_buYf6 {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#\\\\#fake-id--AqiAGSfnwa {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#-a-b-c---CwXv27VMwy {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#©--jBj0sZiWBy {
+ color: black;
+}
+
+.♥--vJl9A9Ds21 { background: lime; }
+.©--jBj0sZiWBy { background: lime; }
+.😍--CNLr9yJwqs { background: lime; }
+.“‘’”--GM0Y0nFCPt { background: lime; }
+.☺☃--NKrBw7EAqP { background: lime; }
+.⌘⌥--edHWpSne18 { background: lime; }
+.𝄞♪♩♫♬--QyMp9YMEoY { background: lime; }
+.💩--B82YxwgREH { background: lime; }
+.\\\\?--ndmpvNNltJ { background: lime; }
+.\\\\@--v3gq0wPogd { background: lime; }
+.\\\\.--zd5uIZq6Kr { background: lime; }
+.\\\\3A \\\\)--ZiZnRjRT03 { background: lime; }
+.\\\\3A \\\\\\\`\\\\(--fKJQkLarfQ { background: lime; }
+.\\\\31 23--oqRGsO4UR7 { background: lime; }
+.\\\\31 a2b3c--YR1u_buYf6 { background: lime; }
+.\\\\
--TdAx2ZSkw7 { background: lime; }
+.\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\>--ozNsTIG0LL { background: lime; }
+.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\.--ByKoYcSrMT { background: lime; }
+.\\\\#--HkwIsjW5i7 { background: lime; }
+.\\\\#\\\\#--IJc6Xl4ZKV { background: lime; }
+.\\\\#\\\\.\\\\#\\\\.\\\\#--BnPpnJmPeN { background: lime; }
+.\\\\_--bCwkZEDuxD { background: lime; }
+.\\\\{\\\\}--IZkBfE9iUP { background: lime; }
+.\\\\#fake\\\\-id--AqiAGSfnwa { background: lime; }
+.foo\\\\.bar--uajo7mHzD_ { background: lime; }
+.\\\\3A hover--HVudUNXnLN { background: lime; }
+.\\\\3A hover\\\\3A focus\\\\3A active--ZlaaXvHLUs { background: lime; }
+.\\\\[attr\\\\=value\\\\]--PWvC4jVM5S { background: lime; }
+.f\\\\/o\\\\/o--A5l5sDODF4 { background: lime; }
+.f\\\\\\\\o\\\\\\\\o--DFfh4KyqOO { background: lime; }
+.f\\\\*o\\\\*o--gv1E2n_bVv { background: lime; }
+.f\\\\!o\\\\!o--_aIyR9ETAs { background: lime; }
+.f\\\\'o\\\\'o--HSXNnSjt1Q { background: lime; }
+.f\\\\~o\\\\~o--MrVzSIcSXy { background: lime; }
+.f\\\\+o\\\\+o--EvMHRmCudy { background: lime; }
+
+.foo\\\\/bar--hei2uQgDeX {
+ background: hotpink;
+}
+
+.foo\\\\\\\\bar--IgSzmmsCqi {
+ background: hotpink;
+}
+
+.foo\\\\/bar\\\\/baz--p6KJMhNWwm {
+ background: hotpink;
+}
+
+.foo\\\\\\\\bar\\\\\\\\baz--HZerWgmU0f {
+ background: hotpink;
+}
+\`, ""]);
+// Exports
+var _1 = \`123--oqRGsO4UR7\`;
+export { _1 as "123" };
+export var test = \`test--KuIShlgsYf\`;
+export var _test = \`_test--Lb3fhDAuJv\`;
+export var className = \`className--LdhpkZRWyK\`;
+export var someId = \`someId--b0rhwJStMR\`;
+export var subClass = \`subClass--Mw9j4nIdjx\`;
+var _2 = \`-a0-34a___f--DdFWMPoluI\`;
+export { _2 as "-a0-34a___f" };
+var _3 = \`m_x_@--OdAmghrme3\`;
+export { _3 as "m_x_@" };
+var _4 = \`B&W?--h4SEF34CLw\`;
+export { _4 as "B&W?" };
+var _5 = \`:\\\`(--fKJQkLarfQ\`;
+export { _5 as ":\`(" };
+var _6 = \`1a2b3c--YR1u_buYf6\`;
+export { _6 as "1a2b3c" };
+var _7 = \`#fake-id--AqiAGSfnwa\`;
+export { _7 as "#fake-id" };
+var _8 = \`-a-b-c---CwXv27VMwy\`;
+export { _8 as "-a-b-c-" };
+var _9 = \`©--jBj0sZiWBy\`;
+export { _9 as "©" };
+var _a = \`♥--vJl9A9Ds21\`;
+export { _a as "♥" };
+var _b = \`😍--CNLr9yJwqs\`;
+export { _b as "😍" };
+var _c = \`“‘’”--GM0Y0nFCPt\`;
+export { _c as "“‘’”" };
+var _d = \`☺☃--NKrBw7EAqP\`;
+export { _d as "☺☃" };
+var _e = \`⌘⌥--edHWpSne18\`;
+export { _e as "⌘⌥" };
+var _f = \`𝄞♪♩♫♬--QyMp9YMEoY\`;
+export { _f as "𝄞♪♩♫♬" };
+var _10 = \`💩--B82YxwgREH\`;
+export { _10 as "💩" };
+var _11 = \`?--ndmpvNNltJ\`;
+export { _11 as "?" };
+var _12 = \`@--v3gq0wPogd\`;
+export { _12 as "@" };
+var _13 = \`.--zd5uIZq6Kr\`;
+export { _13 as "." };
+var _14 = \`:)--ZiZnRjRT03\`;
+export { _14 as ":)" };
+var _15 = \`
--TdAx2ZSkw7\`;
+export { _15 as "
" };
+var _16 = \`<><<<>><>--ozNsTIG0LL\`;
+export { _16 as "<><<<>><>" };
+var _17 = \`++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.--ByKoYcSrMT\`;
+export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." };
+var _18 = \`#--HkwIsjW5i7\`;
+export { _18 as "#" };
+var _19 = \`##--IJc6Xl4ZKV\`;
+export { _19 as "##" };
+var _1a = \`#.#.#--BnPpnJmPeN\`;
+export { _1a as "#.#.#" };
+export var _ = \`_--bCwkZEDuxD\`;
+var _1b = \`{}--IZkBfE9iUP\`;
+export { _1b as "{}" };
+var _1c = \`foo.bar--uajo7mHzD_\`;
+export { _1c as "foo.bar" };
+var _1d = \`:hover--HVudUNXnLN\`;
+export { _1d as ":hover" };
+var _1e = \`:hover:focus:active--ZlaaXvHLUs\`;
+export { _1e as ":hover:focus:active" };
+var _1f = \`[attr=value]--PWvC4jVM5S\`;
+export { _1f as "[attr=value]" };
+var _20 = \`f/o/o--A5l5sDODF4\`;
+export { _20 as "f/o/o" };
+var _21 = \`f\\\\o\\\\o--DFfh4KyqOO\`;
+export { _21 as "f\\\\o\\\\o" };
+var _22 = \`f*o*o--gv1E2n_bVv\`;
+export { _22 as "f*o*o" };
+var _23 = \`f!o!o--_aIyR9ETAs\`;
+export { _23 as "f!o!o" };
+var _24 = \`f'o'o--HSXNnSjt1Q\`;
+export { _24 as "f'o'o" };
+var _25 = \`f~o~o--MrVzSIcSXy\`;
+export { _25 as "f~o~o" };
+var _26 = \`f+o+o--EvMHRmCudy\`;
+export { _26 as "f+o+o" };
+var _27 = \`foo/bar--hei2uQgDeX\`;
+export { _27 as "foo/bar" };
+var _28 = \`foo\\\\bar--IgSzmmsCqi\`;
+export { _28 as "foo\\\\bar" };
+var _29 = \`foo/bar/baz--p6KJMhNWwm\`;
+export { _29 as "foo/bar/baz" };
+var _2a = \`foo\\\\bar\\\\baz--HZerWgmU0f\`;
+export { _2a as "foo\\\\bar\\\\baz" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the "localIdentHashFunction" option: result 1`] = `
+[
+ [
+ "./modules/localIdentName/localIdentName.css",
+ ".test--ddd414ab5d5137709283 {
+ background: red;
+}
+
+._test--e91d3d0c5fd37cd4b01b {
+ background: blue;
+}
+
+.className--e02e6f829b2bee39d627 {
+ background: red;
+}
+
+#someId--de52fa8c46db92b11447 {
+ background: green;
+}
+
+.className--e02e6f829b2bee39d627 .subClass--be91981b36e10e364e4c {
+ color: green;
+}
+
+#someId--de52fa8c46db92b11447 .subClass--be91981b36e10e364e4c {
+ color: blue;
+}
+
+.-a0-34a___f--da00a255d4f26816d790 {
+ color: red;
+}
+
+.m_x_\\@--bfd2a88024baab94215a {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.B\\&W\\?--bdeaa204fa06e193156e {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\`(" */
+.\\3A \\\`\\(--ca761b17eca1ae06d42e {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.\\31 a2b3c--a35141d9affd245508ec {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#\\#fake-id--ad040e49adcf9ebf2b28 {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#-a-b-c---e778be7522ccfc908a7f {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#©--e0f3ca20d394f3e4c0c4 {
+ color: black;
+}
+
+.♥--a33350b333a80f1b1a5b { background: lime; }
+.©--e0f3ca20d394f3e4c0c4 { background: lime; }
+.😍--c0436529b39516386e8e { background: lime; }
+.“‘’”--e70e1ad7759d3f300df8 { background: lime; }
+.☺☃--a0cb57576a5c7938d368 { background: lime; }
+.⌘⌥--e217e979d1184a514863 { background: lime; }
+.𝄞♪♩♫♬--a84ff99d334be3b94b99 { background: lime; }
+.💩--d850ae0fa2bc4c199f78 { background: lime; }
+.\\?--ce25d6e6d5d3f7f1caf8 { background: lime; }
+.\\@--af4ac041e6ccf6398ff5 { background: lime; }
+.\\.--e94958877c738509339f { background: lime; }
+.\\3A \\)--c80360aed4da410414fc { background: lime; }
+.\\3A \\\`\\(--ca761b17eca1ae06d42e { background: lime; }
+.\\31 23--c945113ffceee32ec307 { background: lime; }
+.\\31 a2b3c--a35141d9affd245508ec { background: lime; }
+.\\
--b01c44339fab06966cef { background: lime; }
+.\\<\\>\\<\\<\\<\\>\\>\\<\\>--e4fde695b6d3728c37e2 { background: lime; }
+.\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\[\\>\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\>\\+\\<\\<\\<\\<\\-\\]\\>\\+\\+\\.\\>\\+\\.\\+\\+\\+\\+\\+\\+\\+\\.\\.\\+\\+\\+\\.\\>\\+\\+\\.\\<\\<\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\.\\>\\.\\+\\+\\+\\.\\-\\-\\-\\-\\-\\-\\.\\-\\-\\-\\-\\-\\-\\-\\-\\.\\>\\+\\.\\>\\.--dd1263b9248633b49ab6 { background: lime; }
+.\\#--e135fb99b5f04b604132 { background: lime; }
+.\\#\\#--ba6fb20eb138e8d73dc4 { background: lime; }
+.\\#\\.\\#\\.\\#--a6704dcf2abf08ff56bd { background: lime; }
+.\\_--aa2521adbafa6a1b57d0 { background: lime; }
+.\\{\\}--c716be70a0fac8bbc9e8 { background: lime; }
+.\\#fake\\-id--ad040e49adcf9ebf2b28 { background: lime; }
+.foo\\.bar--ce58180c03c903fcc73c { background: lime; }
+.\\3A hover--defde77234f3cb7141b1 { background: lime; }
+.\\3A hover\\3A focus\\3A active--cf83606abd36c7adf7e7 { background: lime; }
+.\\[attr\\=value\\]--c9620f5e0b4a2472cd5a { background: lime; }
+.f\\/o\\/o--d439f5313663238836bb { background: lime; }
+.f\\\\o\\\\o--f64285b41af14c5e74b5 { background: lime; }
+.f\\*o\\*o--e844a318c45519219501 { background: lime; }
+.f\\!o\\!o--ae46ad5331777ab05875 { background: lime; }
+.f\\'o\\'o--a23d7b9b14b04706b089 { background: lime; }
+.f\\~o\\~o--cc96b7a27dbd52fba7a5 { background: lime; }
+.f\\+o\\+o--debcf9986b3f64af6af9 { background: lime; }
+
+.foo\\/bar--d76ec2006d8359a0df78 {
+ background: hotpink;
+}
+
+.foo\\\\bar--c17737aec664275b67b0 {
+ background: hotpink;
+}
+
+.foo\\/bar\\/baz--c948ac137924110011f2 {
+ background: hotpink;
+}
+
+.foo\\\\bar\\\\baz--ee89c9e938e6eb8df43d {
+ background: hotpink;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the "localIdentHashFunction" option: result 2`] = `
+[
+ [
+ "./modules/localIdentName/localIdentName.css",
+ ".test--KuIShlgsYf {
+ background: red;
+}
+
+._test--Lb3fhDAuJv {
+ background: blue;
+}
+
+.className--LdhpkZRWyK {
+ background: red;
+}
+
+#someId--b0rhwJStMR {
+ background: green;
+}
+
+.className--LdhpkZRWyK .subClass--Mw9j4nIdjx {
+ color: green;
+}
+
+#someId--b0rhwJStMR .subClass--Mw9j4nIdjx {
+ color: blue;
+}
+
+.-a0-34a___f--DdFWMPoluI {
+ color: red;
+}
+
+.m_x_\\@--OdAmghrme3 {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.B\\&W\\?--h4SEF34CLw {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\`(" */
+.\\3A \\\`\\(--fKJQkLarfQ {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.\\31 a2b3c--YR1u_buYf6 {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#\\#fake-id--AqiAGSfnwa {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#-a-b-c---CwXv27VMwy {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#©--jBj0sZiWBy {
+ color: black;
+}
+
+.♥--vJl9A9Ds21 { background: lime; }
+.©--jBj0sZiWBy { background: lime; }
+.😍--CNLr9yJwqs { background: lime; }
+.“‘’”--GM0Y0nFCPt { background: lime; }
+.☺☃--NKrBw7EAqP { background: lime; }
+.⌘⌥--edHWpSne18 { background: lime; }
+.𝄞♪♩♫♬--QyMp9YMEoY { background: lime; }
+.💩--B82YxwgREH { background: lime; }
+.\\?--ndmpvNNltJ { background: lime; }
+.\\@--v3gq0wPogd { background: lime; }
+.\\.--zd5uIZq6Kr { background: lime; }
+.\\3A \\)--ZiZnRjRT03 { background: lime; }
+.\\3A \\\`\\(--fKJQkLarfQ { background: lime; }
+.\\31 23--oqRGsO4UR7 { background: lime; }
+.\\31 a2b3c--YR1u_buYf6 { background: lime; }
+.\\
--TdAx2ZSkw7 { background: lime; }
+.\\<\\>\\<\\<\\<\\>\\>\\<\\>--ozNsTIG0LL { background: lime; }
+.\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\[\\>\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\>\\+\\<\\<\\<\\<\\-\\]\\>\\+\\+\\.\\>\\+\\.\\+\\+\\+\\+\\+\\+\\+\\.\\.\\+\\+\\+\\.\\>\\+\\+\\.\\<\\<\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\.\\>\\.\\+\\+\\+\\.\\-\\-\\-\\-\\-\\-\\.\\-\\-\\-\\-\\-\\-\\-\\-\\.\\>\\+\\.\\>\\.--ByKoYcSrMT { background: lime; }
+.\\#--HkwIsjW5i7 { background: lime; }
+.\\#\\#--IJc6Xl4ZKV { background: lime; }
+.\\#\\.\\#\\.\\#--BnPpnJmPeN { background: lime; }
+.\\_--bCwkZEDuxD { background: lime; }
+.\\{\\}--IZkBfE9iUP { background: lime; }
+.\\#fake\\-id--AqiAGSfnwa { background: lime; }
+.foo\\.bar--uajo7mHzD_ { background: lime; }
+.\\3A hover--HVudUNXnLN { background: lime; }
+.\\3A hover\\3A focus\\3A active--ZlaaXvHLUs { background: lime; }
+.\\[attr\\=value\\]--PWvC4jVM5S { background: lime; }
+.f\\/o\\/o--A5l5sDODF4 { background: lime; }
+.f\\\\o\\\\o--DFfh4KyqOO { background: lime; }
+.f\\*o\\*o--gv1E2n_bVv { background: lime; }
+.f\\!o\\!o--_aIyR9ETAs { background: lime; }
+.f\\'o\\'o--HSXNnSjt1Q { background: lime; }
+.f\\~o\\~o--MrVzSIcSXy { background: lime; }
+.f\\+o\\+o--EvMHRmCudy { background: lime; }
+
+.foo\\/bar--hei2uQgDeX {
+ background: hotpink;
+}
+
+.foo\\\\bar--IgSzmmsCqi {
+ background: hotpink;
+}
+
+.foo\\/bar\\/baz--p6KJMhNWwm {
+ background: hotpink;
+}
+
+.foo\\\\bar\\\\baz--HZerWgmU0f {
+ background: hotpink;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the "localIdentHashFunction" option: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "localIdentHashFunction" option: warnings 2`] = `[]`;
+
+exports[`"modules" option should work and respect the "localIdentName" option 2: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "localIdentName" option 2: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.localIdentName--test--aa7e9 {
+ background: red;
+}
+
+.localIdentName--_test--c6a38 {
+ background: blue;
+}
+
+.localIdentName--className--ae4cd {
+ background: red;
+}
+
+#localIdentName--someId--a747a {
+ background: green;
+}
+
+.localIdentName--className--ae4cd .localIdentName--subClass--bf463 {
+ color: green;
+}
+
+#localIdentName--someId--a747a .localIdentName--subClass--bf463 {
+ color: blue;
+}
+
+.localIdentName---a0-34a___f--d3488 {
+ color: red;
+}
+
+.localIdentName--m_x_\\\\@--ff0d5 {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.localIdentName--B\\\\&W\\\\?--f7662 {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\\\`(" */
+.localIdentName--\\\\3A \\\\\\\`\\\\(--d3744 {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.localIdentName--\\\\31 a2b3c--c4cbc {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#localIdentName--\\\\#fake-id--e42a4 {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#localIdentName---a-b-c---e4b0f {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#localIdentName--©--c3e22 {
+ color: black;
+}
+
+.localIdentName--♥--a47a2 { background: lime; }
+.localIdentName--©--c3e22 { background: lime; }
+.localIdentName--😍--f0c92 { background: lime; }
+.localIdentName--“‘’”--ca0fd { background: lime; }
+.localIdentName--☺☃--f9c8b { background: lime; }
+.localIdentName--⌘⌥--b3cde { background: lime; }
+.localIdentName--𝄞♪♩♫♬--d2c20 { background: lime; }
+.localIdentName--💩--f7356 { background: lime; }
+.localIdentName--\\\\?--d9503 { background: lime; }
+.localIdentName--\\\\@--b2fac { background: lime; }
+.localIdentName--\\\\.--fd361 { background: lime; }
+.localIdentName--\\\\3A \\\\)--c58a4 { background: lime; }
+.localIdentName--\\\\3A \\\\\\\`\\\\(--d3744 { background: lime; }
+.localIdentName--\\\\31 23--c47e4 { background: lime; }
+.localIdentName--\\\\31 a2b3c--c4cbc { background: lime; }
+.localIdentName--\\\\
--cc129 { background: lime; }
+.localIdentName--\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\>--fcdf9 { background: lime; }
+.localIdentName--\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\.--fec05 { background: lime; }
+.localIdentName--\\\\#--e36d3 { background: lime; }
+.localIdentName--\\\\#\\\\#--b7f30 { background: lime; }
+.localIdentName--\\\\#\\\\.\\\\#\\\\.\\\\#--a3350 { background: lime; }
+.localIdentName--\\\\_--f2a47 { background: lime; }
+.localIdentName--\\\\{\\\\}--b6deb { background: lime; }
+.localIdentName--\\\\#fake\\\\-id--e42a4 { background: lime; }
+.localIdentName--foo\\\\.bar--e5115 { background: lime; }
+.localIdentName--\\\\3A hover--dd09e { background: lime; }
+.localIdentName--\\\\3A hover\\\\3A focus\\\\3A active--a9185 { background: lime; }
+.localIdentName--\\\\[attr\\\\=value\\\\]--c242f { background: lime; }
+.localIdentName--f\\\\/o\\\\/o--a3967 { background: lime; }
+.localIdentName--f\\\\\\\\o\\\\\\\\o--ec55c { background: lime; }
+.localIdentName--f\\\\*o\\\\*o--f8235 { background: lime; }
+.localIdentName--f\\\\!o\\\\!o--b05e2 { background: lime; }
+.localIdentName--f\\\\'o\\\\'o--e0449 { background: lime; }
+.localIdentName--f\\\\~o\\\\~o--b5a43 { background: lime; }
+.localIdentName--f\\\\+o\\\\+o--e002f { background: lime; }
+
+.localIdentName--foo\\\\/bar--e3f1a {
+ background: hotpink;
+}
+
+.localIdentName--foo\\\\\\\\bar--ac6d2 {
+ background: hotpink;
+}
+
+.localIdentName--foo\\\\/bar\\\\/baz--c78d7 {
+ background: hotpink;
+}
+
+.localIdentName--foo\\\\\\\\bar\\\\\\\\baz--f235d {
+ background: hotpink;
+}
+\`, ""]);
+// Exports
+var _1 = \`localIdentName--123--c47e4\`;
+export { _1 as "123" };
+export var test = \`localIdentName--test--aa7e9\`;
+export var _test = \`localIdentName--_test--c6a38\`;
+export var className = \`localIdentName--className--ae4cd\`;
+export var someId = \`localIdentName--someId--a747a\`;
+export var subClass = \`localIdentName--subClass--bf463\`;
+var _2 = \`localIdentName---a0-34a___f--d3488\`;
+export { _2 as "-a0-34a___f" };
+var _3 = \`localIdentName--m_x_@--ff0d5\`;
+export { _3 as "m_x_@" };
+var _4 = \`localIdentName--B&W?--f7662\`;
+export { _4 as "B&W?" };
+var _5 = \`localIdentName--:\\\`(--d3744\`;
+export { _5 as ":\`(" };
+var _6 = \`localIdentName--1a2b3c--c4cbc\`;
+export { _6 as "1a2b3c" };
+var _7 = \`localIdentName--#fake-id--e42a4\`;
+export { _7 as "#fake-id" };
+var _8 = \`localIdentName---a-b-c---e4b0f\`;
+export { _8 as "-a-b-c-" };
+var _9 = \`localIdentName--©--c3e22\`;
+export { _9 as "©" };
+var _a = \`localIdentName--♥--a47a2\`;
+export { _a as "♥" };
+var _b = \`localIdentName--😍--f0c92\`;
+export { _b as "😍" };
+var _c = \`localIdentName--“‘’”--ca0fd\`;
+export { _c as "“‘’”" };
+var _d = \`localIdentName--☺☃--f9c8b\`;
+export { _d as "☺☃" };
+var _e = \`localIdentName--⌘⌥--b3cde\`;
+export { _e as "⌘⌥" };
+var _f = \`localIdentName--𝄞♪♩♫♬--d2c20\`;
+export { _f as "𝄞♪♩♫♬" };
+var _10 = \`localIdentName--💩--f7356\`;
+export { _10 as "💩" };
+var _11 = \`localIdentName--?--d9503\`;
+export { _11 as "?" };
+var _12 = \`localIdentName--@--b2fac\`;
+export { _12 as "@" };
+var _13 = \`localIdentName--.--fd361\`;
+export { _13 as "." };
+var _14 = \`localIdentName--:)--c58a4\`;
+export { _14 as ":)" };
+var _15 = \`localIdentName--
--cc129\`;
+export { _15 as "
" };
+var _16 = \`localIdentName--<><<<>><>--fcdf9\`;
+export { _16 as "<><<<>><>" };
+var _17 = \`localIdentName--++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.--fec05\`;
+export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." };
+var _18 = \`localIdentName--#--e36d3\`;
+export { _18 as "#" };
+var _19 = \`localIdentName--##--b7f30\`;
+export { _19 as "##" };
+var _1a = \`localIdentName--#.#.#--a3350\`;
+export { _1a as "#.#.#" };
+export var _ = \`localIdentName--_--f2a47\`;
+var _1b = \`localIdentName--{}--b6deb\`;
+export { _1b as "{}" };
+var _1c = \`localIdentName--foo.bar--e5115\`;
+export { _1c as "foo.bar" };
+var _1d = \`localIdentName--:hover--dd09e\`;
+export { _1d as ":hover" };
+var _1e = \`localIdentName--:hover:focus:active--a9185\`;
+export { _1e as ":hover:focus:active" };
+var _1f = \`localIdentName--[attr=value]--c242f\`;
+export { _1f as "[attr=value]" };
+var _20 = \`localIdentName--f/o/o--a3967\`;
+export { _20 as "f/o/o" };
+var _21 = \`localIdentName--f\\\\o\\\\o--ec55c\`;
+export { _21 as "f\\\\o\\\\o" };
+var _22 = \`localIdentName--f*o*o--f8235\`;
+export { _22 as "f*o*o" };
+var _23 = \`localIdentName--f!o!o--b05e2\`;
+export { _23 as "f!o!o" };
+var _24 = \`localIdentName--f'o'o--e0449\`;
+export { _24 as "f'o'o" };
+var _25 = \`localIdentName--f~o~o--b5a43\`;
+export { _25 as "f~o~o" };
+var _26 = \`localIdentName--f+o+o--e002f\`;
+export { _26 as "f+o+o" };
+var _27 = \`localIdentName--foo/bar--e3f1a\`;
+export { _27 as "foo/bar" };
+var _28 = \`localIdentName--foo\\\\bar--ac6d2\`;
+export { _28 as "foo\\\\bar" };
+var _29 = \`localIdentName--foo/bar/baz--c78d7\`;
+export { _29 as "foo/bar/baz" };
+var _2a = \`localIdentName--foo\\\\bar\\\\baz--f235d\`;
+export { _2a as "foo\\\\bar\\\\baz" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the "localIdentName" option 2: result 1`] = `
+[
+ [
+ "./modules/localIdentName/localIdentName.css",
+ ".localIdentName--test--aa7e9 {
+ background: red;
+}
+
+.localIdentName--_test--c6a38 {
+ background: blue;
+}
+
+.localIdentName--className--ae4cd {
+ background: red;
+}
+
+#localIdentName--someId--a747a {
+ background: green;
+}
+
+.localIdentName--className--ae4cd .localIdentName--subClass--bf463 {
+ color: green;
+}
+
+#localIdentName--someId--a747a .localIdentName--subClass--bf463 {
+ color: blue;
+}
+
+.localIdentName---a0-34a___f--d3488 {
+ color: red;
+}
+
+.localIdentName--m_x_\\@--ff0d5 {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.localIdentName--B\\&W\\?--f7662 {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\`(" */
+.localIdentName--\\3A \\\`\\(--d3744 {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.localIdentName--\\31 a2b3c--c4cbc {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#localIdentName--\\#fake-id--e42a4 {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#localIdentName---a-b-c---e4b0f {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#localIdentName--©--c3e22 {
+ color: black;
+}
+
+.localIdentName--♥--a47a2 { background: lime; }
+.localIdentName--©--c3e22 { background: lime; }
+.localIdentName--😍--f0c92 { background: lime; }
+.localIdentName--“‘’”--ca0fd { background: lime; }
+.localIdentName--☺☃--f9c8b { background: lime; }
+.localIdentName--⌘⌥--b3cde { background: lime; }
+.localIdentName--𝄞♪♩♫♬--d2c20 { background: lime; }
+.localIdentName--💩--f7356 { background: lime; }
+.localIdentName--\\?--d9503 { background: lime; }
+.localIdentName--\\@--b2fac { background: lime; }
+.localIdentName--\\.--fd361 { background: lime; }
+.localIdentName--\\3A \\)--c58a4 { background: lime; }
+.localIdentName--\\3A \\\`\\(--d3744 { background: lime; }
+.localIdentName--\\31 23--c47e4 { background: lime; }
+.localIdentName--\\31 a2b3c--c4cbc { background: lime; }
+.localIdentName--\\
--cc129 { background: lime; }
+.localIdentName--\\<\\>\\<\\<\\<\\>\\>\\<\\>--fcdf9 { background: lime; }
+.localIdentName--\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\[\\>\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\>\\+\\<\\<\\<\\<\\-\\]\\>\\+\\+\\.\\>\\+\\.\\+\\+\\+\\+\\+\\+\\+\\.\\.\\+\\+\\+\\.\\>\\+\\+\\.\\<\\<\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\.\\>\\.\\+\\+\\+\\.\\-\\-\\-\\-\\-\\-\\.\\-\\-\\-\\-\\-\\-\\-\\-\\.\\>\\+\\.\\>\\.--fec05 { background: lime; }
+.localIdentName--\\#--e36d3 { background: lime; }
+.localIdentName--\\#\\#--b7f30 { background: lime; }
+.localIdentName--\\#\\.\\#\\.\\#--a3350 { background: lime; }
+.localIdentName--\\_--f2a47 { background: lime; }
+.localIdentName--\\{\\}--b6deb { background: lime; }
+.localIdentName--\\#fake\\-id--e42a4 { background: lime; }
+.localIdentName--foo\\.bar--e5115 { background: lime; }
+.localIdentName--\\3A hover--dd09e { background: lime; }
+.localIdentName--\\3A hover\\3A focus\\3A active--a9185 { background: lime; }
+.localIdentName--\\[attr\\=value\\]--c242f { background: lime; }
+.localIdentName--f\\/o\\/o--a3967 { background: lime; }
+.localIdentName--f\\\\o\\\\o--ec55c { background: lime; }
+.localIdentName--f\\*o\\*o--f8235 { background: lime; }
+.localIdentName--f\\!o\\!o--b05e2 { background: lime; }
+.localIdentName--f\\'o\\'o--e0449 { background: lime; }
+.localIdentName--f\\~o\\~o--b5a43 { background: lime; }
+.localIdentName--f\\+o\\+o--e002f { background: lime; }
+
+.localIdentName--foo\\/bar--e3f1a {
+ background: hotpink;
+}
+
+.localIdentName--foo\\\\bar--ac6d2 {
+ background: hotpink;
+}
+
+.localIdentName--foo\\/bar\\/baz--c78d7 {
+ background: hotpink;
+}
+
+.localIdentName--foo\\\\bar\\\\baz--f235d {
+ background: hotpink;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the "localIdentName" option 2: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "localIdentName" option: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "localIdentName" option: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.localIdentName--test--Cqfpw {
+ background: red;
+}
+
+.localIdentName--_test--TGo4R {
+ background: blue;
+}
+
+.localIdentName--className--V3rkz {
+ background: red;
+}
+
+#localIdentName--someId--p0emr {
+ background: green;
+}
+
+.localIdentName--className--V3rkz .localIdentName--subClass--v0YwV {
+ color: green;
+}
+
+#localIdentName--someId--p0emr .localIdentName--subClass--v0YwV {
+ color: blue;
+}
+
+.localIdentName---a0-34a___f--iD7O5 {
+ color: red;
+}
+
+.localIdentName--m_x_\\\\@--RH_w1 {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.localIdentName--B\\\\&W\\\\?--Ag92Y {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\\\`(" */
+.localIdentName--\\\\3A \\\\\\\`\\\\(--ETB9N {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.localIdentName--\\\\31 a2b3c--LEy8b {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#localIdentName--\\\\#fake-id--JOQqQ {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#localIdentName---a-b-c---LD6vZ {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#localIdentName--©--bD4iE {
+ color: black;
+}
+
+.localIdentName--♥--pHooK { background: lime; }
+.localIdentName--©--bD4iE { background: lime; }
+.localIdentName--😍--Mkprj { background: lime; }
+.localIdentName--“‘’”--hsoP1 { background: lime; }
+.localIdentName--☺☃--AERfn { background: lime; }
+.localIdentName--⌘⌥--s83tE { background: lime; }
+.localIdentName--𝄞♪♩♫♬--sIO5d { background: lime; }
+.localIdentName--💩--zVi6s { background: lime; }
+.localIdentName--\\\\?--N9lQN { background: lime; }
+.localIdentName--\\\\@--SysYq { background: lime; }
+.localIdentName--\\\\.--_TYYa { background: lime; }
+.localIdentName--\\\\3A \\\\)--TFikf { background: lime; }
+.localIdentName--\\\\3A \\\\\\\`\\\\(--ETB9N { background: lime; }
+.localIdentName--\\\\31 23--DEfkS { background: lime; }
+.localIdentName--\\\\31 a2b3c--LEy8b { background: lime; }
+.localIdentName--\\\\
--nMEpp { background: lime; }
+.localIdentName--\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\>--cGH83 { background: lime; }
+.localIdentName--\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\.--_sBaA { background: lime; }
+.localIdentName--\\\\#--Ig420 { background: lime; }
+.localIdentName--\\\\#\\\\#--t_MNC { background: lime; }
+.localIdentName--\\\\#\\\\.\\\\#\\\\.\\\\#--ozULn { background: lime; }
+.localIdentName--\\\\_--qR0Vn { background: lime; }
+.localIdentName--\\\\{\\\\}--tt66I { background: lime; }
+.localIdentName--\\\\#fake\\\\-id--JOQqQ { background: lime; }
+.localIdentName--foo\\\\.bar--RFVWf { background: lime; }
+.localIdentName--\\\\3A hover--QnhAB { background: lime; }
+.localIdentName--\\\\3A hover\\\\3A focus\\\\3A active--qRhRp { background: lime; }
+.localIdentName--\\\\[attr\\\\=value\\\\]--wkL_Q { background: lime; }
+.localIdentName--f\\\\/o\\\\/o--KDSjl { background: lime; }
+.localIdentName--f\\\\\\\\o\\\\\\\\o--LsVcY { background: lime; }
+.localIdentName--f\\\\*o\\\\*o--CNQow { background: lime; }
+.localIdentName--f\\\\!o\\\\!o--eUsF4 { background: lime; }
+.localIdentName--f\\\\'o\\\\'o--ESWns { background: lime; }
+.localIdentName--f\\\\~o\\\\~o--taQ7D { background: lime; }
+.localIdentName--f\\\\+o\\\\+o--AL7FE { background: lime; }
+
+.localIdentName--foo\\\\/bar--GOPxp {
+ background: hotpink;
+}
+
+.localIdentName--foo\\\\\\\\bar--chesb {
+ background: hotpink;
+}
+
+.localIdentName--foo\\\\/bar\\\\/baz--QMeNd {
+ background: hotpink;
+}
+
+.localIdentName--foo\\\\\\\\bar\\\\\\\\baz--jXaak {
+ background: hotpink;
+}
+\`, ""]);
+// Exports
+var _1 = \`localIdentName--123--DEfkS\`;
+export { _1 as "123" };
+export var test = \`localIdentName--test--Cqfpw\`;
+export var _test = \`localIdentName--_test--TGo4R\`;
+export var className = \`localIdentName--className--V3rkz\`;
+export var someId = \`localIdentName--someId--p0emr\`;
+export var subClass = \`localIdentName--subClass--v0YwV\`;
+var _2 = \`localIdentName---a0-34a___f--iD7O5\`;
+export { _2 as "-a0-34a___f" };
+var _3 = \`localIdentName--m_x_@--RH_w1\`;
+export { _3 as "m_x_@" };
+var _4 = \`localIdentName--B&W?--Ag92Y\`;
+export { _4 as "B&W?" };
+var _5 = \`localIdentName--:\\\`(--ETB9N\`;
+export { _5 as ":\`(" };
+var _6 = \`localIdentName--1a2b3c--LEy8b\`;
+export { _6 as "1a2b3c" };
+var _7 = \`localIdentName--#fake-id--JOQqQ\`;
+export { _7 as "#fake-id" };
+var _8 = \`localIdentName---a-b-c---LD6vZ\`;
+export { _8 as "-a-b-c-" };
+var _9 = \`localIdentName--©--bD4iE\`;
+export { _9 as "©" };
+var _a = \`localIdentName--♥--pHooK\`;
+export { _a as "♥" };
+var _b = \`localIdentName--😍--Mkprj\`;
+export { _b as "😍" };
+var _c = \`localIdentName--“‘’”--hsoP1\`;
+export { _c as "“‘’”" };
+var _d = \`localIdentName--☺☃--AERfn\`;
+export { _d as "☺☃" };
+var _e = \`localIdentName--⌘⌥--s83tE\`;
+export { _e as "⌘⌥" };
+var _f = \`localIdentName--𝄞♪♩♫♬--sIO5d\`;
+export { _f as "𝄞♪♩♫♬" };
+var _10 = \`localIdentName--💩--zVi6s\`;
+export { _10 as "💩" };
+var _11 = \`localIdentName--?--N9lQN\`;
+export { _11 as "?" };
+var _12 = \`localIdentName--@--SysYq\`;
+export { _12 as "@" };
+var _13 = \`localIdentName--.--_TYYa\`;
+export { _13 as "." };
+var _14 = \`localIdentName--:)--TFikf\`;
+export { _14 as ":)" };
+var _15 = \`localIdentName--
--nMEpp\`;
+export { _15 as "
" };
+var _16 = \`localIdentName--<><<<>><>--cGH83\`;
+export { _16 as "<><<<>><>" };
+var _17 = \`localIdentName--++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.--_sBaA\`;
+export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." };
+var _18 = \`localIdentName--#--Ig420\`;
+export { _18 as "#" };
+var _19 = \`localIdentName--##--t_MNC\`;
+export { _19 as "##" };
+var _1a = \`localIdentName--#.#.#--ozULn\`;
+export { _1a as "#.#.#" };
+export var _ = \`localIdentName--_--qR0Vn\`;
+var _1b = \`localIdentName--{}--tt66I\`;
+export { _1b as "{}" };
+var _1c = \`localIdentName--foo.bar--RFVWf\`;
+export { _1c as "foo.bar" };
+var _1d = \`localIdentName--:hover--QnhAB\`;
+export { _1d as ":hover" };
+var _1e = \`localIdentName--:hover:focus:active--qRhRp\`;
+export { _1e as ":hover:focus:active" };
+var _1f = \`localIdentName--[attr=value]--wkL_Q\`;
+export { _1f as "[attr=value]" };
+var _20 = \`localIdentName--f/o/o--KDSjl\`;
+export { _20 as "f/o/o" };
+var _21 = \`localIdentName--f\\\\o\\\\o--LsVcY\`;
+export { _21 as "f\\\\o\\\\o" };
+var _22 = \`localIdentName--f*o*o--CNQow\`;
+export { _22 as "f*o*o" };
+var _23 = \`localIdentName--f!o!o--eUsF4\`;
+export { _23 as "f!o!o" };
+var _24 = \`localIdentName--f'o'o--ESWns\`;
+export { _24 as "f'o'o" };
+var _25 = \`localIdentName--f~o~o--taQ7D\`;
+export { _25 as "f~o~o" };
+var _26 = \`localIdentName--f+o+o--AL7FE\`;
+export { _26 as "f+o+o" };
+var _27 = \`localIdentName--foo/bar--GOPxp\`;
+export { _27 as "foo/bar" };
+var _28 = \`localIdentName--foo\\\\bar--chesb\`;
+export { _28 as "foo\\\\bar" };
+var _29 = \`localIdentName--foo/bar/baz--QMeNd\`;
+export { _29 as "foo/bar/baz" };
+var _2a = \`localIdentName--foo\\\\bar\\\\baz--jXaak\`;
+export { _2a as "foo\\\\bar\\\\baz" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the "localIdentName" option: result 1`] = `
+[
+ [
+ "./modules/localIdentName/localIdentName.css",
+ ".localIdentName--test--Cqfpw {
+ background: red;
+}
+
+.localIdentName--_test--TGo4R {
+ background: blue;
+}
+
+.localIdentName--className--V3rkz {
+ background: red;
+}
+
+#localIdentName--someId--p0emr {
+ background: green;
+}
+
+.localIdentName--className--V3rkz .localIdentName--subClass--v0YwV {
+ color: green;
+}
+
+#localIdentName--someId--p0emr .localIdentName--subClass--v0YwV {
+ color: blue;
+}
+
+.localIdentName---a0-34a___f--iD7O5 {
+ color: red;
+}
+
+.localIdentName--m_x_\\@--RH_w1 {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.localIdentName--B\\&W\\?--Ag92Y {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\`(" */
+.localIdentName--\\3A \\\`\\(--ETB9N {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.localIdentName--\\31 a2b3c--LEy8b {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#localIdentName--\\#fake-id--JOQqQ {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#localIdentName---a-b-c---LD6vZ {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#localIdentName--©--bD4iE {
+ color: black;
+}
+
+.localIdentName--♥--pHooK { background: lime; }
+.localIdentName--©--bD4iE { background: lime; }
+.localIdentName--😍--Mkprj { background: lime; }
+.localIdentName--“‘’”--hsoP1 { background: lime; }
+.localIdentName--☺☃--AERfn { background: lime; }
+.localIdentName--⌘⌥--s83tE { background: lime; }
+.localIdentName--𝄞♪♩♫♬--sIO5d { background: lime; }
+.localIdentName--💩--zVi6s { background: lime; }
+.localIdentName--\\?--N9lQN { background: lime; }
+.localIdentName--\\@--SysYq { background: lime; }
+.localIdentName--\\.--_TYYa { background: lime; }
+.localIdentName--\\3A \\)--TFikf { background: lime; }
+.localIdentName--\\3A \\\`\\(--ETB9N { background: lime; }
+.localIdentName--\\31 23--DEfkS { background: lime; }
+.localIdentName--\\31 a2b3c--LEy8b { background: lime; }
+.localIdentName--\\
--nMEpp { background: lime; }
+.localIdentName--\\<\\>\\<\\<\\<\\>\\>\\<\\>--cGH83 { background: lime; }
+.localIdentName--\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\[\\>\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\>\\+\\<\\<\\<\\<\\-\\]\\>\\+\\+\\.\\>\\+\\.\\+\\+\\+\\+\\+\\+\\+\\.\\.\\+\\+\\+\\.\\>\\+\\+\\.\\<\\<\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\.\\>\\.\\+\\+\\+\\.\\-\\-\\-\\-\\-\\-\\.\\-\\-\\-\\-\\-\\-\\-\\-\\.\\>\\+\\.\\>\\.--_sBaA { background: lime; }
+.localIdentName--\\#--Ig420 { background: lime; }
+.localIdentName--\\#\\#--t_MNC { background: lime; }
+.localIdentName--\\#\\.\\#\\.\\#--ozULn { background: lime; }
+.localIdentName--\\_--qR0Vn { background: lime; }
+.localIdentName--\\{\\}--tt66I { background: lime; }
+.localIdentName--\\#fake\\-id--JOQqQ { background: lime; }
+.localIdentName--foo\\.bar--RFVWf { background: lime; }
+.localIdentName--\\3A hover--QnhAB { background: lime; }
+.localIdentName--\\3A hover\\3A focus\\3A active--qRhRp { background: lime; }
+.localIdentName--\\[attr\\=value\\]--wkL_Q { background: lime; }
+.localIdentName--f\\/o\\/o--KDSjl { background: lime; }
+.localIdentName--f\\\\o\\\\o--LsVcY { background: lime; }
+.localIdentName--f\\*o\\*o--CNQow { background: lime; }
+.localIdentName--f\\!o\\!o--eUsF4 { background: lime; }
+.localIdentName--f\\'o\\'o--ESWns { background: lime; }
+.localIdentName--f\\~o\\~o--taQ7D { background: lime; }
+.localIdentName--f\\+o\\+o--AL7FE { background: lime; }
+
+.localIdentName--foo\\/bar--GOPxp {
+ background: hotpink;
+}
+
+.localIdentName--foo\\\\bar--chesb {
+ background: hotpink;
+}
+
+.localIdentName--foo\\/bar\\/baz--QMeNd {
+ background: hotpink;
+}
+
+.localIdentName--foo\\\\bar\\\\baz--jXaak {
+ background: hotpink;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the "localIdentName" option: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "localIdentRegExp" option: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "localIdentRegExp" option: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.localIdentName__test__KuIShlgs {
+ background: red;
+}
+
+.localIdentName___test__Lb3fhDAu {
+ background: blue;
+}
+
+.localIdentName__className__LdhpkZRW {
+ background: red;
+}
+
+#localIdentName__someId__b0rhwJSt {
+ background: green;
+}
+
+.localIdentName__className__LdhpkZRW .localIdentName__subClass__Mw9j4nId {
+ color: green;
+}
+
+#localIdentName__someId__b0rhwJSt .localIdentName__subClass__Mw9j4nId {
+ color: blue;
+}
+
+.localIdentName__-a0-34a___f__DdFWMPol {
+ color: red;
+}
+
+.localIdentName__m_x_\\\\@__OdAmghrm {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.localIdentName__B\\\\&W\\\\?__h4SEF34C {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\\\`(" */
+.localIdentName__\\\\3A \\\\\\\`\\\\(__fKJQkLar {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.localIdentName__\\\\31 a2b3c__YR1u_buY {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#localIdentName__\\\\#fake-id__AqiAGSfn {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#localIdentName__-a-b-c-__CwXv27VM {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#localIdentName__©__jBj0sZiW {
+ color: black;
+}
+
+.localIdentName__♥__vJl9A9Ds { background: lime; }
+.localIdentName__©__jBj0sZiW { background: lime; }
+.localIdentName__😍__CNLr9yJw { background: lime; }
+.localIdentName__“‘’”__GM0Y0nFC { background: lime; }
+.localIdentName__☺☃__NKrBw7EA { background: lime; }
+.localIdentName__⌘⌥__edHWpSne { background: lime; }
+.localIdentName__𝄞♪♩♫♬__QyMp9YME { background: lime; }
+.localIdentName__💩__B82YxwgR { background: lime; }
+.localIdentName__\\\\?__ndmpvNNl { background: lime; }
+.localIdentName__\\\\@__v3gq0wPo { background: lime; }
+.localIdentName__\\\\.__zd5uIZq6 { background: lime; }
+.localIdentName__\\\\3A \\\\)__ZiZnRjRT { background: lime; }
+.localIdentName__\\\\3A \\\\\\\`\\\\(__fKJQkLar { background: lime; }
+.localIdentName__\\\\31 23__oqRGsO4U { background: lime; }
+.localIdentName__\\\\31 a2b3c__YR1u_buY { background: lime; }
+.localIdentName__\\\\
__TdAx2ZSk { background: lime; }
+.localIdentName__\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\>__ozNsTIG0 { background: lime; }
+.localIdentName__\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\.__ByKoYcSr { background: lime; }
+.localIdentName__\\\\#__HkwIsjW5 { background: lime; }
+.localIdentName__\\\\#\\\\#__IJc6Xl4Z { background: lime; }
+.localIdentName__\\\\#\\\\.\\\\#\\\\.\\\\#__BnPpnJmP { background: lime; }
+.localIdentName__\\\\___bCwkZEDu { background: lime; }
+.localIdentName__\\\\{\\\\}__IZkBfE9i { background: lime; }
+.localIdentName__\\\\#fake\\\\-id__AqiAGSfn { background: lime; }
+.localIdentName__foo\\\\.bar__uajo7mHz { background: lime; }
+.localIdentName__\\\\3A hover__HVudUNXn { background: lime; }
+.localIdentName__\\\\3A hover\\\\3A focus\\\\3A active__ZlaaXvHL { background: lime; }
+.localIdentName__\\\\[attr\\\\=value\\\\]__PWvC4jVM { background: lime; }
+.localIdentName__f\\\\/o\\\\/o__A5l5sDOD { background: lime; }
+.localIdentName__f\\\\\\\\o\\\\\\\\o__DFfh4Kyq { background: lime; }
+.localIdentName__f\\\\*o\\\\*o__gv1E2n_b { background: lime; }
+.localIdentName__f\\\\!o\\\\!o___aIyR9ET { background: lime; }
+.localIdentName__f\\\\'o\\\\'o__HSXNnSjt { background: lime; }
+.localIdentName__f\\\\~o\\\\~o__MrVzSIcS { background: lime; }
+.localIdentName__f\\\\+o\\\\+o__EvMHRmCu { background: lime; }
+
+.localIdentName__foo\\\\/bar__hei2uQgD {
+ background: hotpink;
+}
+
+.localIdentName__foo\\\\\\\\bar__IgSzmmsC {
+ background: hotpink;
+}
+
+.localIdentName__foo\\\\/bar\\\\/baz__p6KJMhNW {
+ background: hotpink;
+}
+
+.localIdentName__foo\\\\\\\\bar\\\\\\\\baz__HZerWgmU {
+ background: hotpink;
+}
+\`, ""]);
+// Exports
+var _1 = \`localIdentName__123__oqRGsO4U\`;
+export { _1 as "123" };
+export var test = \`localIdentName__test__KuIShlgs\`;
+export var _test = \`localIdentName___test__Lb3fhDAu\`;
+export var className = \`localIdentName__className__LdhpkZRW\`;
+export var someId = \`localIdentName__someId__b0rhwJSt\`;
+export var subClass = \`localIdentName__subClass__Mw9j4nId\`;
+var _2 = \`localIdentName__-a0-34a___f__DdFWMPol\`;
+export { _2 as "-a0-34a___f" };
+var _3 = \`localIdentName__m_x_@__OdAmghrm\`;
+export { _3 as "m_x_@" };
+var _4 = \`localIdentName__B&W?__h4SEF34C\`;
+export { _4 as "B&W?" };
+var _5 = \`localIdentName__:\\\`(__fKJQkLar\`;
+export { _5 as ":\`(" };
+var _6 = \`localIdentName__1a2b3c__YR1u_buY\`;
+export { _6 as "1a2b3c" };
+var _7 = \`localIdentName__#fake-id__AqiAGSfn\`;
+export { _7 as "#fake-id" };
+var _8 = \`localIdentName__-a-b-c-__CwXv27VM\`;
+export { _8 as "-a-b-c-" };
+var _9 = \`localIdentName__©__jBj0sZiW\`;
+export { _9 as "©" };
+var _a = \`localIdentName__♥__vJl9A9Ds\`;
+export { _a as "♥" };
+var _b = \`localIdentName__😍__CNLr9yJw\`;
+export { _b as "😍" };
+var _c = \`localIdentName__“‘’”__GM0Y0nFC\`;
+export { _c as "“‘’”" };
+var _d = \`localIdentName__☺☃__NKrBw7EA\`;
+export { _d as "☺☃" };
+var _e = \`localIdentName__⌘⌥__edHWpSne\`;
+export { _e as "⌘⌥" };
+var _f = \`localIdentName__𝄞♪♩♫♬__QyMp9YME\`;
+export { _f as "𝄞♪♩♫♬" };
+var _10 = \`localIdentName__💩__B82YxwgR\`;
+export { _10 as "💩" };
+var _11 = \`localIdentName__?__ndmpvNNl\`;
+export { _11 as "?" };
+var _12 = \`localIdentName__@__v3gq0wPo\`;
+export { _12 as "@" };
+var _13 = \`localIdentName__.__zd5uIZq6\`;
+export { _13 as "." };
+var _14 = \`localIdentName__:)__ZiZnRjRT\`;
+export { _14 as ":)" };
+var _15 = \`localIdentName__
__TdAx2ZSk\`;
+export { _15 as "
" };
+var _16 = \`localIdentName__<><<<>><>__ozNsTIG0\`;
+export { _16 as "<><<<>><>" };
+var _17 = \`localIdentName__++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.__ByKoYcSr\`;
+export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." };
+var _18 = \`localIdentName__#__HkwIsjW5\`;
+export { _18 as "#" };
+var _19 = \`localIdentName__##__IJc6Xl4Z\`;
+export { _19 as "##" };
+var _1a = \`localIdentName__#.#.#__BnPpnJmP\`;
+export { _1a as "#.#.#" };
+export var _ = \`localIdentName_____bCwkZEDu\`;
+var _1b = \`localIdentName__{}__IZkBfE9i\`;
+export { _1b as "{}" };
+var _1c = \`localIdentName__foo.bar__uajo7mHz\`;
+export { _1c as "foo.bar" };
+var _1d = \`localIdentName__:hover__HVudUNXn\`;
+export { _1d as ":hover" };
+var _1e = \`localIdentName__:hover:focus:active__ZlaaXvHL\`;
+export { _1e as ":hover:focus:active" };
+var _1f = \`localIdentName__[attr=value]__PWvC4jVM\`;
+export { _1f as "[attr=value]" };
+var _20 = \`localIdentName__f/o/o__A5l5sDOD\`;
+export { _20 as "f/o/o" };
+var _21 = \`localIdentName__f\\\\o\\\\o__DFfh4Kyq\`;
+export { _21 as "f\\\\o\\\\o" };
+var _22 = \`localIdentName__f*o*o__gv1E2n_b\`;
+export { _22 as "f*o*o" };
+var _23 = \`localIdentName__f!o!o___aIyR9ET\`;
+export { _23 as "f!o!o" };
+var _24 = \`localIdentName__f'o'o__HSXNnSjt\`;
+export { _24 as "f'o'o" };
+var _25 = \`localIdentName__f~o~o__MrVzSIcS\`;
+export { _25 as "f~o~o" };
+var _26 = \`localIdentName__f+o+o__EvMHRmCu\`;
+export { _26 as "f+o+o" };
+var _27 = \`localIdentName__foo/bar__hei2uQgD\`;
+export { _27 as "foo/bar" };
+var _28 = \`localIdentName__foo\\\\bar__IgSzmmsC\`;
+export { _28 as "foo\\\\bar" };
+var _29 = \`localIdentName__foo/bar/baz__p6KJMhNW\`;
+export { _29 as "foo/bar/baz" };
+var _2a = \`localIdentName__foo\\\\bar\\\\baz__HZerWgmU\`;
+export { _2a as "foo\\\\bar\\\\baz" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the "localIdentRegExp" option: result 1`] = `
+[
+ [
+ "./modules/localIdentName/localIdentName.css",
+ ".localIdentName__test__KuIShlgs {
+ background: red;
+}
+
+.localIdentName___test__Lb3fhDAu {
+ background: blue;
+}
+
+.localIdentName__className__LdhpkZRW {
+ background: red;
+}
+
+#localIdentName__someId__b0rhwJSt {
+ background: green;
+}
+
+.localIdentName__className__LdhpkZRW .localIdentName__subClass__Mw9j4nId {
+ color: green;
+}
+
+#localIdentName__someId__b0rhwJSt .localIdentName__subClass__Mw9j4nId {
+ color: blue;
+}
+
+.localIdentName__-a0-34a___f__DdFWMPol {
+ color: red;
+}
+
+.localIdentName__m_x_\\@__OdAmghrm {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.localIdentName__B\\&W\\?__h4SEF34C {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\`(" */
+.localIdentName__\\3A \\\`\\(__fKJQkLar {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.localIdentName__\\31 a2b3c__YR1u_buY {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#localIdentName__\\#fake-id__AqiAGSfn {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#localIdentName__-a-b-c-__CwXv27VM {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#localIdentName__©__jBj0sZiW {
+ color: black;
+}
+
+.localIdentName__♥__vJl9A9Ds { background: lime; }
+.localIdentName__©__jBj0sZiW { background: lime; }
+.localIdentName__😍__CNLr9yJw { background: lime; }
+.localIdentName__“‘’”__GM0Y0nFC { background: lime; }
+.localIdentName__☺☃__NKrBw7EA { background: lime; }
+.localIdentName__⌘⌥__edHWpSne { background: lime; }
+.localIdentName__𝄞♪♩♫♬__QyMp9YME { background: lime; }
+.localIdentName__💩__B82YxwgR { background: lime; }
+.localIdentName__\\?__ndmpvNNl { background: lime; }
+.localIdentName__\\@__v3gq0wPo { background: lime; }
+.localIdentName__\\.__zd5uIZq6 { background: lime; }
+.localIdentName__\\3A \\)__ZiZnRjRT { background: lime; }
+.localIdentName__\\3A \\\`\\(__fKJQkLar { background: lime; }
+.localIdentName__\\31 23__oqRGsO4U { background: lime; }
+.localIdentName__\\31 a2b3c__YR1u_buY { background: lime; }
+.localIdentName__\\
__TdAx2ZSk { background: lime; }
+.localIdentName__\\<\\>\\<\\<\\<\\>\\>\\<\\>__ozNsTIG0 { background: lime; }
+.localIdentName__\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\[\\>\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\>\\+\\<\\<\\<\\<\\-\\]\\>\\+\\+\\.\\>\\+\\.\\+\\+\\+\\+\\+\\+\\+\\.\\.\\+\\+\\+\\.\\>\\+\\+\\.\\<\\<\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\.\\>\\.\\+\\+\\+\\.\\-\\-\\-\\-\\-\\-\\.\\-\\-\\-\\-\\-\\-\\-\\-\\.\\>\\+\\.\\>\\.__ByKoYcSr { background: lime; }
+.localIdentName__\\#__HkwIsjW5 { background: lime; }
+.localIdentName__\\#\\#__IJc6Xl4Z { background: lime; }
+.localIdentName__\\#\\.\\#\\.\\#__BnPpnJmP { background: lime; }
+.localIdentName__\\___bCwkZEDu { background: lime; }
+.localIdentName__\\{\\}__IZkBfE9i { background: lime; }
+.localIdentName__\\#fake\\-id__AqiAGSfn { background: lime; }
+.localIdentName__foo\\.bar__uajo7mHz { background: lime; }
+.localIdentName__\\3A hover__HVudUNXn { background: lime; }
+.localIdentName__\\3A hover\\3A focus\\3A active__ZlaaXvHL { background: lime; }
+.localIdentName__\\[attr\\=value\\]__PWvC4jVM { background: lime; }
+.localIdentName__f\\/o\\/o__A5l5sDOD { background: lime; }
+.localIdentName__f\\\\o\\\\o__DFfh4Kyq { background: lime; }
+.localIdentName__f\\*o\\*o__gv1E2n_b { background: lime; }
+.localIdentName__f\\!o\\!o___aIyR9ET { background: lime; }
+.localIdentName__f\\'o\\'o__HSXNnSjt { background: lime; }
+.localIdentName__f\\~o\\~o__MrVzSIcS { background: lime; }
+.localIdentName__f\\+o\\+o__EvMHRmCu { background: lime; }
+
+.localIdentName__foo\\/bar__hei2uQgD {
+ background: hotpink;
+}
+
+.localIdentName__foo\\\\bar__IgSzmmsC {
+ background: hotpink;
+}
+
+.localIdentName__foo\\/bar\\/baz__p6KJMhNW {
+ background: hotpink;
+}
+
+.localIdentName__foo\\\\bar\\\\baz__HZerWgmU {
+ background: hotpink;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the "localIdentRegExp" option: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "path" placeholder: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the "path" placeholder: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.fixtures-modules-localIdentName-localIdentName__test {
+ background: red;
+}
+
+.fixtures-modules-localIdentName-localIdentName___test {
+ background: blue;
+}
+
+.fixtures-modules-localIdentName-localIdentName__className {
+ background: red;
+}
+
+#fixtures-modules-localIdentName-localIdentName__someId {
+ background: green;
+}
+
+.fixtures-modules-localIdentName-localIdentName__className .fixtures-modules-localIdentName-localIdentName__subClass {
+ color: green;
+}
+
+#fixtures-modules-localIdentName-localIdentName__someId .fixtures-modules-localIdentName-localIdentName__subClass {
+ color: blue;
+}
+
+.fixtures-modules-localIdentName-localIdentName__-a0-34a___f {
+ color: red;
+}
+
+.fixtures-modules-localIdentName-localIdentName__m_x_\\\\@ {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.fixtures-modules-localIdentName-localIdentName__B\\\\&W\\\\? {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\\\`(" */
+.fixtures-modules-localIdentName-localIdentName__\\\\3A \\\\\\\`\\\\( {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.fixtures-modules-localIdentName-localIdentName__\\\\31 a2b3c {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#fixtures-modules-localIdentName-localIdentName__\\\\#fake-id {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#fixtures-modules-localIdentName-localIdentName__-a-b-c- {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#fixtures-modules-localIdentName-localIdentName__© {
+ color: black;
+}
+
+.fixtures-modules-localIdentName-localIdentName__♥ { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__© { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__😍 { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__“‘’” { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__☺☃ { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__⌘⌥ { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__𝄞♪♩♫♬ { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__💩 { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\\\? { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\\\@ { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\\\. { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\\\3A \\\\) { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\\\3A \\\\\\\`\\\\( { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\\\31 23 { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\\\31 a2b3c { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\\\
{ background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\> { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\. { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\\\# { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\\\#\\\\# { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\\\#\\\\.\\\\#\\\\.\\\\# { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\\\_ { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\\\{\\\\} { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\\\#fake\\\\-id { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__foo\\\\.bar { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\\\3A hover { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\\\3A hover\\\\3A focus\\\\3A active { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\\\[attr\\\\=value\\\\] { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__f\\\\/o\\\\/o { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__f\\\\\\\\o\\\\\\\\o { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__f\\\\*o\\\\*o { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__f\\\\!o\\\\!o { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__f\\\\'o\\\\'o { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__f\\\\~o\\\\~o { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__f\\\\+o\\\\+o { background: lime; }
+
+.fixtures-modules-localIdentName-localIdentName__foo\\\\/bar {
+ background: hotpink;
+}
+
+.fixtures-modules-localIdentName-localIdentName__foo\\\\\\\\bar {
+ background: hotpink;
+}
+
+.fixtures-modules-localIdentName-localIdentName__foo\\\\/bar\\\\/baz {
+ background: hotpink;
+}
+
+.fixtures-modules-localIdentName-localIdentName__foo\\\\\\\\bar\\\\\\\\baz {
+ background: hotpink;
+}
+\`, ""]);
+// Exports
+var _1 = \`fixtures-modules-localIdentName-localIdentName__123\`;
+export { _1 as "123" };
+export var test = \`fixtures-modules-localIdentName-localIdentName__test\`;
+export var _test = \`fixtures-modules-localIdentName-localIdentName___test\`;
+export var className = \`fixtures-modules-localIdentName-localIdentName__className\`;
+export var someId = \`fixtures-modules-localIdentName-localIdentName__someId\`;
+export var subClass = \`fixtures-modules-localIdentName-localIdentName__subClass\`;
+var _2 = \`fixtures-modules-localIdentName-localIdentName__-a0-34a___f\`;
+export { _2 as "-a0-34a___f" };
+var _3 = \`fixtures-modules-localIdentName-localIdentName__m_x_@\`;
+export { _3 as "m_x_@" };
+var _4 = \`fixtures-modules-localIdentName-localIdentName__B&W?\`;
+export { _4 as "B&W?" };
+var _5 = \`fixtures-modules-localIdentName-localIdentName__:\\\`(\`;
+export { _5 as ":\`(" };
+var _6 = \`fixtures-modules-localIdentName-localIdentName__1a2b3c\`;
+export { _6 as "1a2b3c" };
+var _7 = \`fixtures-modules-localIdentName-localIdentName__#fake-id\`;
+export { _7 as "#fake-id" };
+var _8 = \`fixtures-modules-localIdentName-localIdentName__-a-b-c-\`;
+export { _8 as "-a-b-c-" };
+var _9 = \`fixtures-modules-localIdentName-localIdentName__©\`;
+export { _9 as "©" };
+var _a = \`fixtures-modules-localIdentName-localIdentName__♥\`;
+export { _a as "♥" };
+var _b = \`fixtures-modules-localIdentName-localIdentName__😍\`;
+export { _b as "😍" };
+var _c = \`fixtures-modules-localIdentName-localIdentName__“‘’”\`;
+export { _c as "“‘’”" };
+var _d = \`fixtures-modules-localIdentName-localIdentName__☺☃\`;
+export { _d as "☺☃" };
+var _e = \`fixtures-modules-localIdentName-localIdentName__⌘⌥\`;
+export { _e as "⌘⌥" };
+var _f = \`fixtures-modules-localIdentName-localIdentName__𝄞♪♩♫♬\`;
+export { _f as "𝄞♪♩♫♬" };
+var _10 = \`fixtures-modules-localIdentName-localIdentName__💩\`;
+export { _10 as "💩" };
+var _11 = \`fixtures-modules-localIdentName-localIdentName__?\`;
+export { _11 as "?" };
+var _12 = \`fixtures-modules-localIdentName-localIdentName__@\`;
+export { _12 as "@" };
+var _13 = \`fixtures-modules-localIdentName-localIdentName__.\`;
+export { _13 as "." };
+var _14 = \`fixtures-modules-localIdentName-localIdentName__:)\`;
+export { _14 as ":)" };
+var _15 = \`fixtures-modules-localIdentName-localIdentName__
\`;
+export { _15 as "
" };
+var _16 = \`fixtures-modules-localIdentName-localIdentName__<><<<>><>\`;
+export { _16 as "<><<<>><>" };
+var _17 = \`fixtures-modules-localIdentName-localIdentName__++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\`;
+export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." };
+var _18 = \`fixtures-modules-localIdentName-localIdentName__#\`;
+export { _18 as "#" };
+var _19 = \`fixtures-modules-localIdentName-localIdentName__##\`;
+export { _19 as "##" };
+var _1a = \`fixtures-modules-localIdentName-localIdentName__#.#.#\`;
+export { _1a as "#.#.#" };
+export var _ = \`fixtures-modules-localIdentName-localIdentName___\`;
+var _1b = \`fixtures-modules-localIdentName-localIdentName__{}\`;
+export { _1b as "{}" };
+var _1c = \`fixtures-modules-localIdentName-localIdentName__foo.bar\`;
+export { _1c as "foo.bar" };
+var _1d = \`fixtures-modules-localIdentName-localIdentName__:hover\`;
+export { _1d as ":hover" };
+var _1e = \`fixtures-modules-localIdentName-localIdentName__:hover:focus:active\`;
+export { _1e as ":hover:focus:active" };
+var _1f = \`fixtures-modules-localIdentName-localIdentName__[attr=value]\`;
+export { _1f as "[attr=value]" };
+var _20 = \`fixtures-modules-localIdentName-localIdentName__f/o/o\`;
+export { _20 as "f/o/o" };
+var _21 = \`fixtures-modules-localIdentName-localIdentName__f\\\\o\\\\o\`;
+export { _21 as "f\\\\o\\\\o" };
+var _22 = \`fixtures-modules-localIdentName-localIdentName__f*o*o\`;
+export { _22 as "f*o*o" };
+var _23 = \`fixtures-modules-localIdentName-localIdentName__f!o!o\`;
+export { _23 as "f!o!o" };
+var _24 = \`fixtures-modules-localIdentName-localIdentName__f'o'o\`;
+export { _24 as "f'o'o" };
+var _25 = \`fixtures-modules-localIdentName-localIdentName__f~o~o\`;
+export { _25 as "f~o~o" };
+var _26 = \`fixtures-modules-localIdentName-localIdentName__f+o+o\`;
+export { _26 as "f+o+o" };
+var _27 = \`fixtures-modules-localIdentName-localIdentName__foo/bar\`;
+export { _27 as "foo/bar" };
+var _28 = \`fixtures-modules-localIdentName-localIdentName__foo\\\\bar\`;
+export { _28 as "foo\\\\bar" };
+var _29 = \`fixtures-modules-localIdentName-localIdentName__foo/bar/baz\`;
+export { _29 as "foo/bar/baz" };
+var _2a = \`fixtures-modules-localIdentName-localIdentName__foo\\\\bar\\\\baz\`;
+export { _2a as "foo\\\\bar\\\\baz" };
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the "path" placeholder: result 1`] = `
+[
+ [
+ "./modules/localIdentName/localIdentName.css",
+ ".fixtures-modules-localIdentName-localIdentName__test {
+ background: red;
+}
+
+.fixtures-modules-localIdentName-localIdentName___test {
+ background: blue;
+}
+
+.fixtures-modules-localIdentName-localIdentName__className {
+ background: red;
+}
+
+#fixtures-modules-localIdentName-localIdentName__someId {
+ background: green;
+}
+
+.fixtures-modules-localIdentName-localIdentName__className .fixtures-modules-localIdentName-localIdentName__subClass {
+ color: green;
+}
+
+#fixtures-modules-localIdentName-localIdentName__someId .fixtures-modules-localIdentName-localIdentName__subClass {
+ color: blue;
+}
+
+.fixtures-modules-localIdentName-localIdentName__-a0-34a___f {
+ color: red;
+}
+
+.fixtures-modules-localIdentName-localIdentName__m_x_\\@ {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+.fixtures-modules-localIdentName-localIdentName__B\\&W\\? {
+ margin-left: auto !important;
+ margin-right: auto !important;
+}
+
+/* matches elements with class=":\`(" */
+.fixtures-modules-localIdentName-localIdentName__\\3A \\\`\\( {
+ color: aqua;
+}
+
+/* matches elements with class="1a2b3c" */
+.fixtures-modules-localIdentName-localIdentName__\\31 a2b3c {
+ color: aliceblue;
+}
+
+/* matches the element with id="#fake-id" */
+#fixtures-modules-localIdentName-localIdentName__\\#fake-id {
+ color: antiquewhite;
+}
+
+/* matches the element with id="-a-b-c-" */
+#fixtures-modules-localIdentName-localIdentName__-a-b-c- {
+ color: azure;
+}
+
+/* matches the element with id="©" */
+#fixtures-modules-localIdentName-localIdentName__© {
+ color: black;
+}
+
+.fixtures-modules-localIdentName-localIdentName__♥ { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__© { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__😍 { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__“‘’” { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__☺☃ { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__⌘⌥ { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__𝄞♪♩♫♬ { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__💩 { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\? { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\@ { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\. { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\3A \\) { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\3A \\\`\\( { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\31 23 { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\31 a2b3c { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\
{ background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\<\\>\\<\\<\\<\\>\\>\\<\\> { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\[\\>\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\>\\+\\<\\<\\<\\<\\-\\]\\>\\+\\+\\.\\>\\+\\.\\+\\+\\+\\+\\+\\+\\+\\.\\.\\+\\+\\+\\.\\>\\+\\+\\.\\<\\<\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\.\\>\\.\\+\\+\\+\\.\\-\\-\\-\\-\\-\\-\\.\\-\\-\\-\\-\\-\\-\\-\\-\\.\\>\\+\\.\\>\\. { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\# { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\#\\# { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\#\\.\\#\\.\\# { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\_ { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\{\\} { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\#fake\\-id { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__foo\\.bar { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\3A hover { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\3A hover\\3A focus\\3A active { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__\\[attr\\=value\\] { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__f\\/o\\/o { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__f\\\\o\\\\o { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__f\\*o\\*o { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__f\\!o\\!o { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__f\\'o\\'o { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__f\\~o\\~o { background: lime; }
+.fixtures-modules-localIdentName-localIdentName__f\\+o\\+o { background: lime; }
+
+.fixtures-modules-localIdentName-localIdentName__foo\\/bar {
+ background: hotpink;
+}
+
+.fixtures-modules-localIdentName-localIdentName__foo\\\\bar {
+ background: hotpink;
+}
+
+.fixtures-modules-localIdentName-localIdentName__foo\\/bar\\/baz {
+ background: hotpink;
+}
+
+.fixtures-modules-localIdentName-localIdentName__foo\\\\bar\\\\baz {
+ background: hotpink;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the "path" placeholder: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the "as-is" value: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the "as-is" value: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+\`, ""]);
+// Exports
+export var foo = \`bar\`;
+var _1 = \`value\`;
+export { _1 as "my-btn-info_is-disabled" };
+var _2 = \`rmc8ltu8P1VXaeqLNU6N\`;
+export { _2 as "btn-info_is-disabled" };
+var _3 = \`AooVHuvzAIGXWngdfslc\`;
+export { _3 as "btn--info_is-disabled_1" };
+export var simple = \`snmJCrfw3LVnrlx87XVC\`;
+export var foo_bar = \`vA4oeh0XymefKJVIJyg1\`;
+var _4 = \`mDiC1MIOTWjgsd86woaJ\`;
+export { _4 as "class" };
+export var fooBarBaz = \`kY3VVFqpzmTiFlxOd9KU\`;
+export var b = \`eiLdMC_n9TCXQ0oPIJyI\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the "as-is" value: result 1`] = `
+[
+ [
+ "./modules/localsConvention/localsConvention.css",
+ ".rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the "as-is" value: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`as-is\` value and \`namedExport\` is \`false\`: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`as-is\` value and \`namedExport\` is \`false\`: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+\`, ""]);
+// Exports
+___CSS_LOADER_EXPORT___.locals = {
+ "foo": \`bar\`,
+ "my-btn-info_is-disabled": \`value\`,
+ "btn-info_is-disabled": \`rmc8ltu8P1VXaeqLNU6N\`,
+ "btn--info_is-disabled_1": \`AooVHuvzAIGXWngdfslc\`,
+ "simple": \`snmJCrfw3LVnrlx87XVC\`,
+ "foo_bar": \`vA4oeh0XymefKJVIJyg1\`,
+ "class": \`mDiC1MIOTWjgsd86woaJ\`,
+ "fooBarBaz": \`kY3VVFqpzmTiFlxOd9KU\`,
+ "b": \`eiLdMC_n9TCXQ0oPIJyI\`
+};
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`as-is\` value and \`namedExport\` is \`false\`: result 1`] = `
+[
+ [
+ "./modules/localsConvention/localsConvention.css",
+ ".rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`as-is\` value and \`namedExport\` is \`false\`: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`camel-case-only\` value and \`namedExport\` false: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`camel-case-only\` value and \`namedExport\` false: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+\`, ""]);
+// Exports
+___CSS_LOADER_EXPORT___.locals = {
+ "foo": \`bar\`,
+ "myBtnInfoIsDisabled": \`value\`,
+ "btnInfoIsDisabled": \`rmc8ltu8P1VXaeqLNU6N\`,
+ "btnInfoIsDisabled1": \`AooVHuvzAIGXWngdfslc\`,
+ "simple": \`snmJCrfw3LVnrlx87XVC\`,
+ "fooBar": \`vA4oeh0XymefKJVIJyg1\`,
+ "class": \`mDiC1MIOTWjgsd86woaJ\`,
+ "fooBarBaz": \`kY3VVFqpzmTiFlxOd9KU\`,
+ "b": \`eiLdMC_n9TCXQ0oPIJyI\`
+};
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`camel-case-only\` value and \`namedExport\` false: result 1`] = `
+[
+ [
+ "./modules/localsConvention/localsConvention.css",
+ ".rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`camel-case-only\` value and \`namedExport\` false: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`camel-case-only\` value: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`camel-case-only\` value: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+\`, ""]);
+// Exports
+export var foo = \`bar\`;
+export var myBtnInfoIsDisabled = \`value\`;
+export var btnInfoIsDisabled = \`rmc8ltu8P1VXaeqLNU6N\`;
+export var btnInfoIsDisabled1 = \`AooVHuvzAIGXWngdfslc\`;
+export var simple = \`snmJCrfw3LVnrlx87XVC\`;
+export var fooBar = \`vA4oeh0XymefKJVIJyg1\`;
+var _1 = \`mDiC1MIOTWjgsd86woaJ\`;
+export { _1 as "class" };
+export var fooBarBaz = \`kY3VVFqpzmTiFlxOd9KU\`;
+export var b = \`eiLdMC_n9TCXQ0oPIJyI\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`camel-case-only\` value: result 1`] = `
+[
+ [
+ "./modules/localsConvention/localsConvention.css",
+ ".rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`camel-case-only\` value: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`camelCase\` value and \`namedExport\` false: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`camelCase\` value and \`namedExport\` false: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+\`, ""]);
+// Exports
+___CSS_LOADER_EXPORT___.locals = {
+ "foo": \`bar\`,
+ "my-btn-info_is-disabled": \`value\`,
+ "myBtnInfoIsDisabled": \`value\`,
+ "btn-info_is-disabled": \`rmc8ltu8P1VXaeqLNU6N\`,
+ "btnInfoIsDisabled": \`rmc8ltu8P1VXaeqLNU6N\`,
+ "btn--info_is-disabled_1": \`AooVHuvzAIGXWngdfslc\`,
+ "btnInfoIsDisabled1": \`AooVHuvzAIGXWngdfslc\`,
+ "simple": \`snmJCrfw3LVnrlx87XVC\`,
+ "foo_bar": \`vA4oeh0XymefKJVIJyg1\`,
+ "fooBar": \`vA4oeh0XymefKJVIJyg1\`,
+ "class": \`mDiC1MIOTWjgsd86woaJ\`,
+ "fooBarBaz": \`kY3VVFqpzmTiFlxOd9KU\`,
+ "b": \`eiLdMC_n9TCXQ0oPIJyI\`
+};
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`camelCase\` value and \`namedExport\` false: result 1`] = `
+[
+ [
+ "./modules/localsConvention/localsConvention.css",
+ ".rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`camelCase\` value and \`namedExport\` false: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`camelCase\` value: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`camelCase\` value: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+\`, ""]);
+// Exports
+export var foo = \`bar\`;
+var _1 = \`value\`;
+export { _1 as "my-btn-info_is-disabled" };
+export var myBtnInfoIsDisabled = \`value\`;
+var _2 = \`rmc8ltu8P1VXaeqLNU6N\`;
+export { _2 as "btn-info_is-disabled" };
+export var btnInfoIsDisabled = \`rmc8ltu8P1VXaeqLNU6N\`;
+var _3 = \`AooVHuvzAIGXWngdfslc\`;
+export { _3 as "btn--info_is-disabled_1" };
+export var btnInfoIsDisabled1 = \`AooVHuvzAIGXWngdfslc\`;
+export var simple = \`snmJCrfw3LVnrlx87XVC\`;
+export var foo_bar = \`vA4oeh0XymefKJVIJyg1\`;
+export var fooBar = \`vA4oeh0XymefKJVIJyg1\`;
+var _4 = \`mDiC1MIOTWjgsd86woaJ\`;
+export { _4 as "class" };
+export var fooBarBaz = \`kY3VVFqpzmTiFlxOd9KU\`;
+export var b = \`eiLdMC_n9TCXQ0oPIJyI\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`camelCase\` value: result 1`] = `
+[
+ [
+ "./modules/localsConvention/localsConvention.css",
+ ".rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`camelCase\` value: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`dashes\` value and \`namedExport\` false: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`dashes\` value and \`namedExport\` false: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+\`, ""]);
+// Exports
+___CSS_LOADER_EXPORT___.locals = {
+ "foo": \`bar\`,
+ "my-btn-info_is-disabled": \`value\`,
+ "myBtnInfo_isDisabled": \`value\`,
+ "btn-info_is-disabled": \`rmc8ltu8P1VXaeqLNU6N\`,
+ "btnInfo_isDisabled": \`rmc8ltu8P1VXaeqLNU6N\`,
+ "btn--info_is-disabled_1": \`AooVHuvzAIGXWngdfslc\`,
+ "btnInfo_isDisabled_1": \`AooVHuvzAIGXWngdfslc\`,
+ "simple": \`snmJCrfw3LVnrlx87XVC\`,
+ "foo_bar": \`vA4oeh0XymefKJVIJyg1\`,
+ "class": \`mDiC1MIOTWjgsd86woaJ\`,
+ "fooBarBaz": \`kY3VVFqpzmTiFlxOd9KU\`,
+ "b": \`eiLdMC_n9TCXQ0oPIJyI\`
+};
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`dashes\` value and \`namedExport\` false: result 1`] = `
+[
+ [
+ "./modules/localsConvention/localsConvention.css",
+ ".rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`dashes\` value and \`namedExport\` false: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`dashes\` value: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`dashes\` value: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+\`, ""]);
+// Exports
+export var foo = \`bar\`;
+var _1 = \`value\`;
+export { _1 as "my-btn-info_is-disabled" };
+export var myBtnInfo_isDisabled = \`value\`;
+var _2 = \`rmc8ltu8P1VXaeqLNU6N\`;
+export { _2 as "btn-info_is-disabled" };
+export var btnInfo_isDisabled = \`rmc8ltu8P1VXaeqLNU6N\`;
+var _3 = \`AooVHuvzAIGXWngdfslc\`;
+export { _3 as "btn--info_is-disabled_1" };
+export var btnInfo_isDisabled_1 = \`AooVHuvzAIGXWngdfslc\`;
+export var simple = \`snmJCrfw3LVnrlx87XVC\`;
+export var foo_bar = \`vA4oeh0XymefKJVIJyg1\`;
+var _4 = \`mDiC1MIOTWjgsd86woaJ\`;
+export { _4 as "class" };
+export var fooBarBaz = \`kY3VVFqpzmTiFlxOd9KU\`;
+export var b = \`eiLdMC_n9TCXQ0oPIJyI\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`dashes\` value: result 1`] = `
+[
+ [
+ "./modules/localsConvention/localsConvention.css",
+ ".rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`dashes\` value: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`dashesOnly\` value and \`namedExport\` false: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`dashesOnly\` value and \`namedExport\` false: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+\`, ""]);
+// Exports
+___CSS_LOADER_EXPORT___.locals = {
+ "foo": \`bar\`,
+ "myBtnInfo_isDisabled": \`value\`,
+ "btnInfo_isDisabled": \`rmc8ltu8P1VXaeqLNU6N\`,
+ "btnInfo_isDisabled_1": \`AooVHuvzAIGXWngdfslc\`,
+ "simple": \`snmJCrfw3LVnrlx87XVC\`,
+ "foo_bar": \`vA4oeh0XymefKJVIJyg1\`,
+ "class": \`mDiC1MIOTWjgsd86woaJ\`,
+ "fooBarBaz": \`kY3VVFqpzmTiFlxOd9KU\`,
+ "b": \`eiLdMC_n9TCXQ0oPIJyI\`
+};
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`dashesOnly\` value and \`namedExport\` false: result 1`] = `
+[
+ [
+ "./modules/localsConvention/localsConvention.css",
+ ".rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`dashesOnly\` value and \`namedExport\` false: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`dashesOnly\` value: errors 1`] = `[]`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`dashesOnly\` value: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+\`, ""]);
+// Exports
+export var foo = \`bar\`;
+export var myBtnInfo_isDisabled = \`value\`;
+export var btnInfo_isDisabled = \`rmc8ltu8P1VXaeqLNU6N\`;
+export var btnInfo_isDisabled_1 = \`AooVHuvzAIGXWngdfslc\`;
+export var simple = \`snmJCrfw3LVnrlx87XVC\`;
+export var foo_bar = \`vA4oeh0XymefKJVIJyg1\`;
+var _1 = \`mDiC1MIOTWjgsd86woaJ\`;
+export { _1 as "class" };
+export var fooBarBaz = \`kY3VVFqpzmTiFlxOd9KU\`;
+export var b = \`eiLdMC_n9TCXQ0oPIJyI\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`dashesOnly\` value: result 1`] = `
+[
+ [
+ "./modules/localsConvention/localsConvention.css",
+ ".rmc8ltu8P1VXaeqLNU6N {
+ color: blue;
+}
+
+.AooVHuvzAIGXWngdfslc {
+ color: blue;
+}
+
+.snmJCrfw3LVnrlx87XVC {
+ color: red;
+}
+
+a {
+ color: yellow;
+}
+
+.vA4oeh0XymefKJVIJyg1 {
+ color: red;
+}
+
+.mDiC1MIOTWjgsd86woaJ {
+ color: red;
+}
+
+.kY3VVFqpzmTiFlxOd9KU {
+ color: red;
+}
+
+.eiLdMC_n9TCXQ0oPIJyI {
+ color: red;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and respect the \`localConvention\` option with the \`dashesOnly\` value: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and support "pure" mode #2: errors 1`] = `[]`;
+
+exports[`"modules" option should work and support "pure" mode #2: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.GG5NOiRT4g06DVEU5tQf {
+ color: red;
+}
+
+h1 .uUkzTtFrPX7DQk7AJn_C {
+ color: green;
+}
+
+.d2SVtvxeS3c0zw1j0XY3 h1 {
+ color: blue;
+}
+
+.uj35KKSMxYrydy9AtwEA h1 .sHauUzQwWo87dp__t_Ug {
+ color: red;
+}
+
+#ebGYgLwRuH_cwCOAeAIf {
+ color: red;
+}
+
+h1 #CEBxO1NI6KSE4aIOEe8g {
+ color: green;
+}
+
+#CIs5QkSldUS9Z6oE85dq h1 {
+ color: blue;
+}
+
+#eEMqyPYFGmm35aX75zy3 h1 #nNXpPpX8pUC5paDKAwBo {
+ color: red;
+}
+
+.G4jxkxdOl0F0aHDyzSab .bar .XbSw2R5rWm8FCPx8AUjP {
+ color: white;
+}
+
+.owPaXiJkt4EitYBDn5Yh .CP7zuaZH99lZJVmJwA3g .vvLsn8M1D1up5NfSbIYh {
+ color: black;
+}
+
+.nnjcLLGI3W9kePCpF3rz {
+ color: red;
+
+ & > span {
+ color: green;
+ }
+}
+\`, ""]);
+// Exports
+export var foo = \`GG5NOiRT4g06DVEU5tQf\`;
+var _1 = \`uUkzTtFrPX7DQk7AJn_C\`;
+export { _1 as "foo-1" };
+var _2 = \`d2SVtvxeS3c0zw1j0XY3\`;
+export { _2 as "foo-2" };
+var _3 = \`uj35KKSMxYrydy9AtwEA\`;
+export { _3 as "foo-3" };
+var _4 = \`sHauUzQwWo87dp__t_Ug\`;
+export { _4 as "foo-4" };
+var _5 = \`ebGYgLwRuH_cwCOAeAIf\`;
+export { _5 as "foo-5" };
+var _6 = \`CEBxO1NI6KSE4aIOEe8g\`;
+export { _6 as "foo-6" };
+var _7 = \`CIs5QkSldUS9Z6oE85dq\`;
+export { _7 as "foo-7" };
+var _8 = \`eEMqyPYFGmm35aX75zy3\`;
+export { _8 as "foo-8" };
+var _9 = \`nNXpPpX8pUC5paDKAwBo\`;
+export { _9 as "foo-9" };
+var _a = \`G4jxkxdOl0F0aHDyzSab\`;
+export { _a as "bar-1" };
+var _b = \`XbSw2R5rWm8FCPx8AUjP\`;
+export { _b as "bar-2" };
+var _c = \`owPaXiJkt4EitYBDn5Yh\`;
+export { _c as "baz-3" };
+export var baz = \`CP7zuaZH99lZJVmJwA3g\`;
+var _d = \`vvLsn8M1D1up5NfSbIYh\`;
+export { _d as "bar-4" };
+export var test = \`nnjcLLGI3W9kePCpF3rz\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and support "pure" mode #2: result 1`] = `
+[
+ [
+ "./modules/pure/pure.css",
+ ".GG5NOiRT4g06DVEU5tQf {
+ color: red;
+}
+
+h1 .uUkzTtFrPX7DQk7AJn_C {
+ color: green;
+}
+
+.d2SVtvxeS3c0zw1j0XY3 h1 {
+ color: blue;
+}
+
+.uj35KKSMxYrydy9AtwEA h1 .sHauUzQwWo87dp__t_Ug {
+ color: red;
+}
+
+#ebGYgLwRuH_cwCOAeAIf {
+ color: red;
+}
+
+h1 #CEBxO1NI6KSE4aIOEe8g {
+ color: green;
+}
+
+#CIs5QkSldUS9Z6oE85dq h1 {
+ color: blue;
+}
+
+#eEMqyPYFGmm35aX75zy3 h1 #nNXpPpX8pUC5paDKAwBo {
+ color: red;
+}
+
+.G4jxkxdOl0F0aHDyzSab .bar .XbSw2R5rWm8FCPx8AUjP {
+ color: white;
+}
+
+.owPaXiJkt4EitYBDn5Yh .CP7zuaZH99lZJVmJwA3g .vvLsn8M1D1up5NfSbIYh {
+ color: black;
+}
+
+.nnjcLLGI3W9kePCpF3rz {
+ color: red;
+
+ & > span {
+ color: green;
+ }
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and support "pure" mode #2: warnings 1`] = `[]`;
+
+exports[`"modules" option should work and support "pure" mode: errors 1`] = `[]`;
+
+exports[`"modules" option should work and support "pure" mode: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.GG5NOiRT4g06DVEU5tQf {
+ color: red;
+}
+
+h1 .uUkzTtFrPX7DQk7AJn_C {
+ color: green;
+}
+
+.d2SVtvxeS3c0zw1j0XY3 h1 {
+ color: blue;
+}
+
+.uj35KKSMxYrydy9AtwEA h1 .sHauUzQwWo87dp__t_Ug {
+ color: red;
+}
+
+#ebGYgLwRuH_cwCOAeAIf {
+ color: red;
+}
+
+h1 #CEBxO1NI6KSE4aIOEe8g {
+ color: green;
+}
+
+#CIs5QkSldUS9Z6oE85dq h1 {
+ color: blue;
+}
+
+#eEMqyPYFGmm35aX75zy3 h1 #nNXpPpX8pUC5paDKAwBo {
+ color: red;
+}
+
+.G4jxkxdOl0F0aHDyzSab .bar .XbSw2R5rWm8FCPx8AUjP {
+ color: white;
+}
+
+.owPaXiJkt4EitYBDn5Yh .CP7zuaZH99lZJVmJwA3g .vvLsn8M1D1up5NfSbIYh {
+ color: black;
+}
+
+.nnjcLLGI3W9kePCpF3rz {
+ color: red;
+
+ & > span {
+ color: green;
+ }
+}
+\`, ""]);
+// Exports
+export var foo = \`GG5NOiRT4g06DVEU5tQf\`;
+var _1 = \`uUkzTtFrPX7DQk7AJn_C\`;
+export { _1 as "foo-1" };
+var _2 = \`d2SVtvxeS3c0zw1j0XY3\`;
+export { _2 as "foo-2" };
+var _3 = \`uj35KKSMxYrydy9AtwEA\`;
+export { _3 as "foo-3" };
+var _4 = \`sHauUzQwWo87dp__t_Ug\`;
+export { _4 as "foo-4" };
+var _5 = \`ebGYgLwRuH_cwCOAeAIf\`;
+export { _5 as "foo-5" };
+var _6 = \`CEBxO1NI6KSE4aIOEe8g\`;
+export { _6 as "foo-6" };
+var _7 = \`CIs5QkSldUS9Z6oE85dq\`;
+export { _7 as "foo-7" };
+var _8 = \`eEMqyPYFGmm35aX75zy3\`;
+export { _8 as "foo-8" };
+var _9 = \`nNXpPpX8pUC5paDKAwBo\`;
+export { _9 as "foo-9" };
+var _a = \`G4jxkxdOl0F0aHDyzSab\`;
+export { _a as "bar-1" };
+var _b = \`XbSw2R5rWm8FCPx8AUjP\`;
+export { _b as "bar-2" };
+var _c = \`owPaXiJkt4EitYBDn5Yh\`;
+export { _c as "baz-3" };
+export var baz = \`CP7zuaZH99lZJVmJwA3g\`;
+var _d = \`vvLsn8M1D1up5NfSbIYh\`;
+export { _d as "bar-4" };
+export var test = \`nnjcLLGI3W9kePCpF3rz\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work and support "pure" mode: result 1`] = `
+[
+ [
+ "./modules/pure/pure.css",
+ ".GG5NOiRT4g06DVEU5tQf {
+ color: red;
+}
+
+h1 .uUkzTtFrPX7DQk7AJn_C {
+ color: green;
+}
+
+.d2SVtvxeS3c0zw1j0XY3 h1 {
+ color: blue;
+}
+
+.uj35KKSMxYrydy9AtwEA h1 .sHauUzQwWo87dp__t_Ug {
+ color: red;
+}
+
+#ebGYgLwRuH_cwCOAeAIf {
+ color: red;
+}
+
+h1 #CEBxO1NI6KSE4aIOEe8g {
+ color: green;
+}
+
+#CIs5QkSldUS9Z6oE85dq h1 {
+ color: blue;
+}
+
+#eEMqyPYFGmm35aX75zy3 h1 #nNXpPpX8pUC5paDKAwBo {
+ color: red;
+}
+
+.G4jxkxdOl0F0aHDyzSab .bar .XbSw2R5rWm8FCPx8AUjP {
+ color: white;
+}
+
+.owPaXiJkt4EitYBDn5Yh .CP7zuaZH99lZJVmJwA3g .vvLsn8M1D1up5NfSbIYh {
+ color: black;
+}
+
+.nnjcLLGI3W9kePCpF3rz {
+ color: red;
+
+ & > span {
+ color: green;
+ }
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"modules" option should work and support "pure" mode: warnings 1`] = `[]`;
+
+exports[`"modules" option should work js template with "namedExport" option when "exportLocalsConvention" option is function: errors 1`] = `[]`;
+
+exports[`"modules" option should work js template with "namedExport" option when "exportLocalsConvention" option is function: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from "../../../../../src/runtime/noSourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.header-baz {
+ color: red;
+}
+
+.body {
+ color: coral;
+}
+
+.footer {
+ color: blue;
+}
+\`, ""]);
+// Exports
+export var header_baz_TEST = \`header-baz\`;
+export var body_TEST = \`body\`;
+export var footer_TEST = \`footer\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"modules" option should work js template with "namedExport" option when "exportLocalsConvention" option is function: result 1`] = `
+{
+ "css": [
+ [
+ "./modules/namedExport/template-2/index.css",
+ ".header-baz {
+ color: red;
+}
+
+.body {
+ color: coral;
+}
+
+.footer {
+ color: blue;
+}
+",
+ "",
+ ],
+ ],
+ "html": "
+