{ background: lime; }\\\\n._--\\\\\\\\<\\\\\\\\>\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\>\\\\\\\\>\\\\\\\\<\\\\\\\\> { background: lime; }\\\\n._--\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\[\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\-\\\\\\\\]\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\<\\\\\\\\<\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\. { background: lime; }\\\\n._--\\\\\\\\# { background: lime; }\\\\n._--\\\\\\\\#\\\\\\\\# { background: lime; }\\\\n._--\\\\\\\\#\\\\\\\\.\\\\\\\\#\\\\\\\\.\\\\\\\\# { background: lime; }\\\\n._--\\\\\\\\_ { background: lime; }\\\\n._--\\\\\\\\{\\\\\\\\} { background: lime; }\\\\n._--\\\\\\\\#fake\\\\\\\\-id { background: lime; }\\\\n._--foo\\\\\\\\.bar { background: lime; }\\\\n._--\\\\\\\\3A hover { background: lime; }\\\\n._--\\\\\\\\3A hover\\\\\\\\3A focus\\\\\\\\3A active { background: lime; }\\\\n._--\\\\\\\\[attr\\\\\\\\=value\\\\\\\\] { background: lime; }\\\\n._--f\\\\\\\\/o\\\\\\\\/o { background: lime; }\\\\n._--f\\\\\\\\\\\\\\\\o\\\\\\\\\\\\\\\\o { background: lime; }\\\\n._--f\\\\\\\\*o\\\\\\\\*o { background: lime; }\\\\n._--f\\\\\\\\!o\\\\\\\\!o { background: lime; }\\\\n._--f\\\\\\\\'o\\\\\\\\'o { background: lime; }\\\\n._--f\\\\\\\\~o\\\\\\\\~o { background: lime; }\\\\n._--f\\\\\\\\+o\\\\\\\\+o { background: lime; }\\\\n\\\\n._--foo\\\\\\\\/bar {\\\\n background: hotpink;\\\\n}\\\\n\\\\n._--foo\\\\\\\\\\\\\\\\bar {\\\\n background: hotpink;\\\\n}\\\\n\\\\n._--foo\\\\\\\\/bar\\\\\\\\/baz {\\\\n background: hotpink;\\\\n}\\\\n\\\\n._--foo\\\\\\\\\\\\\\\\bar\\\\\\\\\\\\\\\\baz {\\\\n background: hotpink;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"123\\": \\"_--123\\", - \\"test\\": \\"_--test\\", - \\"_test\\": \\"_--_test\\", - \\"className\\": \\"_--className\\", - \\"someId\\": \\"_--someId\\", - \\"subClass\\": \\"_--subClass\\", - \\"-a0-34a___f\\": \\"_---a0-34a___f\\", - \\"m_x_@\\": \\"_--m_x_@\\", - \\"B&W?\\": \\"_--B&W?\\", - \\":\`(\\": \\"_--:\`(\\", - \\"1a2b3c\\": \\"_--1a2b3c\\", - \\"#fake-id\\": \\"_--#fake-id\\", - \\"-a-b-c-\\": \\"_---a-b-c-\\", - \\"©\\": \\"_--©\\", - \\"♥\\": \\"_--♥\\", - \\"“‘’”\\": \\"_--“‘’”\\", - \\"☺☃\\": \\"_--☺☃\\", - \\"⌘⌥\\": \\"_--⌘⌥\\", - \\"𝄞♪♩♫♬\\": \\"_--𝄞♪♩♫♬\\", - \\"💩\\": \\"_--💩\\", - \\"?\\": \\"_--?\\", - \\"@\\": \\"_--@\\", - \\".\\": \\"_--.\\", - \\":)\\": \\"_--:)\\", - \\"
\\": \\"_--
\\", - \\"<><<<>><>\\": \\"_--<><<<>><>\\", - \\"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\\": \\"_--++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\\", - \\"#\\": \\"_--#\\", - \\"##\\": \\"_--##\\", - \\"#.#.#\\": \\"_--#.#.#\\", - \\"_\\": \\"_--_\\", - \\"{}\\": \\"_--{}\\", - \\"foo.bar\\": \\"_--foo.bar\\", - \\":hover\\": \\"_--:hover\\", - \\":hover:focus:active\\": \\"_--:hover:focus:active\\", - \\"[attr=value]\\": \\"_--[attr=value]\\", - \\"f/o/o\\": \\"_--f/o/o\\", - \\"f\\\\\\\\o\\\\\\\\o\\": \\"_--f\\\\\\\\o\\\\\\\\o\\", - \\"f*o*o\\": \\"_--f*o*o\\", - \\"f!o!o\\": \\"_--f!o!o\\", - \\"f'o'o\\": \\"_--f'o'o\\", - \\"f~o~o\\": \\"_--f~o~o\\", - \\"f+o+o\\": \\"_--f+o+o\\", - \\"foo/bar\\": \\"_--foo/bar\\", - \\"foo\\\\\\\\bar\\": \\"_--foo\\\\\\\\bar\\", - \\"foo/bar/baz\\": \\"_--foo/bar/baz\\", - \\"foo\\\\\\\\bar\\\\\\\\baz\\": \\"_--foo\\\\\\\\bar\\\\\\\\baz\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; - -exports[`"modules" option should should work with two leading hyphens: result 1`] = ` -Array [ - Array [ - "./modules/localIdentName/localIdentName.css", - "._--test { +___CSS_LOADER_EXPORT___.push([module.id, \`._--test { background: red; } @@ -1077,33 +1449,34 @@ Array [ margin-right: auto !important; } -/* matches elements with class=\\":\`(\\" */ -._--\\\\3A \\\\\`\\\\( { +/* matches elements with class=":\\\`(" */ +._--\\\\3A \\\\\\\`\\\\( { color: aqua; } -/* matches elements with class=\\"1a2b3c\\" */ +/* matches elements with class="1a2b3c" */ ._--\\\\31 a2b3c { color: aliceblue; } -/* matches the element with id=\\"#fake-id\\" */ +/* matches the element with id="#fake-id" */ #_--\\\\#fake-id { color: antiquewhite; } -/* matches the element with id=\\"-a-b-c-\\" */ +/* matches the element with id="-a-b-c-" */ #_---a-b-c- { color: azure; } -/* matches the element with id=\\"©\\" */ +/* matches the element with id="©" */ #_--© { color: black; } ._--♥ { background: lime; } ._--© { background: lime; } +._--😍 { background: lime; } ._--“‘’” { background: lime; } ._--☺☃ { background: lime; } ._--⌘⌥ { background: lime; } @@ -1113,7 +1486,7 @@ Array [ ._--\\\\@ { background: lime; } ._--\\\\. { background: lime; } ._--\\\\3A \\\\) { background: lime; } -._--\\\\3A \\\\\`\\\\( { background: lime; } +._--\\\\3A \\\\\\\`\\\\( { background: lime; } ._--\\\\31 23 { background: lime; } ._--\\\\31 a2b3c { background: lime; } ._--\\\\
{ background: lime; } @@ -1152,81 +1525,237 @@ Array [ ._--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; +} + +._--_test { + background: blue; +} + +._--className { + background: red; +} + +#_--someId { + background: green; +} + +._--className ._--subClass { + color: green; +} + +#_--someId ._--subClass { + color: blue; +} + +._---a0-34a___f { + color: red; +} + +._--m_x_\\@ { + margin-left: auto !important; + margin-right: auto !important; +} + +._--B\\&W\\? { + margin-left: auto !important; + margin-right: auto !important; +} + +/* matches elements with class=":\`(" */ +._--\\3A \\\`\\( { + color: aqua; +} + +/* matches elements with class="1a2b3c" */ +._--\\31 a2b3c { + color: aliceblue; +} + +/* matches the element with id="#fake-id" */ +#_--\\#fake-id { + color: antiquewhite; +} + +/* 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; +} ", "", ], ] `; -exports[`"modules" option should should work with two leading hyphens: warnings 1`] = `Array []`; +exports[`"modules" option should should work with two leading hyphens: warnings 1`] = `[]`; -exports[`"modules" option should should work with two leading underscore: errors 1`] = `Array []`; +exports[`"modules" option should should work with two leading underscore: errors 1`] = `[]`; exports[`"modules" option should should work with two leading underscore: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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 {\\\\n background: red;\\\\n}\\\\n\\\\n.___test {\\\\n background: blue;\\\\n}\\\\n\\\\n.__className {\\\\n background: red;\\\\n}\\\\n\\\\n#__someId {\\\\n background: green;\\\\n}\\\\n\\\\n.__className .__subClass {\\\\n color: green;\\\\n}\\\\n\\\\n#__someId .__subClass {\\\\n color: blue;\\\\n}\\\\n\\\\n.__-a0-34a___f {\\\\n color: red;\\\\n}\\\\n\\\\n.__m_x_\\\\\\\\@ {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n.__B\\\\\\\\&W\\\\\\\\? {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\":\`(\\\\\\" */\\\\n.__\\\\\\\\3A \\\\\\\\\`\\\\\\\\( {\\\\n color: aqua;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\"1a2b3c\\\\\\" */\\\\n.__\\\\\\\\31 a2b3c {\\\\n color: aliceblue;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"#fake-id\\\\\\" */\\\\n#__\\\\\\\\#fake-id {\\\\n color: antiquewhite;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"-a-b-c-\\\\\\" */\\\\n#__-a-b-c- {\\\\n color: azure;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"©\\\\\\" */\\\\n#__© {\\\\n color: black;\\\\n}\\\\n\\\\n.__♥ { background: lime; }\\\\n.__© { background: lime; }\\\\n.__“‘’” { background: lime; }\\\\n.__☺☃ { background: lime; }\\\\n.__⌘⌥ { background: lime; }\\\\n.__𝄞♪♩♫♬ { background: lime; }\\\\n.__💩 { background: lime; }\\\\n.__\\\\\\\\? { background: lime; }\\\\n.__\\\\\\\\@ { background: lime; }\\\\n.__\\\\\\\\. { background: lime; }\\\\n.__\\\\\\\\3A \\\\\\\\) { background: lime; }\\\\n.__\\\\\\\\3A \\\\\\\\\`\\\\\\\\( { background: lime; }\\\\n.__\\\\\\\\31 23 { background: lime; }\\\\n.__\\\\\\\\31 a2b3c { background: lime; }\\\\n.__\\\\\\\\
{ background: lime; }\\\\n.__\\\\\\\\<\\\\\\\\>\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\>\\\\\\\\>\\\\\\\\<\\\\\\\\> { background: lime; }\\\\n.__\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\[\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\-\\\\\\\\]\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\<\\\\\\\\<\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\. { background: lime; }\\\\n.__\\\\\\\\# { background: lime; }\\\\n.__\\\\\\\\#\\\\\\\\# { background: lime; }\\\\n.__\\\\\\\\#\\\\\\\\.\\\\\\\\#\\\\\\\\.\\\\\\\\# { background: lime; }\\\\n.__\\\\\\\\_ { background: lime; }\\\\n.__\\\\\\\\{\\\\\\\\} { background: lime; }\\\\n.__\\\\\\\\#fake\\\\\\\\-id { background: lime; }\\\\n.__foo\\\\\\\\.bar { background: lime; }\\\\n.__\\\\\\\\3A hover { background: lime; }\\\\n.__\\\\\\\\3A hover\\\\\\\\3A focus\\\\\\\\3A active { background: lime; }\\\\n.__\\\\\\\\[attr\\\\\\\\=value\\\\\\\\] { background: lime; }\\\\n.__f\\\\\\\\/o\\\\\\\\/o { background: lime; }\\\\n.__f\\\\\\\\\\\\\\\\o\\\\\\\\\\\\\\\\o { background: lime; }\\\\n.__f\\\\\\\\*o\\\\\\\\*o { background: lime; }\\\\n.__f\\\\\\\\!o\\\\\\\\!o { background: lime; }\\\\n.__f\\\\\\\\'o\\\\\\\\'o { background: lime; }\\\\n.__f\\\\\\\\~o\\\\\\\\~o { background: lime; }\\\\n.__f\\\\\\\\+o\\\\\\\\+o { background: lime; }\\\\n\\\\n.__foo\\\\\\\\/bar {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.__foo\\\\\\\\\\\\\\\\bar {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.__foo\\\\\\\\/bar\\\\\\\\/baz {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.__foo\\\\\\\\\\\\\\\\bar\\\\\\\\\\\\\\\\baz {\\\\n background: hotpink;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"123\\": \\"__123\\", - \\"test\\": \\"__test\\", - \\"_test\\": \\"___test\\", - \\"className\\": \\"__className\\", - \\"someId\\": \\"__someId\\", - \\"subClass\\": \\"__subClass\\", - \\"-a0-34a___f\\": \\"__-a0-34a___f\\", - \\"m_x_@\\": \\"__m_x_@\\", - \\"B&W?\\": \\"__B&W?\\", - \\":\`(\\": \\"__:\`(\\", - \\"1a2b3c\\": \\"__1a2b3c\\", - \\"#fake-id\\": \\"__#fake-id\\", - \\"-a-b-c-\\": \\"__-a-b-c-\\", - \\"©\\": \\"__©\\", - \\"♥\\": \\"__♥\\", - \\"“‘’”\\": \\"__“‘’”\\", - \\"☺☃\\": \\"__☺☃\\", - \\"⌘⌥\\": \\"__⌘⌥\\", - \\"𝄞♪♩♫♬\\": \\"__𝄞♪♩♫♬\\", - \\"💩\\": \\"__💩\\", - \\"?\\": \\"__?\\", - \\"@\\": \\"__@\\", - \\".\\": \\"__.\\", - \\":)\\": \\"__:)\\", - \\"
\\": \\"__
\\", - \\"<><<<>><>\\": \\"__<><<<>><>\\", - \\"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\\": \\"__++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\\", - \\"#\\": \\"__#\\", - \\"##\\": \\"__##\\", - \\"#.#.#\\": \\"__#.#.#\\", - \\"_\\": \\"___\\", - \\"{}\\": \\"__{}\\", - \\"foo.bar\\": \\"__foo.bar\\", - \\":hover\\": \\"__:hover\\", - \\":hover:focus:active\\": \\"__:hover:focus:active\\", - \\"[attr=value]\\": \\"__[attr=value]\\", - \\"f/o/o\\": \\"__f/o/o\\", - \\"f\\\\\\\\o\\\\\\\\o\\": \\"__f\\\\\\\\o\\\\\\\\o\\", - \\"f*o*o\\": \\"__f*o*o\\", - \\"f!o!o\\": \\"__f!o!o\\", - \\"f'o'o\\": \\"__f'o'o\\", - \\"f~o~o\\": \\"__f~o~o\\", - \\"f+o+o\\": \\"__f+o+o\\", - \\"foo/bar\\": \\"__foo/bar\\", - \\"foo\\\\\\\\bar\\": \\"__foo\\\\\\\\bar\\", - \\"foo/bar/baz\\": \\"__foo/bar/baz\\", - \\"foo\\\\\\\\bar\\\\\\\\baz\\": \\"__foo\\\\\\\\bar\\\\\\\\baz\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; - -exports[`"modules" option should should work with two leading underscore: result 1`] = ` -Array [ - Array [ - "./modules/localIdentName/localIdentName.css", - ".__test { +___CSS_LOADER_EXPORT___.push([module.id, \`.__test { background: red; } @@ -1264,33 +1793,34 @@ Array [ margin-right: auto !important; } -/* matches elements with class=\\":\`(\\" */ -.__\\\\3A \\\\\`\\\\( { +/* matches elements with class=":\\\`(" */ +.__\\\\3A \\\\\\\`\\\\( { color: aqua; } -/* matches elements with class=\\"1a2b3c\\" */ +/* matches elements with class="1a2b3c" */ .__\\\\31 a2b3c { color: aliceblue; } -/* matches the element with id=\\"#fake-id\\" */ +/* matches the element with id="#fake-id" */ #__\\\\#fake-id { color: antiquewhite; } -/* matches the element with id=\\"-a-b-c-\\" */ +/* matches the element with id="-a-b-c-" */ #__-a-b-c- { color: azure; } -/* matches the element with id=\\"©\\" */ +/* matches the element with id="©" */ #__© { color: black; } .__♥ { background: lime; } .__© { background: lime; } +.__😍 { background: lime; } .__“‘’” { background: lime; } .__☺☃ { background: lime; } .__⌘⌥ { background: lime; } @@ -1300,7 +1830,7 @@ Array [ .__\\\\@ { background: lime; } .__\\\\. { background: lime; } .__\\\\3A \\\\) { background: lime; } -.__\\\\3A \\\\\`\\\\( { background: lime; } +.__\\\\3A \\\\\\\`\\\\( { background: lime; } .__\\\\31 23 { background: lime; } .__\\\\31 a2b3c { background: lime; } .__\\\\
{ background: lime; } @@ -1339,89 +1869,325 @@ Array [ .__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; +} + +.___test { + background: blue; +} + +.__className { + background: red; +} + +#__someId { + background: green; +} + +.__className .__subClass { + color: green; +} + +#__someId .__subClass { + color: blue; +} + +.__-a0-34a___f { + color: red; +} + +.__m_x_\\@ { + margin-left: auto !important; + margin-right: auto !important; +} + +.__B\\&W\\? { + margin-left: auto !important; + margin-right: auto !important; +} + +/* matches elements with class=":\`(" */ +.__\\3A \\\`\\( { + color: aqua; +} + +/* matches elements with class="1a2b3c" */ +.__\\31 a2b3c { + color: aliceblue; +} + +/* matches the element with id="#fake-id" */ +#__\\#fake-id { + color: antiquewhite; +} + +/* 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; +} ", "", ], ] `; -exports[`"modules" option should should work with two leading underscore: warnings 1`] = `Array []`; +exports[`"modules" option should should work with two leading underscore: warnings 1`] = `[]`; -exports[`"modules" option should support resolving in composes preprocessor files with extensions: errors 1`] = `Array []`; +exports[`"modules" option should support resolving in composes preprocessor files with extensions: errors 1`] = `[]`; exports[`"modules" option should support resolving in composes preprocessor files with extensions: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./values.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_1___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./less-file.less\\"; -import ___CSS_LOADER_ICSS_IMPORT_2___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./scss-file.scss\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___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 {\\\\n color: orange;\\\\n}\\\\n\\\\n.oZUd__PGOCMbFdczu1Af {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"v-def\\"] + \\";\\\\n}\\\\n\\\\n.__bC4TY9gV0eZwxBOclt {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"v-foo\\"] + \\";\\\\n}\\\\n\\\\n.fI2L9lJeP_2V5ffULLM9 {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_2___.locals[\\"v-bar\\"] + \\";\\\\n}\\\\n\\\\n.epUpvnGmhPIHe1T3i_a_ {\\\\n background: #000;\\\\n}\\\\n\\", \\"\\"]); +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; +} + +.jfnINdjNmjmNE30hJhM2 { + color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-def"] }; +} + +.UIbsE5LKj9LULxJh5lui { + color: \${ ___CSS_LOADER_ICSS_IMPORT_1____NAMED___["v-foo"] }; +} + +.IhDiFbofjUNbC6vdWN9Z { + color: \${ ___CSS_LOADER_ICSS_IMPORT_2____NAMED___["v-bar"] }; +} + +.vtrwouBgSegFPwkaXOt_ { + background: #000; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"v-def\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"v-def\\"] + \\"\\", - \\"v-foo\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"v-foo\\"] + \\"\\", - \\"v-bar\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_2___.locals[\\"v-bar\\"] + \\"\\", - \\"globalClassName\\": \\"globalClassName\\", - \\"ghi\\": \\"oZUd__PGOCMbFdczu1Af\\", - \\"class\\": \\"__bC4TY9gV0eZwxBOclt \\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"lessClass\\"] + \\"\\", - \\"other\\": \\"fI2L9lJeP_2V5ffULLM9 \\" + ___CSS_LOADER_ICSS_IMPORT_2___.locals[\\"scssClass\\"] + \\"\\", - \\"otherClassName\\": \\"epUpvnGmhPIHe1T3i_a_ globalClassName\\" -}; +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`] = ` -Array [ - Array [ +[ + [ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/values.css", " ", "", ], - Array [ + [ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/less-file.less", - ".v3uvuSvcEE6pDlvJMjHg { + ".t5MH7YkQgNxGoiYDjLHG { padding: 5px; } ", "", ], - Array [ + [ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/scss-file.scss", "$color: red; -.pqdLCWFRW03AVy9uJoZX { +.oNU7JF6MtPAFrlrthaOD { color: $color; padding: 15px; } ", "", ], - Array [ + [ "./modules/composes/composes-preprocessors.css", ".globalClassName { color: orange; } -.oZUd__PGOCMbFdczu1Af { +.jfnINdjNmjmNE30hJhM2 { color: red; } -.__bC4TY9gV0eZwxBOclt { +.UIbsE5LKj9LULxJh5lui { color: green; } -.fI2L9lJeP_2V5ffULLM9 { +.IhDiFbofjUNbC6vdWN9Z { color: white; } -.epUpvnGmhPIHe1T3i_a_ { +.vtrwouBgSegFPwkaXOt_ { background: #000; } ", @@ -1430,222 +2196,375 @@ Array [ ] `; -exports[`"modules" option should support resolving in composes preprocessor files with extensions: 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`] = `Array []`; +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_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./values.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_1___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_2___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported-simple.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_3___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./relative.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_4___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./top-relative.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_5___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!../issue-861/node_modules/package/style.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_6___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./alias.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_7___ 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___(function(i){return i[1]}); -___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); +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, \\".JrMovmNxiARceckPi1Bb {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"v-def\\"] + \\";\\\\n}\\\\n\\\\n._xZYrLKW96sXm2aniadM {\\\\n color: blue;\\\\n}\\\\n\\\\n.cXIvIhl_Be3NhMPQoE0z {\\\\n display: block;\\\\n}\\\\n\\\\n.wyIZMXPNE2D7zb9VCrHe {\\\\n width: \\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"v-something\\"] + \\";\\\\n}\\\\n\\\\n.as9P70j15m_wICZ94IJx {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"v-other\\"] + \\";\\\\n}\\\\n\\\\n.zAepmy_SqloGdZJJmXNm {\\\\n prop: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"v-def\\"] + \\";\\\\n duplicate: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"v-other\\"] + \\";\\\\n}\\\\n\\\\n.n_zXxs10wzKREXQdQrw9 {\\\\n color: red;\\\\n}\\\\n\\\\n._u4nolEyHSlixSSx7uXN {\\\\n color: yellow;\\\\n}\\\\n\\\\n._EXVuUxUggUhA1UEBgZk {\\\\n color: gray;\\\\n}\\\\n\\\\n.o2wK31qqosVXAPAdGIxD {\\\\n color: gray;\\\\n}\\\\n\\\\n._Y2QYoxyUknZNv0u6wN3 {\\\\n color: gainsboro;\\\\n}\\\\n\\\\n.wmZh7D9g5PjWvMpojahG {\\\\n color: gainsboro;\\\\n}\\\\n\\\\n.uOEsMAq4YIv8PUUlnnhI {\\\\n color: #BF4040;\\\\n}\\\\n\\\\n._r6IpGhEbXgocCCXZgDs {\\\\n color: black;\\\\n}\\\\n\\\\n@media (min-width: 960px) {\\\\n .IsCkQQmCqI3_HSI_H_hT {\\\\n padding: 0 20px;\\\\n }\\\\n}\\\\n\\\\n.\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"s-white\\"] + \\" {\\\\n color: white;\\\\n}\\\\n\\\\n@media \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"m-small\\"] + \\" {\\\\n .IsCkQQmCqI3_HSI_H_hT {\\\\n padding: 20px 20px;\\\\n }\\\\n}\\\\n\\\\n.lNjqoQe7B3jKXIowFbpE {\\\\n v-ident: validIdent;\\\\n v-pre-defined-ident: left;\\\\n v-string: 'content';\\\\n v-string-1: '';\\\\n v-url: url(https://www.exammple.com/images/my-background.png);\\\\n v-url-1: url('https://www.exammple.com/images/my-background.png');\\\\n v-url-2: url(http://"https//www.exammple.com/images/my-background.png//////");\\\\n v-integer: 100;\\\\n v-integer-1: -100;\\\\n v-integer-2: +100;\\\\n v-number: .60;\\\\n v-number-1: -456.8;\\\\n v-number-2: -3.4e-2;\\\\n v-dimension: 12px;\\\\n v-percentage: 100%;\\\\n v-hex: #fff;\\\\n v-comment: /* comment */ 10px /* comment */;\\\\n v-function: rgb(0,0,0);\\\\n v-unicode-range: U+0025-00FF;\\\\n mutliple: #fff .60 100%;\\\\n}\\\\n\\\\n\\\\na {\\\\n content: 'content';\\\\n}\\\\n\\\\n@supports (content: 'content') {\\\\n a {\\\\n content: 'content';\\\\n }\\\\n}\\\\n\\\\n[class~='content'] {\\\\n color:green;\\\\n}\\\\n\\\\n.ABtimDL9fvKNWc1BjB59 {\\\\n background: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n}\\\\n\\\\n.K7O_z8z4VzoG6Ru_jb_T {\\\\n background: red;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"v-def\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"v-def\\"] + \\"\\", - \\"v-other\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"v-other\\"] + \\"\\", - \\"s-white\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"s-white\\"] + \\"\\", - \\"m-small\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"m-small\\"] + \\"\\", - \\"v-something\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"v-something\\"] + \\"\\", - \\"v-foo\\": \\"blue\\", - \\"v-bar\\": \\"block\\", - \\"v-primary\\": \\"#BF4040\\", - \\"s-black\\": \\"black-selector\\", - \\"m-large\\": \\"(min-width: 960px)\\", - \\"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(http://"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 */\\", - \\"v-function\\": \\"rgb(0,0,0)\\", - \\"v-unicode-range\\": \\"U+0025-00FF\\", - \\"ghi\\": \\"JrMovmNxiARceckPi1Bb\\", - \\"my-class\\": \\"_xZYrLKW96sXm2aniadM\\", - \\"other\\": \\"cXIvIhl_Be3NhMPQoE0z\\", - \\"other-other\\": \\"wyIZMXPNE2D7zb9VCrHe\\", - \\"green\\": \\"as9P70j15m_wICZ94IJx\\", - \\"foo\\": \\"zAepmy_SqloGdZJJmXNm\\", - \\"simple\\": \\"n_zXxs10wzKREXQdQrw9 \\" + ___CSS_LOADER_ICSS_IMPORT_2___.locals[\\"imported-simple\\"] + \\"\\", - \\"relative\\": \\"_u4nolEyHSlixSSx7uXN \\" + ___CSS_LOADER_ICSS_IMPORT_3___.locals[\\"imported-relative\\"] + \\"\\", - \\"top-relative\\": \\"_EXVuUxUggUhA1UEBgZk \\" + ___CSS_LOADER_ICSS_IMPORT_4___.locals[\\"imported-relative\\"] + \\"\\", - \\"my-module\\": \\"o2wK31qqosVXAPAdGIxD \\" + ___CSS_LOADER_ICSS_IMPORT_5___.locals[\\"imported-module\\"] + \\"\\", - \\"alias\\": \\"_Y2QYoxyUknZNv0u6wN3 \\" + ___CSS_LOADER_ICSS_IMPORT_6___.locals[\\"imported-alias\\"] + \\"\\", - \\"alias-duplicate\\": \\"wmZh7D9g5PjWvMpojahG \\" + ___CSS_LOADER_ICSS_IMPORT_6___.locals[\\"imported-alias\\"] + \\"\\", - \\"primary-selector\\": \\"uOEsMAq4YIv8PUUlnnhI\\", - \\"black-selector\\": \\"_r6IpGhEbXgocCCXZgDs\\", - \\"header\\": \\"IsCkQQmCqI3_HSI_H_hT\\", - \\"foobarbaz\\": \\"lNjqoQe7B3jKXIowFbpE\\", - \\"url\\": \\"ABtimDL9fvKNWc1BjB59\\", - \\"main\\": \\"K7O_z8z4VzoG6Ru_jb_T \\" + ___CSS_LOADER_ICSS_IMPORT_7___.locals[\\"scssClass\\"] + \\"\\" -}; +___CSS_LOADER_EXPORT___.push([module.id, \`.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(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); +} + +.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`] = ` -Array [ - Array [ +[ + [ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/test-other.css", - ".POCPJA_cwD0IJvbL8R4q { + ".s4X7wVQcTygYUV4ttKyQ { d: d; } ", "(min-width: 100px)", ], - Array [ + [ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/values.css", " ", "", ], - Array [ + [ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/something.css", " ", "", ], - Array [ + [ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/imported-simple.css", - ".kN0Z3n7LgkVJQeFmVucy { + ".pCAAqHK9Lcplw9QM7Rj0 { display: block; } ", "", ], - Array [ + [ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/relative.css", - ".HlqmBJrtIvJ3Gzgbut_w { + ".o0pMg4suYQOIzdBIQJv1 { display: inline; } ", "", ], - Array [ + [ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/top-relative.css", - ".MzX17bUYYh7fmdKVXQ9p { + ".l9CmW32NEl99tuNLdbzp { display: flex; } ", "", ], - Array [ + [ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/issue-861/node_modules/package/style.css", - ".ONhOxkn21jORUJmheiwE { + ".q49Ogfvno__tAgAiYJcD { display: inline-block; } ", "", ], - Array [ + [ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/alias.css", - "._4Zj8x54IrWF75cUaGyT { + ".dnhKs1AYKq4KodZdfzcx { display: table; } ", "", ], - Array [ + [ "../../src/index.js??ruleSet[1].rules[0].use[0]!../../node_modules/sass-loader/dist/cjs.js!./modules/composes/scss-file.scss", - ".pqdLCWFRW03AVy9uJoZX { + ".oNU7JF6MtPAFrlrthaOD { color: red; padding: 15px; }", "", ], - Array [ + [ "./modules/composes/composes.css", - ".JrMovmNxiARceckPi1Bb { + ".ozGmfTedr1GnFJDWqNUH { color: red; } -._xZYrLKW96sXm2aniadM { +.zchqshjqLbPAHaRvIBET { color: blue; } -.cXIvIhl_Be3NhMPQoE0z { +.WZBxXqS2GytaA3IBhhnd { display: block; } -.wyIZMXPNE2D7zb9VCrHe { +.W51zcAMuJMsNFi1CXgWr { width: 2112moon; } -.as9P70j15m_wICZ94IJx { +.KEl5ZxzNkpjfWorrBglC { color: green; } -.zAepmy_SqloGdZJJmXNm { +.ecAEWh2vww9pNEdyj9Jn { prop: red; duplicate: green; } -.n_zXxs10wzKREXQdQrw9 { +.CBlowYk8qiAgWWzFeXRA { color: red; } -._u4nolEyHSlixSSx7uXN { +.c_NHnDcX1bd_kuxgsuYi { color: yellow; } -._EXVuUxUggUhA1UEBgZk { +.S0Kwou8pVmsENtBP3hYm { color: gray; } -.o2wK31qqosVXAPAdGIxD { +.rq663Pq_zV0CjpwttvK4 { color: gray; } -._Y2QYoxyUknZNv0u6wN3 { +.fadRMHArJofp7sWEbPVR { color: gainsboro; } -.wmZh7D9g5PjWvMpojahG { +.sg1HlXqlWy6l6_Wm5iA7 { color: gainsboro; } -.uOEsMAq4YIv8PUUlnnhI { +.bnRUswvicYag6u0SPnvI { color: #BF4040; } -._r6IpGhEbXgocCCXZgDs { +.kEJRwpukB2OtmkGTknbU { color: black; } @media (min-width: 960px) { - .IsCkQQmCqI3_HSI_H_hT { + .hY2PI5vC9ABuJY1nkWnf { padding: 0 20px; } } @@ -1655,19 +2574,19 @@ Array [ } @media (min-width: 320px) { - .IsCkQQmCqI3_HSI_H_hT { + .hY2PI5vC9ABuJY1nkWnf { padding: 20px 20px; } } -.lNjqoQe7B3jKXIowFbpE { +.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(http://"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; @@ -1698,11 +2617,11 @@ a { color:green; } -.ABtimDL9fvKNWc1BjB59 { +.xajoqP1d3SwrjJ4WEM8g { background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); } -.K7O_z8z4VzoG6Ru_jb_T { +.Ix5nEHiVOsWuWxdx0twz { background: red; } ", @@ -1711,230 +2630,388 @@ a { ] `; -exports[`"modules" option should support resolving in composes: warnings 1`] = `Array []`; +exports[`"modules" option should support resolving in composes: warnings 1`] = ` +[ + "ModuleWarning: Module Warning (from \`replaced original path\`): +Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. + +More info: https://sass-lang.com/d/legacy-js-api", +] +`; exports[`"modules" option should throw an error on unresolved import: errors 1`] = ` -Array [ +[ "ModuleBuildError: Module build failed (from \`replaced original path\`): Error: Can't resolve './unresolved.css' in '/test/fixtures/modules/unresolved'", ] `; -exports[`"modules" option should throw an error on unresolved import: warnings 1`] = `Array []`; +exports[`"modules" option should throw an error on unresolved import: warnings 1`] = `[]`; -exports[`"modules" option should throw an error when class has unsupported name (JavaScript reserved words): errors 1`] = ` -Array [ - "ModuleParseError: Module parse failed: Unexpected keyword 'class' (7:11) -File was processed with these loaders:", -] -`; +exports[`"modules" option should throw an error when class has unsupported name (JavaScript reserved words): errors 1`] = `[]`; -exports[`"modules" option should throw an error when class has unsupported name (JavaScript reserved words): warnings 1`] = `Array []`; +exports[`"modules" option should throw an error when class has unsupported name (JavaScript reserved words): warnings 1`] = `[]`; -exports[`"modules" option should throw an error when the "namedExport" is enabled and the "exportLocalsConvention" options has not "camelCaseOnly" value: errors 1`] = ` -Array [ - "ModuleBuildError: Module build failed (from \`replaced original path\`): -Error: The \\"modules.namedExport\\" option requires the \\"modules.exportLocalsConvention\\" option to be \\"camelCaseOnly\\" or \\"dashesOnly\\"", -] -`; +exports[`"modules" option should throw an error when the "namedExport" is enabled and the "exportLocalsConvention" options has not "camelCaseOnly" value: errors 1`] = `[]`; -exports[`"modules" option should throw an error when the "namedExport" is enabled and the "exportLocalsConvention" options has not "camelCaseOnly" value: 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" option should throw an error when the "namedExport" option is "true", but the "esModule" is "false": errors 1`] = ` -Array [ +[ "ModuleBuildError: Module build failed (from \`replaced original path\`): -Error: The \\"modules.namedExport\\" option requires the \\"esModules\\" option to be enabled", +Error: The 'modules.namedExport' option requires the 'esModule' option to be enabled", ] `; -exports[`"modules" option should throw an error when the "namedExport" option is "true", but the "esModule" is "false": warnings 1`] = `Array []`; +exports[`"modules" option should throw an error when the "namedExport" option is "true", but the "esModule" is "false": warnings 1`] = `[]`; -exports[`"modules" option should throw error with composes when the "namedExport" is enabled and "exportLocalsConvention" options has invalid value: errors 1`] = ` -Array [ +exports[`"modules" option should throw error when the "exportLocalsConvention" function throw error: errors 1`] = ` +[ "ModuleBuildError: Module build failed (from \`replaced original path\`): -Error: The \\"modules.namedExport\\" option requires the \\"modules.exportLocalsConvention\\" option to be \\"camelCaseOnly\\" or \\"dashesOnly\\"", +Error: namedExportFn error", ] `; -exports[`"modules" option should throw error with composes when the "namedExport" is enabled and "exportLocalsConvention" options has invalid value: warnings 1`] = `Array []`; +exports[`"modules" option should throw error when the "exportLocalsConvention" function throw error: warnings 1`] = `[]`; -exports[`"modules" option should work and correctly replace escaped symbols: 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" option should throw error with composes when the "namedExport" is enabled and "exportLocalsConvention" options has invalid value: warnings 1`] = `[]`; + +exports[`"modules" option should work and correctly replace escaped symbols: errors 1`] = `[]`; exports[`"modules" option should work and correctly replace escaped symbols: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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--HovV {\\\\n background: red;\\\\n}\\\\n\\\\n._test--_1mL {\\\\n background: blue;\\\\n}\\\\n\\\\n.className--MMk_ {\\\\n background: red;\\\\n}\\\\n\\\\n#someId--f_mZ {\\\\n background: green;\\\\n}\\\\n\\\\n.className--MMk_ .subClass--FYyI {\\\\n color: green;\\\\n}\\\\n\\\\n#someId--f_mZ .subClass--FYyI {\\\\n color: blue;\\\\n}\\\\n\\\\n.-a0-34a___f--r_hi {\\\\n color: red;\\\\n}\\\\n\\\\n.m_x_\\\\\\\\@--yUrn {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n.B\\\\\\\\&W\\\\\\\\?--O_Xk {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\":\`(\\\\\\" */\\\\n.\\\\\\\\3A \\\\\\\\\`\\\\\\\\(--_rpC {\\\\n color: aqua;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\"1a2b3c\\\\\\" */\\\\n.\\\\\\\\31 a2b3c--mxXe {\\\\n color: aliceblue;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"#fake-id\\\\\\" */\\\\n#\\\\\\\\#fake-id--_92k {\\\\n color: antiquewhite;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"-a-b-c-\\\\\\" */\\\\n#-a-b-c---c0kk {\\\\n color: azure;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"©\\\\\\" */\\\\n#©--DLos {\\\\n color: black;\\\\n}\\\\n\\\\n.♥--HQMf { background: lime; }\\\\n.©--DLos { background: lime; }\\\\n.“‘’”--bS0L { background: lime; }\\\\n.☺☃--F0_y { background: lime; }\\\\n.⌘⌥--VyeH { background: lime; }\\\\n.𝄞♪♩♫♬--Qi7p { background: lime; }\\\\n.💩--CjG3 { background: lime; }\\\\n.\\\\\\\\?--heeA { background: lime; }\\\\n.\\\\\\\\@--Yofb { background: lime; }\\\\n.\\\\\\\\.--_29W { background: lime; }\\\\n.\\\\\\\\3A \\\\\\\\)--I_4A { background: lime; }\\\\n.\\\\\\\\3A \\\\\\\\\`\\\\\\\\(--_rpC { background: lime; }\\\\n.\\\\\\\\31 23--_Oc_ { background: lime; }\\\\n.\\\\\\\\31 a2b3c--mxXe { background: lime; }\\\\n.\\\\\\\\
--KBVL { background: lime; }\\\\n.\\\\\\\\<\\\\\\\\>\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\>\\\\\\\\>\\\\\\\\<\\\\\\\\>--vOWm { background: lime; }\\\\n.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\[\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\-\\\\\\\\]\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\<\\\\\\\\<\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\.--_D32 { background: lime; }\\\\n.\\\\\\\\#--LpBE { background: lime; }\\\\n.\\\\\\\\#\\\\\\\\#--wZKD { background: lime; }\\\\n.\\\\\\\\#\\\\\\\\.\\\\\\\\#\\\\\\\\.\\\\\\\\#--oGI7 { background: lime; }\\\\n.\\\\\\\\_--myeU { background: lime; }\\\\n.\\\\\\\\{\\\\\\\\}--Mae7 { background: lime; }\\\\n.\\\\\\\\#fake\\\\\\\\-id--_92k { background: lime; }\\\\n.foo\\\\\\\\.bar--TpLC { background: lime; }\\\\n.\\\\\\\\3A hover--l6Av { background: lime; }\\\\n.\\\\\\\\3A hover\\\\\\\\3A focus\\\\\\\\3A active--ZGmd { background: lime; }\\\\n.\\\\\\\\[attr\\\\\\\\=value\\\\\\\\]--KPlJ { background: lime; }\\\\n.f\\\\\\\\/o\\\\\\\\/o--DIrF { background: lime; }\\\\n.f\\\\\\\\\\\\\\\\o\\\\\\\\\\\\\\\\o--H1kn { background: lime; }\\\\n.f\\\\\\\\*o\\\\\\\\*o--_vAK { background: lime; }\\\\n.f\\\\\\\\!o\\\\\\\\!o--APY_ { background: lime; }\\\\n.f\\\\\\\\'o\\\\\\\\'o--jTuA { background: lime; }\\\\n.f\\\\\\\\~o\\\\\\\\~o--S4Vv { background: lime; }\\\\n.f\\\\\\\\+o\\\\\\\\+o--AWIs { background: lime; }\\\\n\\\\n.foo\\\\\\\\/bar--DhId {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo\\\\\\\\\\\\\\\\bar--aeKk {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo\\\\\\\\/bar\\\\\\\\/baz--QFT1 {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo\\\\\\\\\\\\\\\\bar\\\\\\\\\\\\\\\\baz--uM3R {\\\\n background: hotpink;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"123\\": \\"123--_Oc_\\", - \\"test\\": \\"test--HovV\\", - \\"_test\\": \\"_test--_1mL\\", - \\"className\\": \\"className--MMk_\\", - \\"someId\\": \\"someId--f_mZ\\", - \\"subClass\\": \\"subClass--FYyI\\", - \\"-a0-34a___f\\": \\"-a0-34a___f--r_hi\\", - \\"m_x_@\\": \\"m_x_@--yUrn\\", - \\"B&W?\\": \\"B&W?--O_Xk\\", - \\":\`(\\": \\":\`(--_rpC\\", - \\"1a2b3c\\": \\"1a2b3c--mxXe\\", - \\"#fake-id\\": \\"#fake-id--_92k\\", - \\"-a-b-c-\\": \\"-a-b-c---c0kk\\", - \\"©\\": \\"©--DLos\\", - \\"♥\\": \\"♥--HQMf\\", - \\"“‘’”\\": \\"“‘’”--bS0L\\", - \\"☺☃\\": \\"☺☃--F0_y\\", - \\"⌘⌥\\": \\"⌘⌥--VyeH\\", - \\"𝄞♪♩♫♬\\": \\"𝄞♪♩♫♬--Qi7p\\", - \\"💩\\": \\"💩--CjG3\\", - \\"?\\": \\"?--heeA\\", - \\"@\\": \\"@--Yofb\\", - \\".\\": \\".--_29W\\", - \\":)\\": \\":)--I_4A\\", - \\"
\\": \\"
--KBVL\\", - \\"<><<<>><>\\": \\"<><<<>><>--vOWm\\", - \\"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\\": \\"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.--_D32\\", - \\"#\\": \\"#--LpBE\\", - \\"##\\": \\"##--wZKD\\", - \\"#.#.#\\": \\"#.#.#--oGI7\\", - \\"_\\": \\"_--myeU\\", - \\"{}\\": \\"{}--Mae7\\", - \\"foo.bar\\": \\"foo.bar--TpLC\\", - \\":hover\\": \\":hover--l6Av\\", - \\":hover:focus:active\\": \\":hover:focus:active--ZGmd\\", - \\"[attr=value]\\": \\"[attr=value]--KPlJ\\", - \\"f/o/o\\": \\"f/o/o--DIrF\\", - \\"f\\\\\\\\o\\\\\\\\o\\": \\"f\\\\\\\\o\\\\\\\\o--H1kn\\", - \\"f*o*o\\": \\"f*o*o--_vAK\\", - \\"f!o!o\\": \\"f!o!o--APY_\\", - \\"f'o'o\\": \\"f'o'o--jTuA\\", - \\"f~o~o\\": \\"f~o~o--S4Vv\\", - \\"f+o+o\\": \\"f+o+o--AWIs\\", - \\"foo/bar\\": \\"foo/bar--DhId\\", - \\"foo\\\\\\\\bar\\": \\"foo\\\\\\\\bar--aeKk\\", - \\"foo/bar/baz\\": \\"foo/bar/baz--QFT1\\", - \\"foo\\\\\\\\bar\\\\\\\\baz\\": \\"foo\\\\\\\\bar\\\\\\\\baz--uM3R\\" -}; +___CSS_LOADER_EXPORT___.push([module.id, \`.test--KuIS { + background: red; +} + +._test--Lb3f { + background: blue; +} + +.className--Ldhp { + background: red; +} + +#someId--b0rh { + background: green; +} + +.className--Ldhp .subClass--Mw9j { + color: green; +} + +#someId--b0rh .subClass--Mw9j { + color: blue; +} + +.-a0-34a___f--DdFW { + color: red; +} + +.m_x_\\\\@--OdAm { + margin-left: auto !important; + margin-right: auto !important; +} + +.B\\\\&W\\\\?--h4SE { + margin-left: auto !important; + margin-right: auto !important; +} + +/* matches elements with class=":\\\`(" */ +.\\\\3A \\\\\\\`\\\\(--fKJQ { + color: aqua; +} + +/* matches elements with class="1a2b3c" */ +.\\\\31 a2b3c--YR1u { + color: aliceblue; +} + +/* matches the element with id="#fake-id" */ +#\\\\#fake-id--AqiA { + color: antiquewhite; +} + +/* matches the element with id="-a-b-c-" */ +#-a-b-c---CwXv { + color: azure; +} + +/* matches the element with id="©" */ +#©--jBj0 { + color: black; +} + +.♥--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; +} + +.foo\\\\\\\\bar--IgSz { + background: hotpink; +} + +.foo\\\\/bar\\\\/baz--p6KJ { + background: hotpink; +} + +.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`] = ` -Array [ - Array [ +[ + [ "./modules/localIdentName/localIdentName.css", - ".test--HovV { + ".test--KuIS { background: red; } -._test--_1mL { +._test--Lb3f { background: blue; } -.className--MMk_ { +.className--Ldhp { background: red; } -#someId--f_mZ { +#someId--b0rh { background: green; } -.className--MMk_ .subClass--FYyI { +.className--Ldhp .subClass--Mw9j { color: green; } -#someId--f_mZ .subClass--FYyI { +#someId--b0rh .subClass--Mw9j { color: blue; } -.-a0-34a___f--r_hi { +.-a0-34a___f--DdFW { color: red; } -.m_x_\\\\@--yUrn { +.m_x_\\@--OdAm { margin-left: auto !important; margin-right: auto !important; } -.B\\\\&W\\\\?--O_Xk { +.B\\&W\\?--h4SE { margin-left: auto !important; margin-right: auto !important; } -/* matches elements with class=\\":\`(\\" */ -.\\\\3A \\\\\`\\\\(--_rpC { +/* matches elements with class=":\`(" */ +.\\3A \\\`\\(--fKJQ { color: aqua; } -/* matches elements with class=\\"1a2b3c\\" */ -.\\\\31 a2b3c--mxXe { +/* matches elements with class="1a2b3c" */ +.\\31 a2b3c--YR1u { color: aliceblue; } -/* matches the element with id=\\"#fake-id\\" */ -#\\\\#fake-id--_92k { +/* matches the element with id="#fake-id" */ +#\\#fake-id--AqiA { color: antiquewhite; } -/* matches the element with id=\\"-a-b-c-\\" */ -#-a-b-c---c0kk { +/* matches the element with id="-a-b-c-" */ +#-a-b-c---CwXv { color: azure; } -/* matches the element with id=\\"©\\" */ -#©--DLos { +/* matches the element with id="©" */ +#©--jBj0 { color: black; } -.♥--HQMf { background: lime; } -.©--DLos { background: lime; } -.“‘’”--bS0L { background: lime; } -.☺☃--F0_y { background: lime; } -.⌘⌥--VyeH { background: lime; } -.𝄞♪♩♫♬--Qi7p { background: lime; } -.💩--CjG3 { background: lime; } -.\\\\?--heeA { background: lime; } -.\\\\@--Yofb { background: lime; } -.\\\\.--_29W { background: lime; } -.\\\\3A \\\\)--I_4A { background: lime; } -.\\\\3A \\\\\`\\\\(--_rpC { background: lime; } -.\\\\31 23--_Oc_ { background: lime; } -.\\\\31 a2b3c--mxXe { background: lime; } -.\\\\
--KBVL { background: lime; } -.\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\>--vOWm { background: lime; } -.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\.--_D32 { background: lime; } -.\\\\#--LpBE { background: lime; } -.\\\\#\\\\#--wZKD { background: lime; } -.\\\\#\\\\.\\\\#\\\\.\\\\#--oGI7 { background: lime; } -.\\\\_--myeU { background: lime; } -.\\\\{\\\\}--Mae7 { background: lime; } -.\\\\#fake\\\\-id--_92k { background: lime; } -.foo\\\\.bar--TpLC { background: lime; } -.\\\\3A hover--l6Av { background: lime; } -.\\\\3A hover\\\\3A focus\\\\3A active--ZGmd { background: lime; } -.\\\\[attr\\\\=value\\\\]--KPlJ { background: lime; } -.f\\\\/o\\\\/o--DIrF { background: lime; } -.f\\\\\\\\o\\\\\\\\o--H1kn { background: lime; } -.f\\\\*o\\\\*o--_vAK { background: lime; } -.f\\\\!o\\\\!o--APY_ { background: lime; } -.f\\\\'o\\\\'o--jTuA { background: lime; } -.f\\\\~o\\\\~o--S4Vv { background: lime; } -.f\\\\+o\\\\+o--AWIs { background: lime; } - -.foo\\\\/bar--DhId { +.♥--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; } -.foo\\\\\\\\bar--aeKk { +.foo\\\\bar--IgSz { background: hotpink; } -.foo\\\\/bar\\\\/baz--QFT1 { +.foo\\/bar\\/baz--p6KJ { background: hotpink; } -.foo\\\\\\\\bar\\\\\\\\baz--uM3R { +.foo\\\\bar\\\\baz--HZer { background: hotpink; } ", @@ -1943,75 +3020,280 @@ Array [ ] `; -exports[`"modules" option should work and correctly replace escaped symbols: warnings 1`] = `Array []`; - -exports[`"modules" option should work and has "undefined" context if no context was given: 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_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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 {\\\\n background: red;\\\\n}\\\\n\\\\n.foo {\\\\n background: blue;\\\\n}\\\\n\\\\n.foo {\\\\n background: red;\\\\n}\\\\n\\\\n#foo {\\\\n background: green;\\\\n}\\\\n\\\\n.foo .foo {\\\\n color: green;\\\\n}\\\\n\\\\n#foo .foo {\\\\n color: blue;\\\\n}\\\\n\\\\n.foo {\\\\n color: red;\\\\n}\\\\n\\\\n.foo {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n.foo {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\":\`(\\\\\\" */\\\\n.foo {\\\\n color: aqua;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\"1a2b3c\\\\\\" */\\\\n.foo {\\\\n color: aliceblue;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"#fake-id\\\\\\" */\\\\n#foo {\\\\n color: antiquewhite;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"-a-b-c-\\\\\\" */\\\\n#foo {\\\\n color: azure;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"©\\\\\\" */\\\\n#foo {\\\\n color: black;\\\\n}\\\\n\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n\\\\n.foo {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo {\\\\n background: hotpink;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"123\\": \\"foo\\", - \\"test\\": \\"foo\\", - \\"_test\\": \\"foo\\", - \\"className\\": \\"foo\\", - \\"someId\\": \\"foo\\", - \\"subClass\\": \\"foo\\", - \\"-a0-34a___f\\": \\"foo\\", - \\"m_x_@\\": \\"foo\\", - \\"B&W?\\": \\"foo\\", - \\":\`(\\": \\"foo\\", - \\"1a2b3c\\": \\"foo\\", - \\"#fake-id\\": \\"foo\\", - \\"-a-b-c-\\": \\"foo\\", - \\"©\\": \\"foo\\", - \\"♥\\": \\"foo\\", - \\"“‘’”\\": \\"foo\\", - \\"☺☃\\": \\"foo\\", - \\"⌘⌥\\": \\"foo\\", - \\"𝄞♪♩♫♬\\": \\"foo\\", - \\"💩\\": \\"foo\\", - \\"?\\": \\"foo\\", - \\"@\\": \\"foo\\", - \\".\\": \\"foo\\", - \\":)\\": \\"foo\\", - \\"
\\": \\"foo\\", - \\"<><<<>><>\\": \\"foo\\", - \\"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\\": \\"foo\\", - \\"#\\": \\"foo\\", - \\"##\\": \\"foo\\", - \\"#.#.#\\": \\"foo\\", - \\"_\\": \\"foo\\", - \\"{}\\": \\"foo\\", - \\"foo.bar\\": \\"foo\\", - \\":hover\\": \\"foo\\", - \\":hover:focus:active\\": \\"foo\\", - \\"[attr=value]\\": \\"foo\\", - \\"f/o/o\\": \\"foo\\", - \\"f\\\\\\\\o\\\\\\\\o\\": \\"foo\\", - \\"f*o*o\\": \\"foo\\", - \\"f!o!o\\": \\"foo\\", - \\"f'o'o\\": \\"foo\\", - \\"f~o~o\\": \\"foo\\", - \\"f+o+o\\": \\"foo\\", - \\"foo/bar\\": \\"foo\\", - \\"foo\\\\\\\\bar\\": \\"foo\\", - \\"foo/bar/baz\\": \\"foo\\", - \\"foo\\\\\\\\bar\\\\\\\\baz\\": \\"foo\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; - -exports[`"modules" option should work and has "undefined" context if no context was given: result 1`] = ` -Array [ - Array [ - "./modules/localIdentName/localIdentName.css", - ".foo { +___CSS_LOADER_EXPORT___.push([module.id, \`.foo { background: red; } @@ -2049,27 +3331,27 @@ Array [ margin-right: auto !important; } -/* matches elements with class=\\":\`(\\" */ +/* matches elements with class=":\\\`(" */ .foo { color: aqua; } -/* matches elements with class=\\"1a2b3c\\" */ +/* matches elements with class="1a2b3c" */ .foo { color: aliceblue; } -/* matches the element with id=\\"#fake-id\\" */ +/* matches the element with id="#fake-id" */ #foo { color: antiquewhite; } -/* matches the element with id=\\"-a-b-c-\\" */ +/* matches the element with id="-a-b-c-" */ #foo { color: azure; } -/* matches the element with id=\\"©\\" */ +/* matches the element with id="©" */ #foo { color: black; } @@ -2108,6 +3390,7 @@ Array [ .foo { background: lime; } .foo { background: lime; } .foo { background: lime; } +.foo { background: lime; } .foo { background: hotpink; @@ -2124,201 +3407,364 @@ Array [ .foo { background: hotpink; } -", - "", - ], -] -`; - -exports[`"modules" option should work and has "undefined" context if no context was given: warnings 1`] = `Array []`; - -exports[`"modules" option should work and prefer relative for "composes": errors 1`] = `Array []`; - -exports[`"modules" option should work and prefer relative for "composes": module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./package/one.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_1___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./node_modules/package/two.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___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, \\".K5Y5lujJvJQUStc4_Kt_ {\\\\n color: yellow;\\\\n}\\\\n\\\\n.IWnmxZHjAURFvURi0DXC {\\\\n color: yellow;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"one\\": \\"K5Y5lujJvJQUStc4_Kt_ \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"imported-relative\\"] + \\"\\", - \\"two\\": \\"IWnmxZHjAURFvURi0DXC \\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"imported-relative\\"] + \\"\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; - -exports[`"modules" option should work and prefer relative for "composes": result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/prefer-relative/package/one.css", - ".TpfeG_U6GdEM2gRvQdnG { - display: block; -} -", - "", - ], - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/prefer-relative/node_modules/package/two.css", - ".F7PRk4uRr_JBmRY2z5OJ { - display: inline; -} -", - "", - ], - Array [ - "./modules/prefer-relative/source.css", - ".K5Y5lujJvJQUStc4_Kt_ { - color: yellow; -} - -.IWnmxZHjAURFvURi0DXC { - color: yellow; -} -", - "", - ], -] -`; - -exports[`"modules" option should work and prefer relative for "composes": warnings 1`] = `Array []`; - -exports[`"modules" option should work and prefix leading hyphen when digit is first: errors 1`] = `Array []`; - -exports[`"modules" option should work and prefix leading hyphen when digit is first: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"._-1test {\\\\n background: red;\\\\n}\\\\n\\\\n._-1_test {\\\\n background: blue;\\\\n}\\\\n\\\\n._-1className {\\\\n background: red;\\\\n}\\\\n\\\\n#_-1someId {\\\\n background: green;\\\\n}\\\\n\\\\n._-1className ._-1subClass {\\\\n color: green;\\\\n}\\\\n\\\\n#_-1someId ._-1subClass {\\\\n color: blue;\\\\n}\\\\n\\\\n._-1-a0-34a___f {\\\\n color: red;\\\\n}\\\\n\\\\n._-1m_x_\\\\\\\\@ {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n._-1B\\\\\\\\&W\\\\\\\\? {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\":\`(\\\\\\" */\\\\n._-1\\\\\\\\3A \\\\\\\\\`\\\\\\\\( {\\\\n color: aqua;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\"1a2b3c\\\\\\" */\\\\n._-1\\\\\\\\31 a2b3c {\\\\n color: aliceblue;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"#fake-id\\\\\\" */\\\\n#_-1\\\\\\\\#fake-id {\\\\n color: antiquewhite;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"-a-b-c-\\\\\\" */\\\\n#_-1-a-b-c- {\\\\n color: azure;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"©\\\\\\" */\\\\n#_-1© {\\\\n color: black;\\\\n}\\\\n\\\\n._-1♥ { background: lime; }\\\\n._-1© { background: lime; }\\\\n._-1“‘’” { background: lime; }\\\\n._-1☺☃ { background: lime; }\\\\n._-1⌘⌥ { background: lime; }\\\\n._-1𝄞♪♩♫♬ { background: lime; }\\\\n._-1💩 { background: lime; }\\\\n._-1\\\\\\\\? { background: lime; }\\\\n._-1\\\\\\\\@ { background: lime; }\\\\n._-1\\\\\\\\. { background: lime; }\\\\n._-1\\\\\\\\3A \\\\\\\\) { background: lime; }\\\\n._-1\\\\\\\\3A \\\\\\\\\`\\\\\\\\( { background: lime; }\\\\n._-1\\\\\\\\31 23 { background: lime; }\\\\n._-1\\\\\\\\31 a2b3c { background: lime; }\\\\n._-1\\\\\\\\
{ background: lime; }\\\\n._-1\\\\\\\\<\\\\\\\\>\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\>\\\\\\\\>\\\\\\\\<\\\\\\\\> { background: lime; }\\\\n._-1\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\[\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\-\\\\\\\\]\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\<\\\\\\\\<\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\. { background: lime; }\\\\n._-1\\\\\\\\# { background: lime; }\\\\n._-1\\\\\\\\#\\\\\\\\# { background: lime; }\\\\n._-1\\\\\\\\#\\\\\\\\.\\\\\\\\#\\\\\\\\.\\\\\\\\# { background: lime; }\\\\n._-1\\\\\\\\_ { background: lime; }\\\\n._-1\\\\\\\\{\\\\\\\\} { background: lime; }\\\\n._-1\\\\\\\\#fake\\\\\\\\-id { background: lime; }\\\\n._-1foo\\\\\\\\.bar { background: lime; }\\\\n._-1\\\\\\\\3A hover { background: lime; }\\\\n._-1\\\\\\\\3A hover\\\\\\\\3A focus\\\\\\\\3A active { background: lime; }\\\\n._-1\\\\\\\\[attr\\\\\\\\=value\\\\\\\\] { background: lime; }\\\\n._-1f\\\\\\\\/o\\\\\\\\/o { background: lime; }\\\\n._-1f\\\\\\\\\\\\\\\\o\\\\\\\\\\\\\\\\o { background: lime; }\\\\n._-1f\\\\\\\\*o\\\\\\\\*o { background: lime; }\\\\n._-1f\\\\\\\\!o\\\\\\\\!o { background: lime; }\\\\n._-1f\\\\\\\\'o\\\\\\\\'o { background: lime; }\\\\n._-1f\\\\\\\\~o\\\\\\\\~o { background: lime; }\\\\n._-1f\\\\\\\\+o\\\\\\\\+o { background: lime; }\\\\n\\\\n._-1foo\\\\\\\\/bar {\\\\n background: hotpink;\\\\n}\\\\n\\\\n._-1foo\\\\\\\\\\\\\\\\bar {\\\\n background: hotpink;\\\\n}\\\\n\\\\n._-1foo\\\\\\\\/bar\\\\\\\\/baz {\\\\n background: hotpink;\\\\n}\\\\n\\\\n._-1foo\\\\\\\\\\\\\\\\bar\\\\\\\\\\\\\\\\baz {\\\\n background: hotpink;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"123\\": \\"_-1123\\", - \\"test\\": \\"_-1test\\", - \\"_test\\": \\"_-1_test\\", - \\"className\\": \\"_-1className\\", - \\"someId\\": \\"_-1someId\\", - \\"subClass\\": \\"_-1subClass\\", - \\"-a0-34a___f\\": \\"_-1-a0-34a___f\\", - \\"m_x_@\\": \\"_-1m_x_@\\", - \\"B&W?\\": \\"_-1B&W?\\", - \\":\`(\\": \\"_-1:\`(\\", - \\"1a2b3c\\": \\"_-11a2b3c\\", - \\"#fake-id\\": \\"_-1#fake-id\\", - \\"-a-b-c-\\": \\"_-1-a-b-c-\\", - \\"©\\": \\"_-1©\\", - \\"♥\\": \\"_-1♥\\", - \\"“‘’”\\": \\"_-1“‘’”\\", - \\"☺☃\\": \\"_-1☺☃\\", - \\"⌘⌥\\": \\"_-1⌘⌥\\", - \\"𝄞♪♩♫♬\\": \\"_-1𝄞♪♩♫♬\\", - \\"💩\\": \\"_-1💩\\", - \\"?\\": \\"_-1?\\", - \\"@\\": \\"_-1@\\", - \\".\\": \\"_-1.\\", - \\":)\\": \\"_-1:)\\", - \\"
\\": \\"_-1
\\", - \\"<><<<>><>\\": \\"_-1<><<<>><>\\", - \\"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\\": \\"_-1++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\\", - \\"#\\": \\"_-1#\\", - \\"##\\": \\"_-1##\\", - \\"#.#.#\\": \\"_-1#.#.#\\", - \\"_\\": \\"_-1_\\", - \\"{}\\": \\"_-1{}\\", - \\"foo.bar\\": \\"_-1foo.bar\\", - \\":hover\\": \\"_-1:hover\\", - \\":hover:focus:active\\": \\"_-1:hover:focus:active\\", - \\"[attr=value]\\": \\"_-1[attr=value]\\", - \\"f/o/o\\": \\"_-1f/o/o\\", - \\"f\\\\\\\\o\\\\\\\\o\\": \\"_-1f\\\\\\\\o\\\\\\\\o\\", - \\"f*o*o\\": \\"_-1f*o*o\\", - \\"f!o!o\\": \\"_-1f!o!o\\", - \\"f'o'o\\": \\"_-1f'o'o\\", - \\"f~o~o\\": \\"_-1f~o~o\\", - \\"f+o+o\\": \\"_-1f+o+o\\", - \\"foo/bar\\": \\"_-1foo/bar\\", - \\"foo\\\\\\\\bar\\": \\"_-1foo\\\\\\\\bar\\", - \\"foo/bar/baz\\": \\"_-1foo/bar/baz\\", - \\"foo\\\\\\\\bar\\\\\\\\baz\\": \\"_-1foo\\\\\\\\bar\\\\\\\\baz\\" -}; +\`, ""]); +// 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 prefix leading hyphen when digit is first: result 1`] = ` -Array [ - Array [ +exports[`"modules" option should work and has "undefined" context if no context was given: result 1`] = ` +[ + [ "./modules/localIdentName/localIdentName.css", - "._-1test { + ".foo { background: red; } -._-1_test { +.foo { background: blue; } -._-1className { +.foo { background: red; } -#_-1someId { +#foo { background: green; } -._-1className ._-1subClass { +.foo .foo { color: green; } -#_-1someId ._-1subClass { +#foo .foo { color: blue; } -._-1-a0-34a___f { +.foo { color: red; } -._-1m_x_\\\\@ { +.foo { margin-left: auto !important; margin-right: auto !important; } -._-1B\\\\&W\\\\? { +.foo { margin-left: auto !important; margin-right: auto !important; } -/* matches elements with class=\\":\`(\\" */ -._-1\\\\3A \\\\\`\\\\( { +/* matches elements with class=":\`(" */ +.foo { color: aqua; } -/* matches elements with class=\\"1a2b3c\\" */ -._-1\\\\31 a2b3c { +/* matches elements with class="1a2b3c" */ +.foo { color: aliceblue; } -/* matches the element with id=\\"#fake-id\\" */ -#_-1\\\\#fake-id { +/* matches the element with id="#fake-id" */ +#foo { color: antiquewhite; } -/* matches the element with id=\\"-a-b-c-\\" */ -#_-1-a-b-c- { +/* matches the element with id="-a-b-c-" */ +#foo { color: azure; } -/* matches the element with id=\\"©\\" */ -#_-1© { +/* matches the element with id="©" */ +#foo { color: black; } -._-1♥ { 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: lime; } + +.foo { + background: hotpink; +} + +.foo { + background: hotpink; +} + +.foo { + background: hotpink; +} + +.foo { + background: hotpink; +} +", + "", + ], +] +`; + +exports[`"modules" option should work and has "undefined" context if no context was given: warnings 1`] = `[]`; + +exports[`"modules" option should work and prefer relative for "composes": errors 1`] = `[]`; + +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; +} + +.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___; +" +`; + +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; +} +", + "", + ], + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/prefer-relative/node_modules/package/two.css", + ".sFLAbn2jg871KRraVJSF { + display: inline; +} +", + "", + ], + [ + "./modules/prefer-relative/source.css", + ".eY6jkKjjXnFY1QWC5gpe { + color: yellow; +} + +.cfTHoySzymaJQ150LQPh { + color: yellow; +} +", + "", + ], +] +`; + +exports[`"modules" option should work and prefer relative for "composes": warnings 1`] = `[]`; + +exports[`"modules" option should work and prefix leading hyphen when digit is first: errors 1`] = `[]`; + +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; +} + +._-1_test { + background: blue; +} + +._-1className { + background: red; +} + +#_-1someId { + background: green; +} + +._-1className ._-1subClass { + color: green; +} + +#_-1someId ._-1subClass { + color: blue; +} + +._-1-a0-34a___f { + color: red; +} + +._-1m_x_\\\\@ { + margin-left: auto !important; + margin-right: auto !important; +} + +._-1B\\\\&W\\\\? { + margin-left: auto !important; + margin-right: auto !important; +} + +/* matches elements with class=":\\\`(" */ +._-1\\\\3A \\\\\\\`\\\\( { + color: aqua; +} + +/* matches elements with class="1a2b3c" */ +._-1\\\\31 a2b3c { + color: aliceblue; +} + +/* matches the element with id="#fake-id" */ +#_-1\\\\#fake-id { + color: antiquewhite; +} + +/* matches the element with id="-a-b-c-" */ +#_-1-a-b-c- { + color: azure; +} + +/* matches the element with id="©" */ +#_-1© { + color: black; +} + +._-1♥ { background: lime; } ._-1© { background: lime; } +._-1😍 { background: lime; } ._-1“‘’” { background: lime; } ._-1☺☃ { background: lime; } ._-1⌘⌥ { background: lime; } @@ -2328,7 +3774,7 @@ Array [ ._-1\\\\@ { background: lime; } ._-1\\\\. { background: lime; } ._-1\\\\3A \\\\) { background: lime; } -._-1\\\\3A \\\\\`\\\\( { background: lime; } +._-1\\\\3A \\\\\\\`\\\\( { background: lime; } ._-1\\\\31 23 { background: lime; } ._-1\\\\31 a2b3c { background: lime; } ._-1\\\\
{ background: lime; } @@ -2367,191 +3813,218 @@ Array [ ._-1foo\\\\\\\\bar\\\\\\\\baz { background: hotpink; } -", - "", - ], -] -`; - -exports[`"modules" option should work and prefix leading hyphen when digit is first: warnings 1`] = `Array []`; - -exports[`"modules" option should work and respect the "context" option: errors 1`] = `Array []`; - -exports[`"modules" option should work and respect the "context" option: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".iWVbMXAQ {\\\\n background: red;\\\\n}\\\\n\\\\n.He1GCJOV {\\\\n background: blue;\\\\n}\\\\n\\\\n._NW736AU {\\\\n background: red;\\\\n}\\\\n\\\\n#_RC_7STK {\\\\n background: green;\\\\n}\\\\n\\\\n._NW736AU .G8XHqSyS {\\\\n color: green;\\\\n}\\\\n\\\\n#_RC_7STK .G8XHqSyS {\\\\n color: blue;\\\\n}\\\\n\\\\n._97_HC1C {\\\\n color: red;\\\\n}\\\\n\\\\n.ZqJivcfM {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n.WgDq6CTW {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\":\`(\\\\\\" */\\\\n.rOE5zMGg {\\\\n color: aqua;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\"1a2b3c\\\\\\" */\\\\n.CzutGjGI {\\\\n color: aliceblue;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"#fake-id\\\\\\" */\\\\n#ZlQLPvrz {\\\\n color: antiquewhite;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"-a-b-c-\\\\\\" */\\\\n#_Pclvjm_ {\\\\n color: azure;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"©\\\\\\" */\\\\n#L2ZwbDI_ {\\\\n color: black;\\\\n}\\\\n\\\\n.lOG33Cq2 { background: lime; }\\\\n.L2ZwbDI_ { background: lime; }\\\\n.EkC89Z3N { background: lime; }\\\\n.T1XySjWW { background: lime; }\\\\n.Funx7hq_ { background: lime; }\\\\n.wI6diwUR { background: lime; }\\\\n.LJMDoVNF { background: lime; }\\\\n.mKvtXZlg { background: lime; }\\\\n._GpKWqMb { background: lime; }\\\\n.RhtfLwD_ { background: lime; }\\\\n._Xz8AIy7 { background: lime; }\\\\n.rOE5zMGg { background: lime; }\\\\n.qwDWwoxT { background: lime; }\\\\n.CzutGjGI { background: lime; }\\\\n.etqt5B_2 { background: lime; }\\\\n.x0r0dzYM { background: lime; }\\\\n.KTSRlbnb { background: lime; }\\\\n.vpn9qATP { background: lime; }\\\\n.zZX1i6Q5 { background: lime; }\\\\n.EJaMRzXc { background: lime; }\\\\n.Ph7TeV9R { background: lime; }\\\\n._Jb3CLNK { background: lime; }\\\\n.ZlQLPvrz { background: lime; }\\\\n._eFAUJY3 { background: lime; }\\\\n.b5cLbOk6 { background: lime; }\\\\n._PBj_fPi { background: lime; }\\\\n._qf98nCH { background: lime; }\\\\n.Ax1IQl_C { background: lime; }\\\\n.HZqNz5Gu { background: lime; }\\\\n.KAD4JEMr { background: lime; }\\\\n.xrt7wem5 { background: lime; }\\\\n._U9sLYzR { background: lime; }\\\\n.frVyaGHo { background: lime; }\\\\n.KiP6wyBF { background: lime; }\\\\n\\\\n.ODXF8XoJ {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.gYF7L0BX {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.konKLI1p {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.Bp4zVpNd {\\\\n background: hotpink;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"123\\": \\"qwDWwoxT\\", - \\"test\\": \\"iWVbMXAQ\\", - \\"_test\\": \\"He1GCJOV\\", - \\"className\\": \\"_NW736AU\\", - \\"someId\\": \\"_RC_7STK\\", - \\"subClass\\": \\"G8XHqSyS\\", - \\"-a0-34a___f\\": \\"_97_HC1C\\", - \\"m_x_@\\": \\"ZqJivcfM\\", - \\"B&W?\\": \\"WgDq6CTW\\", - \\":\`(\\": \\"rOE5zMGg\\", - \\"1a2b3c\\": \\"CzutGjGI\\", - \\"#fake-id\\": \\"ZlQLPvrz\\", - \\"-a-b-c-\\": \\"_Pclvjm_\\", - \\"©\\": \\"L2ZwbDI_\\", - \\"♥\\": \\"lOG33Cq2\\", - \\"“‘’”\\": \\"EkC89Z3N\\", - \\"☺☃\\": \\"T1XySjWW\\", - \\"⌘⌥\\": \\"Funx7hq_\\", - \\"𝄞♪♩♫♬\\": \\"wI6diwUR\\", - \\"💩\\": \\"LJMDoVNF\\", - \\"?\\": \\"mKvtXZlg\\", - \\"@\\": \\"_GpKWqMb\\", - \\".\\": \\"RhtfLwD_\\", - \\":)\\": \\"_Xz8AIy7\\", - \\"
\\": \\"etqt5B_2\\", - \\"<><<<>><>\\": \\"x0r0dzYM\\", - \\"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\\": \\"KTSRlbnb\\", - \\"#\\": \\"vpn9qATP\\", - \\"##\\": \\"zZX1i6Q5\\", - \\"#.#.#\\": \\"EJaMRzXc\\", - \\"_\\": \\"Ph7TeV9R\\", - \\"{}\\": \\"_Jb3CLNK\\", - \\"foo.bar\\": \\"_eFAUJY3\\", - \\":hover\\": \\"b5cLbOk6\\", - \\":hover:focus:active\\": \\"_PBj_fPi\\", - \\"[attr=value]\\": \\"_qf98nCH\\", - \\"f/o/o\\": \\"Ax1IQl_C\\", - \\"f\\\\\\\\o\\\\\\\\o\\": \\"HZqNz5Gu\\", - \\"f*o*o\\": \\"KAD4JEMr\\", - \\"f!o!o\\": \\"xrt7wem5\\", - \\"f'o'o\\": \\"_U9sLYzR\\", - \\"f~o~o\\": \\"frVyaGHo\\", - \\"f+o+o\\": \\"KiP6wyBF\\", - \\"foo/bar\\": \\"ODXF8XoJ\\", - \\"foo\\\\\\\\bar\\": \\"gYF7L0BX\\", - \\"foo/bar/baz\\": \\"konKLI1p\\", - \\"foo\\\\\\\\bar\\\\\\\\baz\\": \\"Bp4zVpNd\\" -}; +\`, ""]); +// 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 respect the "context" option: result 1`] = ` -Array [ - Array [ +exports[`"modules" option should work and prefix leading hyphen when digit is first: result 1`] = ` +[ + [ "./modules/localIdentName/localIdentName.css", - ".iWVbMXAQ { + "._-1test { background: red; } -.He1GCJOV { +._-1_test { background: blue; } -._NW736AU { +._-1className { background: red; } -#_RC_7STK { +#_-1someId { background: green; } -._NW736AU .G8XHqSyS { +._-1className ._-1subClass { color: green; } -#_RC_7STK .G8XHqSyS { +#_-1someId ._-1subClass { color: blue; } -._97_HC1C { +._-1-a0-34a___f { color: red; } -.ZqJivcfM { +._-1m_x_\\@ { margin-left: auto !important; margin-right: auto !important; } -.WgDq6CTW { +._-1B\\&W\\? { margin-left: auto !important; margin-right: auto !important; } -/* matches elements with class=\\":\`(\\" */ -.rOE5zMGg { +/* matches elements with class=":\`(" */ +._-1\\3A \\\`\\( { color: aqua; } -/* matches elements with class=\\"1a2b3c\\" */ -.CzutGjGI { +/* matches elements with class="1a2b3c" */ +._-1\\31 a2b3c { color: aliceblue; } -/* matches the element with id=\\"#fake-id\\" */ -#ZlQLPvrz { +/* matches the element with id="#fake-id" */ +#_-1\\#fake-id { color: antiquewhite; } -/* matches the element with id=\\"-a-b-c-\\" */ -#_Pclvjm_ { +/* matches the element with id="-a-b-c-" */ +#_-1-a-b-c- { color: azure; } -/* matches the element with id=\\"©\\" */ -#L2ZwbDI_ { +/* matches the element with id="©" */ +#_-1© { color: black; } -.lOG33Cq2 { background: lime; } -.L2ZwbDI_ { background: lime; } -.EkC89Z3N { background: lime; } -.T1XySjWW { background: lime; } -.Funx7hq_ { background: lime; } -.wI6diwUR { background: lime; } -.LJMDoVNF { background: lime; } -.mKvtXZlg { background: lime; } -._GpKWqMb { background: lime; } -.RhtfLwD_ { background: lime; } -._Xz8AIy7 { background: lime; } -.rOE5zMGg { background: lime; } -.qwDWwoxT { background: lime; } -.CzutGjGI { background: lime; } -.etqt5B_2 { background: lime; } -.x0r0dzYM { background: lime; } -.KTSRlbnb { background: lime; } -.vpn9qATP { background: lime; } -.zZX1i6Q5 { background: lime; } -.EJaMRzXc { background: lime; } -.Ph7TeV9R { background: lime; } -._Jb3CLNK { background: lime; } -.ZlQLPvrz { background: lime; } -._eFAUJY3 { background: lime; } -.b5cLbOk6 { background: lime; } -._PBj_fPi { background: lime; } -._qf98nCH { background: lime; } -.Ax1IQl_C { background: lime; } -.HZqNz5Gu { background: lime; } -.KAD4JEMr { background: lime; } -.xrt7wem5 { background: lime; } -._U9sLYzR { background: lime; } -.frVyaGHo { background: lime; } -.KiP6wyBF { background: lime; } - -.ODXF8XoJ { +._-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; } + +._-1foo\\/bar { background: hotpink; } -.gYF7L0BX { +._-1foo\\\\bar { background: hotpink; } -.konKLI1p { +._-1foo\\/bar\\/baz { background: hotpink; } -.Bp4zVpNd { +._-1foo\\\\bar\\\\baz { background: hotpink; } ", @@ -2560,491 +4033,342 @@ Array [ ] `; -exports[`"modules" option should work and respect the "context" option: warnings 1`] = `Array []`; +exports[`"modules" option should work and prefix leading hyphen when digit is first: warnings 1`] = `[]`; -exports[`"modules" option should work and respect the "exportOnlyLocals" option: errors 1`] = `Array []`; +exports[`"modules" option should work and respect the "context" option: errors 1`] = `[]`; -exports[`"modules" option should work and respect the "exportOnlyLocals" option: module 1`] = ` +exports[`"modules" option should work and respect the "context" option: module 1`] = ` "// Imports -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./values.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_1___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_2___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported-simple.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_3___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./relative.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_4___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./top-relative.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_5___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!../issue-861/node_modules/package/style.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_6___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./alias.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_7___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!sass-loader!./scss-file.scss\\"; -// Exports -export default { - \\"v-def\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___[\\"v-def\\"] + \\"\\", - \\"v-other\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___[\\"v-other\\"] + \\"\\", - \\"s-white\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___[\\"s-white\\"] + \\"\\", - \\"m-small\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___[\\"m-small\\"] + \\"\\", - \\"v-something\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_1___[\\"v-something\\"] + \\"\\", - \\"v-foo\\": \\"blue\\", - \\"v-bar\\": \\"block\\", - \\"v-primary\\": \\"#BF4040\\", - \\"s-black\\": \\"black-selector\\", - \\"m-large\\": \\"(min-width: 960px)\\", - \\"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(http://"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 */\\", - \\"v-function\\": \\"rgb(0,0,0)\\", - \\"v-unicode-range\\": \\"U+0025-00FF\\", - \\"ghi\\": \\"_ghi\\", - \\"my-class\\": \\"_my-class\\", - \\"other\\": \\"_other\\", - \\"other-other\\": \\"_other-other\\", - \\"green\\": \\"_green\\", - \\"foo\\": \\"_foo\\", - \\"simple\\": \\"_simple \\" + ___CSS_LOADER_ICSS_IMPORT_2___[\\"imported-simple\\"] + \\"\\", - \\"relative\\": \\"_relative \\" + ___CSS_LOADER_ICSS_IMPORT_3___[\\"imported-relative\\"] + \\"\\", - \\"top-relative\\": \\"_top-relative \\" + ___CSS_LOADER_ICSS_IMPORT_4___[\\"imported-relative\\"] + \\"\\", - \\"my-module\\": \\"_my-module \\" + ___CSS_LOADER_ICSS_IMPORT_5___[\\"imported-module\\"] + \\"\\", - \\"alias\\": \\"_alias \\" + ___CSS_LOADER_ICSS_IMPORT_6___[\\"imported-alias\\"] + \\"\\", - \\"alias-duplicate\\": \\"_alias-duplicate \\" + ___CSS_LOADER_ICSS_IMPORT_6___[\\"imported-alias\\"] + \\"\\", - \\"primary-selector\\": \\"_primary-selector\\", - \\"black-selector\\": \\"_black-selector\\", - \\"header\\": \\"_header\\", - \\"foobarbaz\\": \\"_foobarbaz\\", - \\"url\\": \\"_url\\", - \\"main\\": \\"_main \\" + ___CSS_LOADER_ICSS_IMPORT_7___[\\"scssClass\\"] + \\"\\" -}; -" -`; +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" option should work and respect the "exportOnlyLocals" option: result 1`] = ` -Object { - "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(http://"https//www.exammple.com/images/my-background.png//")", +.TGo4Rmnn { + background: blue; } -`; -exports[`"modules" option should work and respect the "exportOnlyLocals" option: warnings 1`] = `Array []`; +.V3rkzYqn { + background: red; +} -exports[`"modules" option should work and respect the "getLocalIdent" option: errors 1`] = `Array []`; +#p0emrDgk { + background: green; +} -exports[`"modules" option should work and respect the "getLocalIdent" option: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".foo {\\\\n background: red;\\\\n}\\\\n\\\\n.foo {\\\\n background: blue;\\\\n}\\\\n\\\\n.foo {\\\\n background: red;\\\\n}\\\\n\\\\n#foo {\\\\n background: green;\\\\n}\\\\n\\\\n.foo .foo {\\\\n color: green;\\\\n}\\\\n\\\\n#foo .foo {\\\\n color: blue;\\\\n}\\\\n\\\\n.foo {\\\\n color: red;\\\\n}\\\\n\\\\n.foo {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n.foo {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\":\`(\\\\\\" */\\\\n.foo {\\\\n color: aqua;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\"1a2b3c\\\\\\" */\\\\n.foo {\\\\n color: aliceblue;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"#fake-id\\\\\\" */\\\\n#foo {\\\\n color: antiquewhite;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"-a-b-c-\\\\\\" */\\\\n#foo {\\\\n color: azure;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"©\\\\\\" */\\\\n#foo {\\\\n color: black;\\\\n}\\\\n\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n.foo { background: lime; }\\\\n\\\\n.foo {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo {\\\\n background: hotpink;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"123\\": \\"foo\\", - \\"test\\": \\"foo\\", - \\"_test\\": \\"foo\\", - \\"className\\": \\"foo\\", - \\"someId\\": \\"foo\\", - \\"subClass\\": \\"foo\\", - \\"-a0-34a___f\\": \\"foo\\", - \\"m_x_@\\": \\"foo\\", - \\"B&W?\\": \\"foo\\", - \\":\`(\\": \\"foo\\", - \\"1a2b3c\\": \\"foo\\", - \\"#fake-id\\": \\"foo\\", - \\"-a-b-c-\\": \\"foo\\", - \\"©\\": \\"foo\\", - \\"♥\\": \\"foo\\", - \\"“‘’”\\": \\"foo\\", - \\"☺☃\\": \\"foo\\", - \\"⌘⌥\\": \\"foo\\", - \\"𝄞♪♩♫♬\\": \\"foo\\", - \\"💩\\": \\"foo\\", - \\"?\\": \\"foo\\", - \\"@\\": \\"foo\\", - \\".\\": \\"foo\\", - \\":)\\": \\"foo\\", - \\"
\\": \\"foo\\", - \\"<><<<>><>\\": \\"foo\\", - \\"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\\": \\"foo\\", - \\"#\\": \\"foo\\", - \\"##\\": \\"foo\\", - \\"#.#.#\\": \\"foo\\", - \\"_\\": \\"foo\\", - \\"{}\\": \\"foo\\", - \\"foo.bar\\": \\"foo\\", - \\":hover\\": \\"foo\\", - \\":hover:focus:active\\": \\"foo\\", - \\"[attr=value]\\": \\"foo\\", - \\"f/o/o\\": \\"foo\\", - \\"f\\\\\\\\o\\\\\\\\o\\": \\"foo\\", - \\"f*o*o\\": \\"foo\\", - \\"f!o!o\\": \\"foo\\", - \\"f'o'o\\": \\"foo\\", - \\"f~o~o\\": \\"foo\\", - \\"f+o+o\\": \\"foo\\", - \\"foo/bar\\": \\"foo\\", - \\"foo\\\\\\\\bar\\": \\"foo\\", - \\"foo/bar/baz\\": \\"foo\\", - \\"foo\\\\\\\\bar\\\\\\\\baz\\": \\"foo\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; - -exports[`"modules" option should work and respect the "getLocalIdent" option: result 1`] = ` -Array [ - Array [ - "./modules/localIdentName/localIdentName.css", - ".foo { - background: red; -} - -.foo { - background: blue; -} - -.foo { - background: red; -} - -#foo { - background: green; -} - -.foo .foo { +.V3rkzYqn .v0YwV1mq { color: green; } -#foo .foo { +#p0emrDgk .v0YwV1mq { color: blue; } -.foo { +.iD7O58t6 { color: red; } -.foo { +.RH_w1QEb { margin-left: auto !important; margin-right: auto !important; } -.foo { +.Ag92YvL3 { margin-left: auto !important; margin-right: auto !important; } -/* matches elements with class=\\":\`(\\" */ -.foo { +/* matches elements with class=":\\\`(" */ +.ETB9N0Rx { color: aqua; } -/* matches elements with class=\\"1a2b3c\\" */ -.foo { +/* matches elements with class="1a2b3c" */ +.LEy8bpHz { color: aliceblue; } -/* matches the element with id=\\"#fake-id\\" */ -#foo { +/* matches the element with id="#fake-id" */ +#JOQqQG3P { color: antiquewhite; } -/* matches the element with id=\\"-a-b-c-\\" */ -#foo { +/* matches the element with id="-a-b-c-" */ +#LD6vZ0vn { color: azure; } -/* matches the element with id=\\"©\\" */ -#foo { +/* matches the element with id="©" */ +#bD4iEyBe { 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 { +.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; } + +.GOPxpaxq { background: hotpink; } -.foo { +.chesbSdq { background: hotpink; } -.foo { +.QMeNd406 { background: hotpink; } -.foo { +.jXaakDKS { background: hotpink; } -", - "", - ], -] -`; - -exports[`"modules" option should work and respect the "getLocalIdent" option: warnings 1`] = `Array []`; - -exports[`"modules" option should work and respect the "hashSalt" option: errors 1`] = `Array []`; - -exports[`"modules" option should work and respect the "hashSalt" option: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".test--b41321249ebb0685e661 {\\\\n background: red;\\\\n}\\\\n\\\\n._test--e605d9d2b9f8d108a3bc {\\\\n background: blue;\\\\n}\\\\n\\\\n.className--_2bb9d8df40e3da04687 {\\\\n background: red;\\\\n}\\\\n\\\\n#someId--_c0f0ebc91d4fb36eb39 {\\\\n background: green;\\\\n}\\\\n\\\\n.className--_2bb9d8df40e3da04687 .subClass--f26ced8fae092bbf6c32 {\\\\n color: green;\\\\n}\\\\n\\\\n#someId--_c0f0ebc91d4fb36eb39 .subClass--f26ced8fae092bbf6c32 {\\\\n color: blue;\\\\n}\\\\n\\\\n.-a0-34a___f--_43ba76509d402297336 {\\\\n color: red;\\\\n}\\\\n\\\\n.m_x_\\\\\\\\@--_58b897c83b122dd7683 {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n.B\\\\\\\\&W\\\\\\\\?--dec830b310ac5c693103 {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\":\`(\\\\\\" */\\\\n.\\\\\\\\3A \\\\\\\\\`\\\\\\\\(--_d8fd179dc072fe27c94 {\\\\n color: aqua;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\"1a2b3c\\\\\\" */\\\\n.\\\\\\\\31 a2b3c--_db261be3609287250bf {\\\\n color: aliceblue;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"#fake-id\\\\\\" */\\\\n#\\\\\\\\#fake-id--bbd4261c5829e34c0c31 {\\\\n color: antiquewhite;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"-a-b-c-\\\\\\" */\\\\n#-a-b-c---_5878fa86c34e277bf41 {\\\\n color: azure;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"©\\\\\\" */\\\\n#©--_0a969c38eb11e123e2b {\\\\n color: black;\\\\n}\\\\n\\\\n.♥--f3cf6aeaca5cf1740681 { background: lime; }\\\\n.©--_0a969c38eb11e123e2b { background: lime; }\\\\n.“‘’”--a3778ef4d4572ec12c92 { background: lime; }\\\\n.☺☃--_ed5e5b440ef4083dbf3 { background: lime; }\\\\n.⌘⌥--_af7e8771036a97e9167 { background: lime; }\\\\n.𝄞♪♩♫♬--b6c998ac9c840d381861 { background: lime; }\\\\n.💩--cd06cdeb5495e92691f6 { background: lime; }\\\\n.\\\\\\\\?--ba4cda6564fd664118a1 { background: lime; }\\\\n.\\\\\\\\@--_c1336757223ea7e8a29 { background: lime; }\\\\n.\\\\\\\\.--_385e8c15fa5c58ca9bb { background: lime; }\\\\n.\\\\\\\\3A \\\\\\\\)--_943cc547b2d37b17f21 { background: lime; }\\\\n.\\\\\\\\3A \\\\\\\\\`\\\\\\\\(--_d8fd179dc072fe27c94 { background: lime; }\\\\n.\\\\\\\\31 23--_f55ef8239fee1677773 { background: lime; }\\\\n.\\\\\\\\31 a2b3c--_db261be3609287250bf { background: lime; }\\\\n.\\\\\\\\
--d2e7501107d4092029d4 { background: lime; }\\\\n.\\\\\\\\<\\\\\\\\>\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\>\\\\\\\\>\\\\\\\\<\\\\\\\\>--a80379f802d9488b6714 { background: lime; }\\\\n.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\[\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\-\\\\\\\\]\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\<\\\\\\\\<\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\.--_ea662cb37796e437224 { background: lime; }\\\\n.\\\\\\\\#--a343f54935572672cb08 { background: lime; }\\\\n.\\\\\\\\#\\\\\\\\#--_bbe051c6da4e2351b9f { background: lime; }\\\\n.\\\\\\\\#\\\\\\\\.\\\\\\\\#\\\\\\\\.\\\\\\\\#--f565f781d2204a02f13c { background: lime; }\\\\n.\\\\\\\\_--b8e05650bf8b01093e4a { background: lime; }\\\\n.\\\\\\\\{\\\\\\\\}--bbe33250951aae8c915a { background: lime; }\\\\n.\\\\\\\\#fake\\\\\\\\-id--bbd4261c5829e34c0c31 { background: lime; }\\\\n.foo\\\\\\\\.bar--_551f095c83cc1760d6f { background: lime; }\\\\n.\\\\\\\\3A hover--b6212951efdcca7b9ace { background: lime; }\\\\n.\\\\\\\\3A hover\\\\\\\\3A focus\\\\\\\\3A active--_bc9104f0ba7a97d19e5 { background: lime; }\\\\n.\\\\\\\\[attr\\\\\\\\=value\\\\\\\\]--_99e975b969750094580 { background: lime; }\\\\n.f\\\\\\\\/o\\\\\\\\/o--_afed9bcde7e2902a435 { background: lime; }\\\\n.f\\\\\\\\\\\\\\\\o\\\\\\\\\\\\\\\\o--f817fb0fdeb8ab9770a9 { background: lime; }\\\\n.f\\\\\\\\*o\\\\\\\\*o--_ed47d92adad98617293 { background: lime; }\\\\n.f\\\\\\\\!o\\\\\\\\!o--aad099478379012e2b7f { background: lime; }\\\\n.f\\\\\\\\'o\\\\\\\\'o--ce931aafc17a7d70c933 { background: lime; }\\\\n.f\\\\\\\\~o\\\\\\\\~o--_16f0e2fe35eb8a83f4d { background: lime; }\\\\n.f\\\\\\\\+o\\\\\\\\+o--_9904935c50f3d0737ac { background: lime; }\\\\n\\\\n.foo\\\\\\\\/bar--_0160e88d07232be7a64 {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo\\\\\\\\\\\\\\\\bar--_697404c682c28f24c0f {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo\\\\\\\\/bar\\\\\\\\/baz--a8c3f89a8e8c169e0287 {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo\\\\\\\\\\\\\\\\bar\\\\\\\\\\\\\\\\baz--_ae3a61419e61dda045a {\\\\n background: hotpink;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"123\\": \\"123--_f55ef8239fee1677773\\", - \\"test\\": \\"test--b41321249ebb0685e661\\", - \\"_test\\": \\"_test--e605d9d2b9f8d108a3bc\\", - \\"className\\": \\"className--_2bb9d8df40e3da04687\\", - \\"someId\\": \\"someId--_c0f0ebc91d4fb36eb39\\", - \\"subClass\\": \\"subClass--f26ced8fae092bbf6c32\\", - \\"-a0-34a___f\\": \\"-a0-34a___f--_43ba76509d402297336\\", - \\"m_x_@\\": \\"m_x_@--_58b897c83b122dd7683\\", - \\"B&W?\\": \\"B&W?--dec830b310ac5c693103\\", - \\":\`(\\": \\":\`(--_d8fd179dc072fe27c94\\", - \\"1a2b3c\\": \\"1a2b3c--_db261be3609287250bf\\", - \\"#fake-id\\": \\"#fake-id--bbd4261c5829e34c0c31\\", - \\"-a-b-c-\\": \\"-a-b-c---_5878fa86c34e277bf41\\", - \\"©\\": \\"©--_0a969c38eb11e123e2b\\", - \\"♥\\": \\"♥--f3cf6aeaca5cf1740681\\", - \\"“‘’”\\": \\"“‘’”--a3778ef4d4572ec12c92\\", - \\"☺☃\\": \\"☺☃--_ed5e5b440ef4083dbf3\\", - \\"⌘⌥\\": \\"⌘⌥--_af7e8771036a97e9167\\", - \\"𝄞♪♩♫♬\\": \\"𝄞♪♩♫♬--b6c998ac9c840d381861\\", - \\"💩\\": \\"💩--cd06cdeb5495e92691f6\\", - \\"?\\": \\"?--ba4cda6564fd664118a1\\", - \\"@\\": \\"@--_c1336757223ea7e8a29\\", - \\".\\": \\".--_385e8c15fa5c58ca9bb\\", - \\":)\\": \\":)--_943cc547b2d37b17f21\\", - \\"
\\": \\"
--d2e7501107d4092029d4\\", - \\"<><<<>><>\\": \\"<><<<>><>--a80379f802d9488b6714\\", - \\"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\\": \\"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.--_ea662cb37796e437224\\", - \\"#\\": \\"#--a343f54935572672cb08\\", - \\"##\\": \\"##--_bbe051c6da4e2351b9f\\", - \\"#.#.#\\": \\"#.#.#--f565f781d2204a02f13c\\", - \\"_\\": \\"_--b8e05650bf8b01093e4a\\", - \\"{}\\": \\"{}--bbe33250951aae8c915a\\", - \\"foo.bar\\": \\"foo.bar--_551f095c83cc1760d6f\\", - \\":hover\\": \\":hover--b6212951efdcca7b9ace\\", - \\":hover:focus:active\\": \\":hover:focus:active--_bc9104f0ba7a97d19e5\\", - \\"[attr=value]\\": \\"[attr=value]--_99e975b969750094580\\", - \\"f/o/o\\": \\"f/o/o--_afed9bcde7e2902a435\\", - \\"f\\\\\\\\o\\\\\\\\o\\": \\"f\\\\\\\\o\\\\\\\\o--f817fb0fdeb8ab9770a9\\", - \\"f*o*o\\": \\"f*o*o--_ed47d92adad98617293\\", - \\"f!o!o\\": \\"f!o!o--aad099478379012e2b7f\\", - \\"f'o'o\\": \\"f'o'o--ce931aafc17a7d70c933\\", - \\"f~o~o\\": \\"f~o~o--_16f0e2fe35eb8a83f4d\\", - \\"f+o+o\\": \\"f+o+o--_9904935c50f3d0737ac\\", - \\"foo/bar\\": \\"foo/bar--_0160e88d07232be7a64\\", - \\"foo\\\\\\\\bar\\": \\"foo\\\\\\\\bar--_697404c682c28f24c0f\\", - \\"foo/bar/baz\\": \\"foo/bar/baz--a8c3f89a8e8c169e0287\\", - \\"foo\\\\\\\\bar\\\\\\\\baz\\": \\"foo\\\\\\\\bar\\\\\\\\baz--_ae3a61419e61dda045a\\" -}; +\`, ""]); +// 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 "hashSalt" option: result 1`] = ` -Array [ - Array [ +exports[`"modules" option should work and respect the "context" option: result 1`] = ` +[ + [ "./modules/localIdentName/localIdentName.css", - ".test--b41321249ebb0685e661 { + ".Cqfpw57I { background: red; } -._test--e605d9d2b9f8d108a3bc { +.TGo4Rmnn { background: blue; } -.className--_2bb9d8df40e3da04687 { +.V3rkzYqn { background: red; } -#someId--_c0f0ebc91d4fb36eb39 { +#p0emrDgk { background: green; } -.className--_2bb9d8df40e3da04687 .subClass--f26ced8fae092bbf6c32 { +.V3rkzYqn .v0YwV1mq { color: green; } -#someId--_c0f0ebc91d4fb36eb39 .subClass--f26ced8fae092bbf6c32 { +#p0emrDgk .v0YwV1mq { color: blue; } -.-a0-34a___f--_43ba76509d402297336 { +.iD7O58t6 { color: red; } -.m_x_\\\\@--_58b897c83b122dd7683 { +.RH_w1QEb { margin-left: auto !important; margin-right: auto !important; } -.B\\\\&W\\\\?--dec830b310ac5c693103 { +.Ag92YvL3 { margin-left: auto !important; margin-right: auto !important; } -/* matches elements with class=\\":\`(\\" */ -.\\\\3A \\\\\`\\\\(--_d8fd179dc072fe27c94 { +/* matches elements with class=":\`(" */ +.ETB9N0Rx { color: aqua; } -/* matches elements with class=\\"1a2b3c\\" */ -.\\\\31 a2b3c--_db261be3609287250bf { +/* matches elements with class="1a2b3c" */ +.LEy8bpHz { color: aliceblue; } -/* matches the element with id=\\"#fake-id\\" */ -#\\\\#fake-id--bbd4261c5829e34c0c31 { +/* matches the element with id="#fake-id" */ +#JOQqQG3P { color: antiquewhite; } -/* matches the element with id=\\"-a-b-c-\\" */ -#-a-b-c---_5878fa86c34e277bf41 { +/* matches the element with id="-a-b-c-" */ +#LD6vZ0vn { color: azure; } -/* matches the element with id=\\"©\\" */ -#©--_0a969c38eb11e123e2b { +/* matches the element with id="©" */ +#bD4iEyBe { color: black; } -.♥--f3cf6aeaca5cf1740681 { background: lime; } -.©--_0a969c38eb11e123e2b { background: lime; } -.“‘’”--a3778ef4d4572ec12c92 { background: lime; } -.☺☃--_ed5e5b440ef4083dbf3 { background: lime; } -.⌘⌥--_af7e8771036a97e9167 { background: lime; } -.𝄞♪♩♫♬--b6c998ac9c840d381861 { background: lime; } -.💩--cd06cdeb5495e92691f6 { background: lime; } -.\\\\?--ba4cda6564fd664118a1 { background: lime; } -.\\\\@--_c1336757223ea7e8a29 { background: lime; } -.\\\\.--_385e8c15fa5c58ca9bb { background: lime; } -.\\\\3A \\\\)--_943cc547b2d37b17f21 { background: lime; } -.\\\\3A \\\\\`\\\\(--_d8fd179dc072fe27c94 { background: lime; } -.\\\\31 23--_f55ef8239fee1677773 { background: lime; } -.\\\\31 a2b3c--_db261be3609287250bf { background: lime; } -.\\\\
--d2e7501107d4092029d4 { background: lime; } -.\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\>--a80379f802d9488b6714 { background: lime; } -.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\.--_ea662cb37796e437224 { background: lime; } -.\\\\#--a343f54935572672cb08 { background: lime; } -.\\\\#\\\\#--_bbe051c6da4e2351b9f { background: lime; } -.\\\\#\\\\.\\\\#\\\\.\\\\#--f565f781d2204a02f13c { background: lime; } -.\\\\_--b8e05650bf8b01093e4a { background: lime; } -.\\\\{\\\\}--bbe33250951aae8c915a { background: lime; } -.\\\\#fake\\\\-id--bbd4261c5829e34c0c31 { background: lime; } -.foo\\\\.bar--_551f095c83cc1760d6f { background: lime; } -.\\\\3A hover--b6212951efdcca7b9ace { background: lime; } -.\\\\3A hover\\\\3A focus\\\\3A active--_bc9104f0ba7a97d19e5 { background: lime; } -.\\\\[attr\\\\=value\\\\]--_99e975b969750094580 { background: lime; } -.f\\\\/o\\\\/o--_afed9bcde7e2902a435 { background: lime; } -.f\\\\\\\\o\\\\\\\\o--f817fb0fdeb8ab9770a9 { background: lime; } -.f\\\\*o\\\\*o--_ed47d92adad98617293 { background: lime; } -.f\\\\!o\\\\!o--aad099478379012e2b7f { background: lime; } -.f\\\\'o\\\\'o--ce931aafc17a7d70c933 { background: lime; } -.f\\\\~o\\\\~o--_16f0e2fe35eb8a83f4d { background: lime; } -.f\\\\+o\\\\+o--_9904935c50f3d0737ac { background: lime; } - -.foo\\\\/bar--_0160e88d07232be7a64 { +.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; } + +.GOPxpaxq { background: hotpink; } -.foo\\\\\\\\bar--_697404c682c28f24c0f { +.chesbSdq { background: hotpink; } -.foo\\\\/bar\\\\/baz--a8c3f89a8e8c169e0287 { +.QMeNd406 { background: hotpink; } -.foo\\\\\\\\bar\\\\\\\\baz--_ae3a61419e61dda045a { +.jXaakDKS { background: hotpink; } ", @@ -3053,42 +4377,25 @@ Array [ ] `; -exports[`"modules" option should work and respect the "hashSalt" option: warnings 1`] = `Array []`; +exports[`"modules" option should work and respect the "context" option: warnings 1`] = `[]`; -exports[`"modules" option should work and respect the "localConvention" option with the "asIs" value: errors 1`] = `Array []`; +exports[`"modules" option should work and respect the "exportLocalsConvention" option with the "function" type and returns array names: errors 1`] = `[]`; -exports[`"modules" option should work and respect the "localConvention" option with the "asIs" value: module 1`] = ` +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_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".eFSx39d7lf2DbavLOZEH {\\\\n color: blue;\\\\n}\\\\n\\\\n._XcV1pTGsk1DDypSCcav {\\\\n color: blue;\\\\n}\\\\n\\\\n._JxN_SGMxSzstCVbNTUy {\\\\n color: red;\\\\n}\\\\n\\\\na {\\\\n color: yellow;\\\\n}\\\\n\\\\n._krAefTYwrSG1l87lmV3 {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"foo\\": \\"bar\\", - \\"my-btn-info_is-disabled\\": \\"value\\", - \\"btn-info_is-disabled\\": \\"eFSx39d7lf2DbavLOZEH\\", - \\"btn--info_is-disabled_1\\": \\"_XcV1pTGsk1DDypSCcav\\", - \\"simple\\": \\"_JxN_SGMxSzstCVbNTUy\\", - \\"foo_bar\\": \\"_krAefTYwrSG1l87lmV3\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; - -exports[`"modules" option should work and respect the "localConvention" option with the "asIs" value: result 1`] = ` -Array [ - Array [ - "./modules/localsConvention/localsConvention.css", - ".eFSx39d7lf2DbavLOZEH { +___CSS_LOADER_EXPORT___.push([module.id, \`.rmc8ltu8P1VXaeqLNU6N { color: blue; } -._XcV1pTGsk1DDypSCcav { +.AooVHuvzAIGXWngdfslc { color: blue; } -._JxN_SGMxSzstCVbNTUy { +.snmJCrfw3LVnrlx87XVC { color: red; } @@ -3096,55 +4403,58 @@ a { color: yellow; } -._krAefTYwrSG1l87lmV3 { +.vA4oeh0XymefKJVIJyg1 { color: red; } -", - "", - ], -] -`; -exports[`"modules" option should work and respect the "localConvention" option with the "asIs" value: warnings 1`] = `Array []`; - -exports[`"modules" option should work and respect the "localConvention" option with the "camelCase" value: errors 1`] = `Array []`; +.mDiC1MIOTWjgsd86woaJ { + color: red; +} -exports[`"modules" option should work and respect the "localConvention" option with the "camelCase" value: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".eFSx39d7lf2DbavLOZEH {\\\\n color: blue;\\\\n}\\\\n\\\\n._XcV1pTGsk1DDypSCcav {\\\\n color: blue;\\\\n}\\\\n\\\\n._JxN_SGMxSzstCVbNTUy {\\\\n color: red;\\\\n}\\\\n\\\\na {\\\\n color: yellow;\\\\n}\\\\n\\\\n._krAefTYwrSG1l87lmV3 {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"foo\\": \\"bar\\", - \\"my-btn-info_is-disabled\\": \\"value\\", - \\"myBtnInfoIsDisabled\\": \\"value\\", - \\"btn-info_is-disabled\\": \\"eFSx39d7lf2DbavLOZEH\\", - \\"btnInfoIsDisabled\\": \\"eFSx39d7lf2DbavLOZEH\\", - \\"btn--info_is-disabled_1\\": \\"_XcV1pTGsk1DDypSCcav\\", - \\"btnInfoIsDisabled1\\": \\"_XcV1pTGsk1DDypSCcav\\", - \\"simple\\": \\"_JxN_SGMxSzstCVbNTUy\\", - \\"foo_bar\\": \\"_krAefTYwrSG1l87lmV3\\", - \\"fooBar\\": \\"_krAefTYwrSG1l87lmV3\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +.kY3VVFqpzmTiFlxOd9KU { + color: red; +} -exports[`"modules" option should work and respect the "localConvention" option with the "camelCase" value: result 1`] = ` -Array [ - 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", - ".eFSx39d7lf2DbavLOZEH { + ".rmc8ltu8P1VXaeqLNU6N { color: blue; } -._XcV1pTGsk1DDypSCcav { +.AooVHuvzAIGXWngdfslc { color: blue; } -._JxN_SGMxSzstCVbNTUy { +.snmJCrfw3LVnrlx87XVC { color: red; } @@ -3152,59 +4462,19 @@ a { color: yellow; } -._krAefTYwrSG1l87lmV3 { +.vA4oeh0XymefKJVIJyg1 { color: red; } -", - "", - ], -] -`; - -exports[`"modules" option should work and respect the "localConvention" option with the "camelCase" value: warnings 1`] = `Array []`; - -exports[`"modules" option should work and respect the "localConvention" option with the "camelCaseOnly" value: errors 1`] = `Array []`; - -exports[`"modules" option should work and respect the "localConvention" option with the "camelCaseOnly" value: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".eFSx39d7lf2DbavLOZEH {\\\\n color: blue;\\\\n}\\\\n\\\\n._XcV1pTGsk1DDypSCcav {\\\\n color: blue;\\\\n}\\\\n\\\\n._JxN_SGMxSzstCVbNTUy {\\\\n color: red;\\\\n}\\\\n\\\\na {\\\\n color: yellow;\\\\n}\\\\n\\\\n._krAefTYwrSG1l87lmV3 {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"foo\\": \\"bar\\", - \\"myBtnInfoIsDisabled\\": \\"value\\", - \\"btnInfoIsDisabled\\": \\"eFSx39d7lf2DbavLOZEH\\", - \\"btnInfoIsDisabled1\\": \\"_XcV1pTGsk1DDypSCcav\\", - \\"simple\\": \\"_JxN_SGMxSzstCVbNTUy\\", - \\"fooBar\\": \\"_krAefTYwrSG1l87lmV3\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; - -exports[`"modules" option should work and respect the "localConvention" option with the "camelCaseOnly" value: result 1`] = ` -Array [ - Array [ - "./modules/localsConvention/localsConvention.css", - ".eFSx39d7lf2DbavLOZEH { - color: blue; -} - -._XcV1pTGsk1DDypSCcav { - color: blue; -} -._JxN_SGMxSzstCVbNTUy { +.mDiC1MIOTWjgsd86woaJ { color: red; } -a { - color: yellow; +.kY3VVFqpzmTiFlxOd9KU { + color: red; } -._krAefTYwrSG1l87lmV3 { +.eiLdMC_n9TCXQ0oPIJyI { color: red; } ", @@ -3213,45 +4483,25 @@ a { ] `; -exports[`"modules" option should work and respect the "localConvention" option with the "camelCaseOnly" value: 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" option should work and respect the "localConvention" option with the "dashes" value: errors 1`] = `Array []`; +exports[`"modules" option should work and respect the "exportLocalsConvention" option with the "function" type: errors 1`] = `[]`; -exports[`"modules" option should work and respect the "localConvention" option with the "dashes" value: module 1`] = ` +exports[`"modules" option should work and respect the "exportLocalsConvention" option with the "function" type: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".eFSx39d7lf2DbavLOZEH {\\\\n color: blue;\\\\n}\\\\n\\\\n._XcV1pTGsk1DDypSCcav {\\\\n color: blue;\\\\n}\\\\n\\\\n._JxN_SGMxSzstCVbNTUy {\\\\n color: red;\\\\n}\\\\n\\\\na {\\\\n color: yellow;\\\\n}\\\\n\\\\n._krAefTYwrSG1l87lmV3 {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"foo\\": \\"bar\\", - \\"my-btn-info_is-disabled\\": \\"value\\", - \\"myBtnInfo_isDisabled\\": \\"value\\", - \\"btn-info_is-disabled\\": \\"eFSx39d7lf2DbavLOZEH\\", - \\"btnInfo_isDisabled\\": \\"eFSx39d7lf2DbavLOZEH\\", - \\"btn--info_is-disabled_1\\": \\"_XcV1pTGsk1DDypSCcav\\", - \\"btnInfo_isDisabled_1\\": \\"_XcV1pTGsk1DDypSCcav\\", - \\"simple\\": \\"_JxN_SGMxSzstCVbNTUy\\", - \\"foo_bar\\": \\"_krAefTYwrSG1l87lmV3\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; - -exports[`"modules" option should work and respect the "localConvention" option with the "dashes" value: result 1`] = ` -Array [ - Array [ - "./modules/localsConvention/localsConvention.css", - ".eFSx39d7lf2DbavLOZEH { +___CSS_LOADER_EXPORT___.push([module.id, \`.rmc8ltu8P1VXaeqLNU6N { color: blue; } -._XcV1pTGsk1DDypSCcav { +.AooVHuvzAIGXWngdfslc { color: blue; } -._JxN_SGMxSzstCVbNTUy { +.snmJCrfw3LVnrlx87XVC { color: red; } @@ -3259,51 +4509,49 @@ a { color: yellow; } -._krAefTYwrSG1l87lmV3 { +.vA4oeh0XymefKJVIJyg1 { color: red; } -", - "", - ], -] -`; -exports[`"modules" option should work and respect the "localConvention" option with the "dashes" value: warnings 1`] = `Array []`; +.mDiC1MIOTWjgsd86woaJ { + color: red; +} -exports[`"modules" option should work and respect the "localConvention" option with the "dashesOnly" value: errors 1`] = `Array []`; +.kY3VVFqpzmTiFlxOd9KU { + color: red; +} -exports[`"modules" option should work and respect the "localConvention" option with the "dashesOnly" value: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".eFSx39d7lf2DbavLOZEH {\\\\n color: blue;\\\\n}\\\\n\\\\n._XcV1pTGsk1DDypSCcav {\\\\n color: blue;\\\\n}\\\\n\\\\n._JxN_SGMxSzstCVbNTUy {\\\\n color: red;\\\\n}\\\\n\\\\na {\\\\n color: yellow;\\\\n}\\\\n\\\\n._krAefTYwrSG1l87lmV3 {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]); +.eiLdMC_n9TCXQ0oPIJyI { + color: red; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"foo\\": \\"bar\\", - \\"myBtnInfo_isDisabled\\": \\"value\\", - \\"btnInfo_isDisabled\\": \\"eFSx39d7lf2DbavLOZEH\\", - \\"btnInfo_isDisabled_1\\": \\"_XcV1pTGsk1DDypSCcav\\", - \\"simple\\": \\"_JxN_SGMxSzstCVbNTUy\\", - \\"foo_bar\\": \\"_krAefTYwrSG1l87lmV3\\" -}; +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 "localConvention" option with the "dashesOnly" value: result 1`] = ` -Array [ - Array [ +exports[`"modules" option should work and respect the "exportLocalsConvention" option with the "function" type: result 1`] = ` +[ + [ "./modules/localsConvention/localsConvention.css", - ".eFSx39d7lf2DbavLOZEH { + ".rmc8ltu8P1VXaeqLNU6N { color: blue; } -._XcV1pTGsk1DDypSCcav { +.AooVHuvzAIGXWngdfslc { color: blue; } -._JxN_SGMxSzstCVbNTUy { +.snmJCrfw3LVnrlx87XVC { color: red; } @@ -3311,7 +4559,19 @@ a { color: yellow; } -._krAefTYwrSG1l87lmV3 { +.vA4oeh0XymefKJVIJyg1 { + color: red; +} + +.mDiC1MIOTWjgsd86woaJ { + color: red; +} + +.kY3VVFqpzmTiFlxOd9KU { + color: red; +} + +.eiLdMC_n9TCXQ0oPIJyI { color: red; } ", @@ -3320,370 +4580,502 @@ a { ] `; -exports[`"modules" option should work and respect the "localConvention" option with the "dashesOnly" value: warnings 1`] = `Array []`; - -exports[`"modules" option should work and respect the "localIdentHashFunction" option: errors 1`] = `Array []`; +exports[`"modules" option should work and respect the "exportLocalsConvention" option with the "function" type: warnings 1`] = `[]`; -exports[`"modules" option should work and respect the "localIdentHashFunction" option: errors 2`] = `Array []`; +exports[`"modules" option should work and respect the "exportOnlyLocals" option: errors 1`] = `[]`; -exports[`"modules" option should work and respect the "localIdentHashFunction" option: module 1`] = ` +exports[`"modules" option should work and respect the "exportOnlyLocals" option: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".test--_347c66e39c8f6f0a64f {\\\\n background: red;\\\\n}\\\\n\\\\n._test--_409e4df60a5df5f5d32 {\\\\n background: blue;\\\\n}\\\\n\\\\n.className--e5c17e6b8130297382dc {\\\\n background: red;\\\\n}\\\\n\\\\n#someId--_1c77fae3b2571d8af58 {\\\\n background: green;\\\\n}\\\\n\\\\n.className--e5c17e6b8130297382dc .subClass--_ce74472264bbe729bd3 {\\\\n color: green;\\\\n}\\\\n\\\\n#someId--_1c77fae3b2571d8af58 .subClass--_ce74472264bbe729bd3 {\\\\n color: blue;\\\\n}\\\\n\\\\n.-a0-34a___f--_1d60baf3600ddc46079 {\\\\n color: red;\\\\n}\\\\n\\\\n.m_x_\\\\\\\\@--_732174edbcf0559a465 {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n.B\\\\\\\\&W\\\\\\\\?--_d5519eef501b3fe589f {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\":\`(\\\\\\" */\\\\n.\\\\\\\\3A \\\\\\\\\`\\\\\\\\(--_e40374bcb01050c202b {\\\\n color: aqua;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\"1a2b3c\\\\\\" */\\\\n.\\\\\\\\31 a2b3c--ede5ee005ce96f9de0d8 {\\\\n color: aliceblue;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"#fake-id\\\\\\" */\\\\n#\\\\\\\\#fake-id--fe2efa29950f418d477a {\\\\n color: antiquewhite;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"-a-b-c-\\\\\\" */\\\\n#-a-b-c---d1a626ec36769b87efb8 {\\\\n color: azure;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"©\\\\\\" */\\\\n#©--_6e62e8d8ca88d608527 {\\\\n color: black;\\\\n}\\\\n\\\\n.♥--f64ab76fe61fcc249909 { background: lime; }\\\\n.©--_6e62e8d8ca88d608527 { background: lime; }\\\\n.“‘’”--_aa74857b05d853821fd { background: lime; }\\\\n.☺☃--_7d317356ac521028664 { background: lime; }\\\\n.⌘⌥--bf468ba3afaf13e0a0b8 { background: lime; }\\\\n.𝄞♪♩♫♬--_0443100801b3837c620 { background: lime; }\\\\n.💩--be44fb27628da290a898 { background: lime; }\\\\n.\\\\\\\\?--_b964d4d1caba6296dcf { background: lime; }\\\\n.\\\\\\\\@--_31e74c1c1fee1edacc9 { background: lime; }\\\\n.\\\\\\\\.--_64f0151a785dcd909f9 { background: lime; }\\\\n.\\\\\\\\3A \\\\\\\\)--bbdac15527b1a79b9373 { background: lime; }\\\\n.\\\\\\\\3A \\\\\\\\\`\\\\\\\\(--_e40374bcb01050c202b { background: lime; }\\\\n.\\\\\\\\31 23--_ec7108c037cbacfbb41 { background: lime; }\\\\n.\\\\\\\\31 a2b3c--ede5ee005ce96f9de0d8 { background: lime; }\\\\n.\\\\\\\\
--_add6ba3a806e4e89c25 { background: lime; }\\\\n.\\\\\\\\<\\\\\\\\>\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\>\\\\\\\\>\\\\\\\\<\\\\\\\\>--_5a72290b08f16a70e6e { background: lime; }\\\\n.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\[\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\-\\\\\\\\]\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\<\\\\\\\\<\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\.--_8643b64085158d157d4 { background: lime; }\\\\n.\\\\\\\\#--_7346997a8ea491985ae { background: lime; }\\\\n.\\\\\\\\#\\\\\\\\#--f51a1bcd5b215c049e7e { background: lime; }\\\\n.\\\\\\\\#\\\\\\\\.\\\\\\\\#\\\\\\\\.\\\\\\\\#--_c58cdb64cfefb320f70 { background: lime; }\\\\n.\\\\\\\\_--_6f952770d6b3390c36b { background: lime; }\\\\n.\\\\\\\\{\\\\\\\\}--cdaa74c4f6c9e2b15fff { background: lime; }\\\\n.\\\\\\\\#fake\\\\\\\\-id--fe2efa29950f418d477a { background: lime; }\\\\n.foo\\\\\\\\.bar--ff62a9ce0270a7159046 { background: lime; }\\\\n.\\\\\\\\3A hover--_8e85f8ae7f4139a5258 { background: lime; }\\\\n.\\\\\\\\3A hover\\\\\\\\3A focus\\\\\\\\3A active--_10f1c6d9945b1e0f789 { background: lime; }\\\\n.\\\\\\\\[attr\\\\\\\\=value\\\\\\\\]--e0cacaf2470563d41d45 { background: lime; }\\\\n.f\\\\\\\\/o\\\\\\\\/o--_45f50181c83f563b5c2 { background: lime; }\\\\n.f\\\\\\\\\\\\\\\\o\\\\\\\\\\\\\\\\o--aea404d6630a39db19d8 { background: lime; }\\\\n.f\\\\\\\\*o\\\\\\\\*o--_b29a485ccb4e98b4048 { background: lime; }\\\\n.f\\\\\\\\!o\\\\\\\\!o--c79446ed553ff32b17fd { background: lime; }\\\\n.f\\\\\\\\'o\\\\\\\\'o--_49cf7b5f2fdb64b9373 { background: lime; }\\\\n.f\\\\\\\\~o\\\\\\\\~o--_05ee4fc2b9a084dfdf0 { background: lime; }\\\\n.f\\\\\\\\+o\\\\\\\\+o--f55241c183f773304829 { background: lime; }\\\\n\\\\n.foo\\\\\\\\/bar--_d445c2f789a6c1b6531 {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo\\\\\\\\\\\\\\\\bar--a407ef7c9f9341565b64 {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo\\\\\\\\/bar\\\\\\\\/baz--ec4e79254ca1b4c975bd {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo\\\\\\\\\\\\\\\\bar\\\\\\\\\\\\\\\\baz--b2ea1383b7cbebaf07d1 {\\\\n background: hotpink;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"123\\": \\"123--_ec7108c037cbacfbb41\\", - \\"test\\": \\"test--_347c66e39c8f6f0a64f\\", - \\"_test\\": \\"_test--_409e4df60a5df5f5d32\\", - \\"className\\": \\"className--e5c17e6b8130297382dc\\", - \\"someId\\": \\"someId--_1c77fae3b2571d8af58\\", - \\"subClass\\": \\"subClass--_ce74472264bbe729bd3\\", - \\"-a0-34a___f\\": \\"-a0-34a___f--_1d60baf3600ddc46079\\", - \\"m_x_@\\": \\"m_x_@--_732174edbcf0559a465\\", - \\"B&W?\\": \\"B&W?--_d5519eef501b3fe589f\\", - \\":\`(\\": \\":\`(--_e40374bcb01050c202b\\", - \\"1a2b3c\\": \\"1a2b3c--ede5ee005ce96f9de0d8\\", - \\"#fake-id\\": \\"#fake-id--fe2efa29950f418d477a\\", - \\"-a-b-c-\\": \\"-a-b-c---d1a626ec36769b87efb8\\", - \\"©\\": \\"©--_6e62e8d8ca88d608527\\", - \\"♥\\": \\"♥--f64ab76fe61fcc249909\\", - \\"“‘’”\\": \\"“‘’”--_aa74857b05d853821fd\\", - \\"☺☃\\": \\"☺☃--_7d317356ac521028664\\", - \\"⌘⌥\\": \\"⌘⌥--bf468ba3afaf13e0a0b8\\", - \\"𝄞♪♩♫♬\\": \\"𝄞♪♩♫♬--_0443100801b3837c620\\", - \\"💩\\": \\"💩--be44fb27628da290a898\\", - \\"?\\": \\"?--_b964d4d1caba6296dcf\\", - \\"@\\": \\"@--_31e74c1c1fee1edacc9\\", - \\".\\": \\".--_64f0151a785dcd909f9\\", - \\":)\\": \\":)--bbdac15527b1a79b9373\\", - \\"
\\": \\"
--_add6ba3a806e4e89c25\\", - \\"<><<<>><>\\": \\"<><<<>><>--_5a72290b08f16a70e6e\\", - \\"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\\": \\"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.--_8643b64085158d157d4\\", - \\"#\\": \\"#--_7346997a8ea491985ae\\", - \\"##\\": \\"##--f51a1bcd5b215c049e7e\\", - \\"#.#.#\\": \\"#.#.#--_c58cdb64cfefb320f70\\", - \\"_\\": \\"_--_6f952770d6b3390c36b\\", - \\"{}\\": \\"{}--cdaa74c4f6c9e2b15fff\\", - \\"foo.bar\\": \\"foo.bar--ff62a9ce0270a7159046\\", - \\":hover\\": \\":hover--_8e85f8ae7f4139a5258\\", - \\":hover:focus:active\\": \\":hover:focus:active--_10f1c6d9945b1e0f789\\", - \\"[attr=value]\\": \\"[attr=value]--e0cacaf2470563d41d45\\", - \\"f/o/o\\": \\"f/o/o--_45f50181c83f563b5c2\\", - \\"f\\\\\\\\o\\\\\\\\o\\": \\"f\\\\\\\\o\\\\\\\\o--aea404d6630a39db19d8\\", - \\"f*o*o\\": \\"f*o*o--_b29a485ccb4e98b4048\\", - \\"f!o!o\\": \\"f!o!o--c79446ed553ff32b17fd\\", - \\"f'o'o\\": \\"f'o'o--_49cf7b5f2fdb64b9373\\", - \\"f~o~o\\": \\"f~o~o--_05ee4fc2b9a084dfdf0\\", - \\"f+o+o\\": \\"f+o+o--f55241c183f773304829\\", - \\"foo/bar\\": \\"foo/bar--_d445c2f789a6c1b6531\\", - \\"foo\\\\\\\\bar\\": \\"foo\\\\\\\\bar--a407ef7c9f9341565b64\\", - \\"foo/bar/baz\\": \\"foo/bar/baz--ec4e79254ca1b4c975bd\\", - \\"foo\\\\\\\\bar\\\\\\\\baz\\": \\"foo\\\\\\\\bar\\\\\\\\baz--b2ea1383b7cbebaf07d1\\" -}; -export default ___CSS_LOADER_EXPORT___; +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 "localIdentHashFunction" option: module 2`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".test--HovVWrUTjN {\\\\n background: red;\\\\n}\\\\n\\\\n._test--_1mLQ0KYr3 {\\\\n background: blue;\\\\n}\\\\n\\\\n.className--MMk_yFMICy {\\\\n background: red;\\\\n}\\\\n\\\\n#someId--f_mZz_4mbp {\\\\n background: green;\\\\n}\\\\n\\\\n.className--MMk_yFMICy .subClass--FYyIWexDGl {\\\\n color: green;\\\\n}\\\\n\\\\n#someId--f_mZz_4mbp .subClass--FYyIWexDGl {\\\\n color: blue;\\\\n}\\\\n\\\\n.-a0-34a___f--r_hifewiIo {\\\\n color: red;\\\\n}\\\\n\\\\n.m_x_\\\\\\\\@--yUrnJ_pW2A {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n.B\\\\\\\\&W\\\\\\\\?--O_Xkei1DAX {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\":\`(\\\\\\" */\\\\n.\\\\\\\\3A \\\\\\\\\`\\\\\\\\(--_rpCeu5pHk {\\\\n color: aqua;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\"1a2b3c\\\\\\" */\\\\n.\\\\\\\\31 a2b3c--mxXeAFeh5M {\\\\n color: aliceblue;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"#fake-id\\\\\\" */\\\\n#\\\\\\\\#fake-id--_92k79k_uZ {\\\\n color: antiquewhite;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"-a-b-c-\\\\\\" */\\\\n#-a-b-c---c0kkJWClsc {\\\\n color: azure;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"©\\\\\\" */\\\\n#©--DLosMLOukp {\\\\n color: black;\\\\n}\\\\n\\\\n.♥--HQMfjUZeec { background: lime; }\\\\n.©--DLosMLOukp { background: lime; }\\\\n.“‘’”--bS0LrUqKBV { background: lime; }\\\\n.☺☃--F0_yWUDvky { background: lime; }\\\\n.⌘⌥--VyeHlHnBWZ { background: lime; }\\\\n.𝄞♪♩♫♬--Qi7pfuLhD3 { background: lime; }\\\\n.💩--CjG3lWNhvV { background: lime; }\\\\n.\\\\\\\\?--heeATAtrwL { background: lime; }\\\\n.\\\\\\\\@--YofbbuSihG { background: lime; }\\\\n.\\\\\\\\.--_29WwWt8JV { background: lime; }\\\\n.\\\\\\\\3A \\\\\\\\)--I_4AeARK9l { background: lime; }\\\\n.\\\\\\\\3A \\\\\\\\\`\\\\\\\\(--_rpCeu5pHk { background: lime; }\\\\n.\\\\\\\\31 23--_Oc_nRVO4G { background: lime; }\\\\n.\\\\\\\\31 a2b3c--mxXeAFeh5M { background: lime; }\\\\n.\\\\\\\\
--KBVLvvCBhx { background: lime; }\\\\n.\\\\\\\\<\\\\\\\\>\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\>\\\\\\\\>\\\\\\\\<\\\\\\\\>--vOWmh2fN7C { background: lime; }\\\\n.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\[\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\-\\\\\\\\]\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\<\\\\\\\\<\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\.--_D32kH5S0x { background: lime; }\\\\n.\\\\\\\\#--LpBEGYchm6 { background: lime; }\\\\n.\\\\\\\\#\\\\\\\\#--wZKDT2QRg1 { background: lime; }\\\\n.\\\\\\\\#\\\\\\\\.\\\\\\\\#\\\\\\\\.\\\\\\\\#--oGI7_ChvpM { background: lime; }\\\\n.\\\\\\\\_--myeULb2GLN { background: lime; }\\\\n.\\\\\\\\{\\\\\\\\}--Mae71ybFnD { background: lime; }\\\\n.\\\\\\\\#fake\\\\\\\\-id--_92k79k_uZ { background: lime; }\\\\n.foo\\\\\\\\.bar--TpLCT2g4E_ { background: lime; }\\\\n.\\\\\\\\3A hover--l6Av_vs8d_ { background: lime; }\\\\n.\\\\\\\\3A hover\\\\\\\\3A focus\\\\\\\\3A active--ZGmd9HMc_i { background: lime; }\\\\n.\\\\\\\\[attr\\\\\\\\=value\\\\\\\\]--KPlJewNi3K { background: lime; }\\\\n.f\\\\\\\\/o\\\\\\\\/o--DIrFdFnBQ9 { background: lime; }\\\\n.f\\\\\\\\\\\\\\\\o\\\\\\\\\\\\\\\\o--H1knt1tAX5 { background: lime; }\\\\n.f\\\\\\\\*o\\\\\\\\*o--_vAKu2IlrR { background: lime; }\\\\n.f\\\\\\\\!o\\\\\\\\!o--APY_BKpa8G { background: lime; }\\\\n.f\\\\\\\\'o\\\\\\\\'o--jTuAkufdKA { background: lime; }\\\\n.f\\\\\\\\~o\\\\\\\\~o--S4VvFBeH35 { background: lime; }\\\\n.f\\\\\\\\+o\\\\\\\\+o--AWIsfyEkWw { background: lime; }\\\\n\\\\n.foo\\\\\\\\/bar--DhIde1Wbgz {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo\\\\\\\\\\\\\\\\bar--aeKkgCs_2D {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo\\\\\\\\/bar\\\\\\\\/baz--QFT18bFiHR {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo\\\\\\\\\\\\\\\\bar\\\\\\\\\\\\\\\\baz--uM3RYQs79z {\\\\n background: hotpink;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"123\\": \\"123--_Oc_nRVO4G\\", - \\"test\\": \\"test--HovVWrUTjN\\", - \\"_test\\": \\"_test--_1mLQ0KYr3\\", - \\"className\\": \\"className--MMk_yFMICy\\", - \\"someId\\": \\"someId--f_mZz_4mbp\\", - \\"subClass\\": \\"subClass--FYyIWexDGl\\", - \\"-a0-34a___f\\": \\"-a0-34a___f--r_hifewiIo\\", - \\"m_x_@\\": \\"m_x_@--yUrnJ_pW2A\\", - \\"B&W?\\": \\"B&W?--O_Xkei1DAX\\", - \\":\`(\\": \\":\`(--_rpCeu5pHk\\", - \\"1a2b3c\\": \\"1a2b3c--mxXeAFeh5M\\", - \\"#fake-id\\": \\"#fake-id--_92k79k_uZ\\", - \\"-a-b-c-\\": \\"-a-b-c---c0kkJWClsc\\", - \\"©\\": \\"©--DLosMLOukp\\", - \\"♥\\": \\"♥--HQMfjUZeec\\", - \\"“‘’”\\": \\"“‘’”--bS0LrUqKBV\\", - \\"☺☃\\": \\"☺☃--F0_yWUDvky\\", - \\"⌘⌥\\": \\"⌘⌥--VyeHlHnBWZ\\", - \\"𝄞♪♩♫♬\\": \\"𝄞♪♩♫♬--Qi7pfuLhD3\\", - \\"💩\\": \\"💩--CjG3lWNhvV\\", - \\"?\\": \\"?--heeATAtrwL\\", - \\"@\\": \\"@--YofbbuSihG\\", - \\".\\": \\".--_29WwWt8JV\\", - \\":)\\": \\":)--I_4AeARK9l\\", - \\"
\\": \\"
--KBVLvvCBhx\\", - \\"<><<<>><>\\": \\"<><<<>><>--vOWmh2fN7C\\", - \\"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\\": \\"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.--_D32kH5S0x\\", - \\"#\\": \\"#--LpBEGYchm6\\", - \\"##\\": \\"##--wZKDT2QRg1\\", - \\"#.#.#\\": \\"#.#.#--oGI7_ChvpM\\", - \\"_\\": \\"_--myeULb2GLN\\", - \\"{}\\": \\"{}--Mae71ybFnD\\", - \\"foo.bar\\": \\"foo.bar--TpLCT2g4E_\\", - \\":hover\\": \\":hover--l6Av_vs8d_\\", - \\":hover:focus:active\\": \\":hover:focus:active--ZGmd9HMc_i\\", - \\"[attr=value]\\": \\"[attr=value]--KPlJewNi3K\\", - \\"f/o/o\\": \\"f/o/o--DIrFdFnBQ9\\", - \\"f\\\\\\\\o\\\\\\\\o\\": \\"f\\\\\\\\o\\\\\\\\o--H1knt1tAX5\\", - \\"f*o*o\\": \\"f*o*o--_vAKu2IlrR\\", - \\"f!o!o\\": \\"f!o!o--APY_BKpa8G\\", - \\"f'o'o\\": \\"f'o'o--jTuAkufdKA\\", - \\"f~o~o\\": \\"f~o~o--S4VvFBeH35\\", - \\"f+o+o\\": \\"f+o+o--AWIsfyEkWw\\", - \\"foo/bar\\": \\"foo/bar--DhIde1Wbgz\\", - \\"foo\\\\\\\\bar\\": \\"foo\\\\\\\\bar--aeKkgCs_2D\\", - \\"foo/bar/baz\\": \\"foo/bar/baz--QFT18bFiHR\\", - \\"foo\\\\\\\\bar\\\\\\\\baz\\": \\"foo\\\\\\\\bar\\\\\\\\baz--uM3RYQs79z\\" -}; -export default ___CSS_LOADER_EXPORT___; -" +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 "localIdentHashFunction" option: result 1`] = ` -Array [ - Array [ - "./modules/localIdentName/localIdentName.css", - ".test--_347c66e39c8f6f0a64f { +exports[`"modules" option should work and respect the "exportOnlyLocals" option: warnings 1`] = ` +[ + "ModuleWarning: Module Warning (from \`replaced original path\`): +Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. + +More info: https://sass-lang.com/d/legacy-js-api", +] +`; + +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; } -._test--_409e4df60a5df5f5d32 { +.foo { background: blue; } -.className--e5c17e6b8130297382dc { +.foo { background: red; } -#someId--_1c77fae3b2571d8af58 { +#foo { background: green; } -.className--e5c17e6b8130297382dc .subClass--_ce74472264bbe729bd3 { +.foo .foo { color: green; } -#someId--_1c77fae3b2571d8af58 .subClass--_ce74472264bbe729bd3 { +#foo .foo { color: blue; } -.-a0-34a___f--_1d60baf3600ddc46079 { +.foo { color: red; } -.m_x_\\\\@--_732174edbcf0559a465 { +.foo { margin-left: auto !important; margin-right: auto !important; } -.B\\\\&W\\\\?--_d5519eef501b3fe589f { +.foo { margin-left: auto !important; margin-right: auto !important; } -/* matches elements with class=\\":\`(\\" */ -.\\\\3A \\\\\`\\\\(--_e40374bcb01050c202b { +/* matches elements with class=":\\\`(" */ +.foo { color: aqua; } -/* matches elements with class=\\"1a2b3c\\" */ -.\\\\31 a2b3c--ede5ee005ce96f9de0d8 { +/* matches elements with class="1a2b3c" */ +.foo { color: aliceblue; } -/* matches the element with id=\\"#fake-id\\" */ -#\\\\#fake-id--fe2efa29950f418d477a { +/* matches the element with id="#fake-id" */ +#foo { color: antiquewhite; } -/* matches the element with id=\\"-a-b-c-\\" */ -#-a-b-c---d1a626ec36769b87efb8 { +/* matches the element with id="-a-b-c-" */ +#foo { color: azure; } -/* matches the element with id=\\"©\\" */ -#©--_6e62e8d8ca88d608527 { +/* matches the element with id="©" */ +#foo { color: black; } -.♥--f64ab76fe61fcc249909 { background: lime; } -.©--_6e62e8d8ca88d608527 { background: lime; } -.“‘’”--_aa74857b05d853821fd { background: lime; } -.☺☃--_7d317356ac521028664 { background: lime; } -.⌘⌥--bf468ba3afaf13e0a0b8 { background: lime; } -.𝄞♪♩♫♬--_0443100801b3837c620 { background: lime; } -.💩--be44fb27628da290a898 { background: lime; } -.\\\\?--_b964d4d1caba6296dcf { background: lime; } -.\\\\@--_31e74c1c1fee1edacc9 { background: lime; } -.\\\\.--_64f0151a785dcd909f9 { background: lime; } -.\\\\3A \\\\)--bbdac15527b1a79b9373 { background: lime; } -.\\\\3A \\\\\`\\\\(--_e40374bcb01050c202b { background: lime; } -.\\\\31 23--_ec7108c037cbacfbb41 { background: lime; } -.\\\\31 a2b3c--ede5ee005ce96f9de0d8 { background: lime; } -.\\\\
--_add6ba3a806e4e89c25 { background: lime; } -.\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\>--_5a72290b08f16a70e6e { background: lime; } -.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\.--_8643b64085158d157d4 { background: lime; } -.\\\\#--_7346997a8ea491985ae { background: lime; } -.\\\\#\\\\#--f51a1bcd5b215c049e7e { background: lime; } -.\\\\#\\\\.\\\\#\\\\.\\\\#--_c58cdb64cfefb320f70 { background: lime; } -.\\\\_--_6f952770d6b3390c36b { background: lime; } -.\\\\{\\\\}--cdaa74c4f6c9e2b15fff { background: lime; } -.\\\\#fake\\\\-id--fe2efa29950f418d477a { background: lime; } -.foo\\\\.bar--ff62a9ce0270a7159046 { background: lime; } -.\\\\3A hover--_8e85f8ae7f4139a5258 { background: lime; } -.\\\\3A hover\\\\3A focus\\\\3A active--_10f1c6d9945b1e0f789 { background: lime; } -.\\\\[attr\\\\=value\\\\]--e0cacaf2470563d41d45 { background: lime; } -.f\\\\/o\\\\/o--_45f50181c83f563b5c2 { background: lime; } -.f\\\\\\\\o\\\\\\\\o--aea404d6630a39db19d8 { background: lime; } -.f\\\\*o\\\\*o--_b29a485ccb4e98b4048 { background: lime; } -.f\\\\!o\\\\!o--c79446ed553ff32b17fd { background: lime; } -.f\\\\'o\\\\'o--_49cf7b5f2fdb64b9373 { background: lime; } -.f\\\\~o\\\\~o--_05ee4fc2b9a084dfdf0 { background: lime; } -.f\\\\+o\\\\+o--f55241c183f773304829 { 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: lime; } -.foo\\\\/bar--_d445c2f789a6c1b6531 { +.foo { background: hotpink; } -.foo\\\\\\\\bar--a407ef7c9f9341565b64 { +.foo { background: hotpink; } -.foo\\\\/bar\\\\/baz--ec4e79254ca1b4c975bd { +.foo { background: hotpink; } -.foo\\\\\\\\bar\\\\\\\\baz--b2ea1383b7cbebaf07d1 { +.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 "localIdentHashFunction" option: result 2`] = ` -Array [ - Array [ +exports[`"modules" option should work and respect the "getLocalIdent" option: result 1`] = ` +[ + [ "./modules/localIdentName/localIdentName.css", - ".test--HovVWrUTjN { + ".foo { background: red; } -._test--_1mLQ0KYr3 { +.foo { background: blue; } -.className--MMk_yFMICy { +.foo { background: red; } -#someId--f_mZz_4mbp { +#foo { background: green; } -.className--MMk_yFMICy .subClass--FYyIWexDGl { +.foo .foo { color: green; } -#someId--f_mZz_4mbp .subClass--FYyIWexDGl { +#foo .foo { color: blue; } -.-a0-34a___f--r_hifewiIo { +.foo { color: red; } -.m_x_\\\\@--yUrnJ_pW2A { +.foo { margin-left: auto !important; margin-right: auto !important; } -.B\\\\&W\\\\?--O_Xkei1DAX { +.foo { margin-left: auto !important; margin-right: auto !important; } -/* matches elements with class=\\":\`(\\" */ -.\\\\3A \\\\\`\\\\(--_rpCeu5pHk { +/* matches elements with class=":\`(" */ +.foo { color: aqua; } -/* matches elements with class=\\"1a2b3c\\" */ -.\\\\31 a2b3c--mxXeAFeh5M { +/* matches elements with class="1a2b3c" */ +.foo { color: aliceblue; } -/* matches the element with id=\\"#fake-id\\" */ -#\\\\#fake-id--_92k79k_uZ { +/* matches the element with id="#fake-id" */ +#foo { color: antiquewhite; } -/* matches the element with id=\\"-a-b-c-\\" */ -#-a-b-c---c0kkJWClsc { +/* matches the element with id="-a-b-c-" */ +#foo { color: azure; } -/* matches the element with id=\\"©\\" */ -#©--DLosMLOukp { +/* matches the element with id="©" */ +#foo { color: black; } -.♥--HQMfjUZeec { background: lime; } -.©--DLosMLOukp { background: lime; } -.“‘’”--bS0LrUqKBV { background: lime; } -.☺☃--F0_yWUDvky { background: lime; } -.⌘⌥--VyeHlHnBWZ { background: lime; } -.𝄞♪♩♫♬--Qi7pfuLhD3 { background: lime; } -.💩--CjG3lWNhvV { background: lime; } -.\\\\?--heeATAtrwL { background: lime; } -.\\\\@--YofbbuSihG { background: lime; } -.\\\\.--_29WwWt8JV { background: lime; } -.\\\\3A \\\\)--I_4AeARK9l { background: lime; } -.\\\\3A \\\\\`\\\\(--_rpCeu5pHk { background: lime; } -.\\\\31 23--_Oc_nRVO4G { background: lime; } -.\\\\31 a2b3c--mxXeAFeh5M { background: lime; } -.\\\\
--KBVLvvCBhx { background: lime; } -.\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\>--vOWmh2fN7C { background: lime; } -.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\.--_D32kH5S0x { background: lime; } -.\\\\#--LpBEGYchm6 { background: lime; } -.\\\\#\\\\#--wZKDT2QRg1 { background: lime; } -.\\\\#\\\\.\\\\#\\\\.\\\\#--oGI7_ChvpM { background: lime; } -.\\\\_--myeULb2GLN { background: lime; } -.\\\\{\\\\}--Mae71ybFnD { background: lime; } -.\\\\#fake\\\\-id--_92k79k_uZ { background: lime; } -.foo\\\\.bar--TpLCT2g4E_ { background: lime; } -.\\\\3A hover--l6Av_vs8d_ { background: lime; } -.\\\\3A hover\\\\3A focus\\\\3A active--ZGmd9HMc_i { background: lime; } -.\\\\[attr\\\\=value\\\\]--KPlJewNi3K { background: lime; } -.f\\\\/o\\\\/o--DIrFdFnBQ9 { background: lime; } -.f\\\\\\\\o\\\\\\\\o--H1knt1tAX5 { background: lime; } -.f\\\\*o\\\\*o--_vAKu2IlrR { background: lime; } -.f\\\\!o\\\\!o--APY_BKpa8G { background: lime; } -.f\\\\'o\\\\'o--jTuAkufdKA { background: lime; } -.f\\\\~o\\\\~o--S4VvFBeH35 { background: lime; } -.f\\\\+o\\\\+o--AWIsfyEkWw { 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: lime; } -.foo\\\\/bar--DhIde1Wbgz { +.foo { background: hotpink; } -.foo\\\\\\\\bar--aeKkgCs_2D { +.foo { background: hotpink; } -.foo\\\\/bar\\\\/baz--QFT18bFiHR { +.foo { background: hotpink; } -.foo\\\\\\\\bar\\\\\\\\baz--uM3RYQs79z { +.foo { background: hotpink; } ", @@ -3692,374 +5084,342 @@ Array [ ] `; -exports[`"modules" option should work and respect the "localIdentHashFunction" option: warnings 1`] = `Array []`; - -exports[`"modules" option should work and respect the "localIdentHashFunction" option: warnings 2`] = `Array []`; +exports[`"modules" option should work and respect the "getLocalIdent" option: warnings 1`] = `[]`; -exports[`"modules" option should work and respect the "localIdentName" option 2: errors 1`] = `Array []`; +exports[`"modules" option should work and respect the "hashSalt" option: errors 1`] = `[]`; -exports[`"modules" option should work and respect the "localIdentName" option 2: module 1`] = ` +exports[`"modules" option should work and respect the "hashSalt" option: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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--_9655 {\\\\n background: red;\\\\n}\\\\n\\\\n.localIdentName--_test--_ded4 {\\\\n background: blue;\\\\n}\\\\n\\\\n.localIdentName--className--d8d5b {\\\\n background: red;\\\\n}\\\\n\\\\n#localIdentName--someId--d510b {\\\\n background: green;\\\\n}\\\\n\\\\n.localIdentName--className--d8d5b .localIdentName--subClass--_bc5c {\\\\n color: green;\\\\n}\\\\n\\\\n#localIdentName--someId--d510b .localIdentName--subClass--_bc5c {\\\\n color: blue;\\\\n}\\\\n\\\\n.localIdentName---a0-34a___f--ffdef {\\\\n color: red;\\\\n}\\\\n\\\\n.localIdentName--m_x_\\\\\\\\@--_6a26 {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n.localIdentName--B\\\\\\\\&W\\\\\\\\?--_a00e {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\":\`(\\\\\\" */\\\\n.localIdentName--\\\\\\\\3A \\\\\\\\\`\\\\\\\\(--ace13 {\\\\n color: aqua;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\"1a2b3c\\\\\\" */\\\\n.localIdentName--\\\\\\\\31 a2b3c--_b3ba {\\\\n color: aliceblue;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"#fake-id\\\\\\" */\\\\n#localIdentName--\\\\\\\\#fake-id--_6540 {\\\\n color: antiquewhite;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"-a-b-c-\\\\\\" */\\\\n#localIdentName---a-b-c---dcf72 {\\\\n color: azure;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"©\\\\\\" */\\\\n#localIdentName--©--_f667 {\\\\n color: black;\\\\n}\\\\n\\\\n.localIdentName--♥--_4e1b { background: lime; }\\\\n.localIdentName--©--_f667 { background: lime; }\\\\n.localIdentName--“‘’”--_240b { background: lime; }\\\\n.localIdentName--☺☃--_f55f { background: lime; }\\\\n.localIdentName--⌘⌥--_6e9f { background: lime; }\\\\n.localIdentName--𝄞♪♩♫♬--c08e9 { background: lime; }\\\\n.localIdentName--💩--_c930 { background: lime; }\\\\n.localIdentName--\\\\\\\\?--_8abe { background: lime; }\\\\n.localIdentName--\\\\\\\\@--fc6a4 { background: lime; }\\\\n.localIdentName--\\\\\\\\.--_61b5 { background: lime; }\\\\n.localIdentName--\\\\\\\\3A \\\\\\\\)--d17cf { background: lime; }\\\\n.localIdentName--\\\\\\\\3A \\\\\\\\\`\\\\\\\\(--ace13 { background: lime; }\\\\n.localIdentName--\\\\\\\\31 23--ab00d { background: lime; }\\\\n.localIdentName--\\\\\\\\31 a2b3c--_b3ba { background: lime; }\\\\n.localIdentName--\\\\\\\\
--_adaa { background: lime; }\\\\n.localIdentName--\\\\\\\\<\\\\\\\\>\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\>\\\\\\\\>\\\\\\\\<\\\\\\\\>--c74af { background: lime; }\\\\n.localIdentName--\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\[\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\-\\\\\\\\]\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\<\\\\\\\\<\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\.--_9349 { background: lime; }\\\\n.localIdentName--\\\\\\\\#--be99f { background: lime; }\\\\n.localIdentName--\\\\\\\\#\\\\\\\\#--cd95f { background: lime; }\\\\n.localIdentName--\\\\\\\\#\\\\\\\\.\\\\\\\\#\\\\\\\\.\\\\\\\\#--_0968 { background: lime; }\\\\n.localIdentName--\\\\\\\\_--_e1ed { background: lime; }\\\\n.localIdentName--\\\\\\\\{\\\\\\\\}--f896f { background: lime; }\\\\n.localIdentName--\\\\\\\\#fake\\\\\\\\-id--_6540 { background: lime; }\\\\n.localIdentName--foo\\\\\\\\.bar--d1e14 { background: lime; }\\\\n.localIdentName--\\\\\\\\3A hover--_f970 { background: lime; }\\\\n.localIdentName--\\\\\\\\3A hover\\\\\\\\3A focus\\\\\\\\3A active--e0f06 { background: lime; }\\\\n.localIdentName--\\\\\\\\[attr\\\\\\\\=value\\\\\\\\]--f2a7f { background: lime; }\\\\n.localIdentName--f\\\\\\\\/o\\\\\\\\/o--_31d4 { background: lime; }\\\\n.localIdentName--f\\\\\\\\\\\\\\\\o\\\\\\\\\\\\\\\\o--_d9a8 { background: lime; }\\\\n.localIdentName--f\\\\\\\\*o\\\\\\\\*o--_800f { background: lime; }\\\\n.localIdentName--f\\\\\\\\!o\\\\\\\\!o--c6bb7 { background: lime; }\\\\n.localIdentName--f\\\\\\\\'o\\\\\\\\'o--f54f6 { background: lime; }\\\\n.localIdentName--f\\\\\\\\~o\\\\\\\\~o--_eb57 { background: lime; }\\\\n.localIdentName--f\\\\\\\\+o\\\\\\\\+o--_a23f { background: lime; }\\\\n\\\\n.localIdentName--foo\\\\\\\\/bar--_835c {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.localIdentName--foo\\\\\\\\\\\\\\\\bar--_1817 {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.localIdentName--foo\\\\\\\\/bar\\\\\\\\/baz--_289c {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.localIdentName--foo\\\\\\\\\\\\\\\\bar\\\\\\\\\\\\\\\\baz--_69e3 {\\\\n background: hotpink;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"123\\": \\"localIdentName--123--ab00d\\", - \\"test\\": \\"localIdentName--test--_9655\\", - \\"_test\\": \\"localIdentName--_test--_ded4\\", - \\"className\\": \\"localIdentName--className--d8d5b\\", - \\"someId\\": \\"localIdentName--someId--d510b\\", - \\"subClass\\": \\"localIdentName--subClass--_bc5c\\", - \\"-a0-34a___f\\": \\"localIdentName---a0-34a___f--ffdef\\", - \\"m_x_@\\": \\"localIdentName--m_x_@--_6a26\\", - \\"B&W?\\": \\"localIdentName--B&W?--_a00e\\", - \\":\`(\\": \\"localIdentName--:\`(--ace13\\", - \\"1a2b3c\\": \\"localIdentName--1a2b3c--_b3ba\\", - \\"#fake-id\\": \\"localIdentName--#fake-id--_6540\\", - \\"-a-b-c-\\": \\"localIdentName---a-b-c---dcf72\\", - \\"©\\": \\"localIdentName--©--_f667\\", - \\"♥\\": \\"localIdentName--♥--_4e1b\\", - \\"“‘’”\\": \\"localIdentName--“‘’”--_240b\\", - \\"☺☃\\": \\"localIdentName--☺☃--_f55f\\", - \\"⌘⌥\\": \\"localIdentName--⌘⌥--_6e9f\\", - \\"𝄞♪♩♫♬\\": \\"localIdentName--𝄞♪♩♫♬--c08e9\\", - \\"💩\\": \\"localIdentName--💩--_c930\\", - \\"?\\": \\"localIdentName--?--_8abe\\", - \\"@\\": \\"localIdentName--@--fc6a4\\", - \\".\\": \\"localIdentName--.--_61b5\\", - \\":)\\": \\"localIdentName--:)--d17cf\\", - \\"
\\": \\"localIdentName--
--_adaa\\", - \\"<><<<>><>\\": \\"localIdentName--<><<<>><>--c74af\\", - \\"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\\": \\"localIdentName--++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.--_9349\\", - \\"#\\": \\"localIdentName--#--be99f\\", - \\"##\\": \\"localIdentName--##--cd95f\\", - \\"#.#.#\\": \\"localIdentName--#.#.#--_0968\\", - \\"_\\": \\"localIdentName--_--_e1ed\\", - \\"{}\\": \\"localIdentName--{}--f896f\\", - \\"foo.bar\\": \\"localIdentName--foo.bar--d1e14\\", - \\":hover\\": \\"localIdentName--:hover--_f970\\", - \\":hover:focus:active\\": \\"localIdentName--:hover:focus:active--e0f06\\", - \\"[attr=value]\\": \\"localIdentName--[attr=value]--f2a7f\\", - \\"f/o/o\\": \\"localIdentName--f/o/o--_31d4\\", - \\"f\\\\\\\\o\\\\\\\\o\\": \\"localIdentName--f\\\\\\\\o\\\\\\\\o--_d9a8\\", - \\"f*o*o\\": \\"localIdentName--f*o*o--_800f\\", - \\"f!o!o\\": \\"localIdentName--f!o!o--c6bb7\\", - \\"f'o'o\\": \\"localIdentName--f'o'o--f54f6\\", - \\"f~o~o\\": \\"localIdentName--f~o~o--_eb57\\", - \\"f+o+o\\": \\"localIdentName--f+o+o--_a23f\\", - \\"foo/bar\\": \\"localIdentName--foo/bar--_835c\\", - \\"foo\\\\\\\\bar\\": \\"localIdentName--foo\\\\\\\\bar--_1817\\", - \\"foo/bar/baz\\": \\"localIdentName--foo/bar/baz--_289c\\", - \\"foo\\\\\\\\bar\\\\\\\\baz\\": \\"localIdentName--foo\\\\\\\\bar\\\\\\\\baz--_69e3\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; - -exports[`"modules" option should work and respect the "localIdentName" option 2: result 1`] = ` -Array [ - Array [ - "./modules/localIdentName/localIdentName.css", - ".localIdentName--test--_9655 { +___CSS_LOADER_EXPORT___.push([module.id, \`.test--a5c5ad41747f587b6274 { background: red; } -.localIdentName--_test--_ded4 { +._test--df4a97df5d4981c18fd3 { background: blue; } -.localIdentName--className--d8d5b { +.className--f51a39697d46ec360e5d { background: red; } -#localIdentName--someId--d510b { +#someId--a66e8413a3c261c3b5db { background: green; } -.localIdentName--className--d8d5b .localIdentName--subClass--_bc5c { +.className--f51a39697d46ec360e5d .subClass--a2c5762a1671ee02d495 { color: green; } -#localIdentName--someId--d510b .localIdentName--subClass--_bc5c { +#someId--a66e8413a3c261c3b5db .subClass--a2c5762a1671ee02d495 { color: blue; } -.localIdentName---a0-34a___f--ffdef { +.-a0-34a___f--bcceae76b21ea32837d1 { color: red; } -.localIdentName--m_x_\\\\@--_6a26 { +.m_x_\\\\@--bf8f3ed982973d67547f { margin-left: auto !important; margin-right: auto !important; } -.localIdentName--B\\\\&W\\\\?--_a00e { +.B\\\\&W\\\\?--fdee73d5165bc2acf73d { margin-left: auto !important; margin-right: auto !important; } -/* matches elements with class=\\":\`(\\" */ -.localIdentName--\\\\3A \\\\\`\\\\(--ace13 { +/* matches elements with class=":\\\`(" */ +.\\\\3A \\\\\\\`\\\\(--daecad79b824a8ae7e46 { color: aqua; } -/* matches elements with class=\\"1a2b3c\\" */ -.localIdentName--\\\\31 a2b3c--_b3ba { +/* matches elements with class="1a2b3c" */ +.\\\\31 a2b3c--d785e50a661529be89f2 { color: aliceblue; } -/* matches the element with id=\\"#fake-id\\" */ -#localIdentName--\\\\#fake-id--_6540 { +/* matches the element with id="#fake-id" */ +#\\\\#fake-id--a2d7428449895097291a { color: antiquewhite; } -/* matches the element with id=\\"-a-b-c-\\" */ -#localIdentName---a-b-c---dcf72 { +/* matches the element with id="-a-b-c-" */ +#-a-b-c---ccf3274dd45a8534913a { color: azure; } -/* matches the element with id=\\"©\\" */ -#localIdentName--©--_f667 { +/* matches the element with id="©" */ +#©--adb36177ba3316dd9afb { color: black; } -.localIdentName--♥--_4e1b { background: lime; } -.localIdentName--©--_f667 { background: lime; } -.localIdentName--“‘’”--_240b { background: lime; } -.localIdentName--☺☃--_f55f { background: lime; } -.localIdentName--⌘⌥--_6e9f { background: lime; } -.localIdentName--𝄞♪♩♫♬--c08e9 { background: lime; } -.localIdentName--💩--_c930 { background: lime; } -.localIdentName--\\\\?--_8abe { background: lime; } -.localIdentName--\\\\@--fc6a4 { background: lime; } -.localIdentName--\\\\.--_61b5 { background: lime; } -.localIdentName--\\\\3A \\\\)--d17cf { background: lime; } -.localIdentName--\\\\3A \\\\\`\\\\(--ace13 { background: lime; } -.localIdentName--\\\\31 23--ab00d { background: lime; } -.localIdentName--\\\\31 a2b3c--_b3ba { background: lime; } -.localIdentName--\\\\
--_adaa { background: lime; } -.localIdentName--\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\>--c74af { background: lime; } -.localIdentName--\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\.--_9349 { background: lime; } -.localIdentName--\\\\#--be99f { background: lime; } -.localIdentName--\\\\#\\\\#--cd95f { background: lime; } -.localIdentName--\\\\#\\\\.\\\\#\\\\.\\\\#--_0968 { background: lime; } -.localIdentName--\\\\_--_e1ed { background: lime; } -.localIdentName--\\\\{\\\\}--f896f { background: lime; } -.localIdentName--\\\\#fake\\\\-id--_6540 { background: lime; } -.localIdentName--foo\\\\.bar--d1e14 { background: lime; } -.localIdentName--\\\\3A hover--_f970 { background: lime; } -.localIdentName--\\\\3A hover\\\\3A focus\\\\3A active--e0f06 { background: lime; } -.localIdentName--\\\\[attr\\\\=value\\\\]--f2a7f { background: lime; } -.localIdentName--f\\\\/o\\\\/o--_31d4 { background: lime; } -.localIdentName--f\\\\\\\\o\\\\\\\\o--_d9a8 { background: lime; } -.localIdentName--f\\\\*o\\\\*o--_800f { background: lime; } -.localIdentName--f\\\\!o\\\\!o--c6bb7 { background: lime; } -.localIdentName--f\\\\'o\\\\'o--f54f6 { background: lime; } -.localIdentName--f\\\\~o\\\\~o--_eb57 { background: lime; } -.localIdentName--f\\\\+o\\\\+o--_a23f { background: lime; } - -.localIdentName--foo\\\\/bar--_835c { +.♥--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; } -.localIdentName--foo\\\\\\\\bar--_1817 { +.foo\\\\\\\\bar--e8ba4f9a74f8b7fa8361 { background: hotpink; } -.localIdentName--foo\\\\/bar\\\\/baz--_289c { +.foo\\\\/bar\\\\/baz--b5eb40201778b94976f0 { background: hotpink; } -.localIdentName--foo\\\\\\\\bar\\\\\\\\baz--_69e3 { +.foo\\\\\\\\bar\\\\\\\\baz--b178648b8128f2bbc548 { background: hotpink; } -", - "", - ], -] -`; - -exports[`"modules" option should work and respect the "localIdentName" option 2: warnings 1`] = `Array []`; - -exports[`"modules" option should work and respect the "localIdentName" option: errors 1`] = `Array []`; - -exports[`"modules" option should work and respect the "localIdentName" option: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".localIdentName--test--iWVbM {\\\\n background: red;\\\\n}\\\\n\\\\n.localIdentName--_test--He1GC {\\\\n background: blue;\\\\n}\\\\n\\\\n.localIdentName--className--_NW73 {\\\\n background: red;\\\\n}\\\\n\\\\n#localIdentName--someId--_RC_7 {\\\\n background: green;\\\\n}\\\\n\\\\n.localIdentName--className--_NW73 .localIdentName--subClass--G8XHq {\\\\n color: green;\\\\n}\\\\n\\\\n#localIdentName--someId--_RC_7 .localIdentName--subClass--G8XHq {\\\\n color: blue;\\\\n}\\\\n\\\\n.localIdentName---a0-34a___f--_97_H {\\\\n color: red;\\\\n}\\\\n\\\\n.localIdentName--m_x_\\\\\\\\@--ZqJiv {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n.localIdentName--B\\\\\\\\&W\\\\\\\\?--WgDq6 {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\":\`(\\\\\\" */\\\\n.localIdentName--\\\\\\\\3A \\\\\\\\\`\\\\\\\\(--rOE5z {\\\\n color: aqua;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\"1a2b3c\\\\\\" */\\\\n.localIdentName--\\\\\\\\31 a2b3c--CzutG {\\\\n color: aliceblue;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"#fake-id\\\\\\" */\\\\n#localIdentName--\\\\\\\\#fake-id--ZlQLP {\\\\n color: antiquewhite;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"-a-b-c-\\\\\\" */\\\\n#localIdentName---a-b-c---_Pclv {\\\\n color: azure;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"©\\\\\\" */\\\\n#localIdentName--©--L2Zwb {\\\\n color: black;\\\\n}\\\\n\\\\n.localIdentName--♥--lOG33 { background: lime; }\\\\n.localIdentName--©--L2Zwb { background: lime; }\\\\n.localIdentName--“‘’”--EkC89 { background: lime; }\\\\n.localIdentName--☺☃--T1XyS { background: lime; }\\\\n.localIdentName--⌘⌥--Funx7 { background: lime; }\\\\n.localIdentName--𝄞♪♩♫♬--wI6di { background: lime; }\\\\n.localIdentName--💩--LJMDo { background: lime; }\\\\n.localIdentName--\\\\\\\\?--mKvtX { background: lime; }\\\\n.localIdentName--\\\\\\\\@--_GpKW { background: lime; }\\\\n.localIdentName--\\\\\\\\.--RhtfL { background: lime; }\\\\n.localIdentName--\\\\\\\\3A \\\\\\\\)--_Xz8A { background: lime; }\\\\n.localIdentName--\\\\\\\\3A \\\\\\\\\`\\\\\\\\(--rOE5z { background: lime; }\\\\n.localIdentName--\\\\\\\\31 23--qwDWw { background: lime; }\\\\n.localIdentName--\\\\\\\\31 a2b3c--CzutG { background: lime; }\\\\n.localIdentName--\\\\\\\\
--etqt5 { background: lime; }\\\\n.localIdentName--\\\\\\\\<\\\\\\\\>\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\>\\\\\\\\>\\\\\\\\<\\\\\\\\>--x0r0d { background: lime; }\\\\n.localIdentName--\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\[\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\-\\\\\\\\]\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\<\\\\\\\\<\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\.--KTSRl { background: lime; }\\\\n.localIdentName--\\\\\\\\#--vpn9q { background: lime; }\\\\n.localIdentName--\\\\\\\\#\\\\\\\\#--zZX1i { background: lime; }\\\\n.localIdentName--\\\\\\\\#\\\\\\\\.\\\\\\\\#\\\\\\\\.\\\\\\\\#--EJaMR { background: lime; }\\\\n.localIdentName--\\\\\\\\_--Ph7Te { background: lime; }\\\\n.localIdentName--\\\\\\\\{\\\\\\\\}--_Jb3C { background: lime; }\\\\n.localIdentName--\\\\\\\\#fake\\\\\\\\-id--ZlQLP { background: lime; }\\\\n.localIdentName--foo\\\\\\\\.bar--_eFAU { background: lime; }\\\\n.localIdentName--\\\\\\\\3A hover--b5cLb { background: lime; }\\\\n.localIdentName--\\\\\\\\3A hover\\\\\\\\3A focus\\\\\\\\3A active--_PBj_ { background: lime; }\\\\n.localIdentName--\\\\\\\\[attr\\\\\\\\=value\\\\\\\\]--_qf98 { background: lime; }\\\\n.localIdentName--f\\\\\\\\/o\\\\\\\\/o--Ax1IQ { background: lime; }\\\\n.localIdentName--f\\\\\\\\\\\\\\\\o\\\\\\\\\\\\\\\\o--HZqNz { background: lime; }\\\\n.localIdentName--f\\\\\\\\*o\\\\\\\\*o--KAD4J { background: lime; }\\\\n.localIdentName--f\\\\\\\\!o\\\\\\\\!o--xrt7w { background: lime; }\\\\n.localIdentName--f\\\\\\\\'o\\\\\\\\'o--_U9sL { background: lime; }\\\\n.localIdentName--f\\\\\\\\~o\\\\\\\\~o--frVya { background: lime; }\\\\n.localIdentName--f\\\\\\\\+o\\\\\\\\+o--KiP6w { background: lime; }\\\\n\\\\n.localIdentName--foo\\\\\\\\/bar--ODXF8 {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.localIdentName--foo\\\\\\\\\\\\\\\\bar--gYF7L {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.localIdentName--foo\\\\\\\\/bar\\\\\\\\/baz--konKL {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.localIdentName--foo\\\\\\\\\\\\\\\\bar\\\\\\\\\\\\\\\\baz--Bp4zV {\\\\n background: hotpink;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"123\\": \\"localIdentName--123--qwDWw\\", - \\"test\\": \\"localIdentName--test--iWVbM\\", - \\"_test\\": \\"localIdentName--_test--He1GC\\", - \\"className\\": \\"localIdentName--className--_NW73\\", - \\"someId\\": \\"localIdentName--someId--_RC_7\\", - \\"subClass\\": \\"localIdentName--subClass--G8XHq\\", - \\"-a0-34a___f\\": \\"localIdentName---a0-34a___f--_97_H\\", - \\"m_x_@\\": \\"localIdentName--m_x_@--ZqJiv\\", - \\"B&W?\\": \\"localIdentName--B&W?--WgDq6\\", - \\":\`(\\": \\"localIdentName--:\`(--rOE5z\\", - \\"1a2b3c\\": \\"localIdentName--1a2b3c--CzutG\\", - \\"#fake-id\\": \\"localIdentName--#fake-id--ZlQLP\\", - \\"-a-b-c-\\": \\"localIdentName---a-b-c---_Pclv\\", - \\"©\\": \\"localIdentName--©--L2Zwb\\", - \\"♥\\": \\"localIdentName--♥--lOG33\\", - \\"“‘’”\\": \\"localIdentName--“‘’”--EkC89\\", - \\"☺☃\\": \\"localIdentName--☺☃--T1XyS\\", - \\"⌘⌥\\": \\"localIdentName--⌘⌥--Funx7\\", - \\"𝄞♪♩♫♬\\": \\"localIdentName--𝄞♪♩♫♬--wI6di\\", - \\"💩\\": \\"localIdentName--💩--LJMDo\\", - \\"?\\": \\"localIdentName--?--mKvtX\\", - \\"@\\": \\"localIdentName--@--_GpKW\\", - \\".\\": \\"localIdentName--.--RhtfL\\", - \\":)\\": \\"localIdentName--:)--_Xz8A\\", - \\"
\\": \\"localIdentName--
--etqt5\\", - \\"<><<<>><>\\": \\"localIdentName--<><<<>><>--x0r0d\\", - \\"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\\": \\"localIdentName--++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.--KTSRl\\", - \\"#\\": \\"localIdentName--#--vpn9q\\", - \\"##\\": \\"localIdentName--##--zZX1i\\", - \\"#.#.#\\": \\"localIdentName--#.#.#--EJaMR\\", - \\"_\\": \\"localIdentName--_--Ph7Te\\", - \\"{}\\": \\"localIdentName--{}--_Jb3C\\", - \\"foo.bar\\": \\"localIdentName--foo.bar--_eFAU\\", - \\":hover\\": \\"localIdentName--:hover--b5cLb\\", - \\":hover:focus:active\\": \\"localIdentName--:hover:focus:active--_PBj_\\", - \\"[attr=value]\\": \\"localIdentName--[attr=value]--_qf98\\", - \\"f/o/o\\": \\"localIdentName--f/o/o--Ax1IQ\\", - \\"f\\\\\\\\o\\\\\\\\o\\": \\"localIdentName--f\\\\\\\\o\\\\\\\\o--HZqNz\\", - \\"f*o*o\\": \\"localIdentName--f*o*o--KAD4J\\", - \\"f!o!o\\": \\"localIdentName--f!o!o--xrt7w\\", - \\"f'o'o\\": \\"localIdentName--f'o'o--_U9sL\\", - \\"f~o~o\\": \\"localIdentName--f~o~o--frVya\\", - \\"f+o+o\\": \\"localIdentName--f+o+o--KiP6w\\", - \\"foo/bar\\": \\"localIdentName--foo/bar--ODXF8\\", - \\"foo\\\\\\\\bar\\": \\"localIdentName--foo\\\\\\\\bar--gYF7L\\", - \\"foo/bar/baz\\": \\"localIdentName--foo/bar/baz--konKL\\", - \\"foo\\\\\\\\bar\\\\\\\\baz\\": \\"localIdentName--foo\\\\\\\\bar\\\\\\\\baz--Bp4zV\\" -}; +\`, ""]); +// 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 "localIdentName" option: result 1`] = ` -Array [ - Array [ +exports[`"modules" option should work and respect the "hashSalt" option: result 1`] = ` +[ + [ "./modules/localIdentName/localIdentName.css", - ".localIdentName--test--iWVbM { + ".test--a5c5ad41747f587b6274 { background: red; } -.localIdentName--_test--He1GC { +._test--df4a97df5d4981c18fd3 { background: blue; } -.localIdentName--className--_NW73 { +.className--f51a39697d46ec360e5d { background: red; } -#localIdentName--someId--_RC_7 { +#someId--a66e8413a3c261c3b5db { background: green; } -.localIdentName--className--_NW73 .localIdentName--subClass--G8XHq { +.className--f51a39697d46ec360e5d .subClass--a2c5762a1671ee02d495 { color: green; } -#localIdentName--someId--_RC_7 .localIdentName--subClass--G8XHq { +#someId--a66e8413a3c261c3b5db .subClass--a2c5762a1671ee02d495 { color: blue; } -.localIdentName---a0-34a___f--_97_H { +.-a0-34a___f--bcceae76b21ea32837d1 { color: red; } -.localIdentName--m_x_\\\\@--ZqJiv { +.m_x_\\@--bf8f3ed982973d67547f { margin-left: auto !important; margin-right: auto !important; } -.localIdentName--B\\\\&W\\\\?--WgDq6 { +.B\\&W\\?--fdee73d5165bc2acf73d { margin-left: auto !important; margin-right: auto !important; } -/* matches elements with class=\\":\`(\\" */ -.localIdentName--\\\\3A \\\\\`\\\\(--rOE5z { +/* matches elements with class=":\`(" */ +.\\3A \\\`\\(--daecad79b824a8ae7e46 { color: aqua; } -/* matches elements with class=\\"1a2b3c\\" */ -.localIdentName--\\\\31 a2b3c--CzutG { +/* matches elements with class="1a2b3c" */ +.\\31 a2b3c--d785e50a661529be89f2 { color: aliceblue; } -/* matches the element with id=\\"#fake-id\\" */ -#localIdentName--\\\\#fake-id--ZlQLP { +/* matches the element with id="#fake-id" */ +#\\#fake-id--a2d7428449895097291a { color: antiquewhite; } -/* matches the element with id=\\"-a-b-c-\\" */ -#localIdentName---a-b-c---_Pclv { +/* matches the element with id="-a-b-c-" */ +#-a-b-c---ccf3274dd45a8534913a { color: azure; } -/* matches the element with id=\\"©\\" */ -#localIdentName--©--L2Zwb { +/* matches the element with id="©" */ +#©--adb36177ba3316dd9afb { color: black; } -.localIdentName--♥--lOG33 { background: lime; } -.localIdentName--©--L2Zwb { background: lime; } -.localIdentName--“‘’”--EkC89 { background: lime; } -.localIdentName--☺☃--T1XyS { background: lime; } -.localIdentName--⌘⌥--Funx7 { background: lime; } -.localIdentName--𝄞♪♩♫♬--wI6di { background: lime; } -.localIdentName--💩--LJMDo { background: lime; } -.localIdentName--\\\\?--mKvtX { background: lime; } -.localIdentName--\\\\@--_GpKW { background: lime; } -.localIdentName--\\\\.--RhtfL { background: lime; } -.localIdentName--\\\\3A \\\\)--_Xz8A { background: lime; } -.localIdentName--\\\\3A \\\\\`\\\\(--rOE5z { background: lime; } -.localIdentName--\\\\31 23--qwDWw { background: lime; } -.localIdentName--\\\\31 a2b3c--CzutG { background: lime; } -.localIdentName--\\\\
--etqt5 { background: lime; } -.localIdentName--\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\>--x0r0d { background: lime; } -.localIdentName--\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\.--KTSRl { background: lime; } -.localIdentName--\\\\#--vpn9q { background: lime; } -.localIdentName--\\\\#\\\\#--zZX1i { background: lime; } -.localIdentName--\\\\#\\\\.\\\\#\\\\.\\\\#--EJaMR { background: lime; } -.localIdentName--\\\\_--Ph7Te { background: lime; } -.localIdentName--\\\\{\\\\}--_Jb3C { background: lime; } -.localIdentName--\\\\#fake\\\\-id--ZlQLP { background: lime; } -.localIdentName--foo\\\\.bar--_eFAU { background: lime; } -.localIdentName--\\\\3A hover--b5cLb { background: lime; } -.localIdentName--\\\\3A hover\\\\3A focus\\\\3A active--_PBj_ { background: lime; } -.localIdentName--\\\\[attr\\\\=value\\\\]--_qf98 { background: lime; } -.localIdentName--f\\\\/o\\\\/o--Ax1IQ { background: lime; } -.localIdentName--f\\\\\\\\o\\\\\\\\o--HZqNz { background: lime; } -.localIdentName--f\\\\*o\\\\*o--KAD4J { background: lime; } -.localIdentName--f\\\\!o\\\\!o--xrt7w { background: lime; } -.localIdentName--f\\\\'o\\\\'o--_U9sL { background: lime; } -.localIdentName--f\\\\~o\\\\~o--frVya { background: lime; } -.localIdentName--f\\\\+o\\\\+o--KiP6w { background: lime; } - -.localIdentName--foo\\\\/bar--ODXF8 { +.♥--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; } -.localIdentName--foo\\\\\\\\bar--gYF7L { +.foo\\\\bar--e8ba4f9a74f8b7fa8361 { background: hotpink; } -.localIdentName--foo\\\\/bar\\\\/baz--konKL { +.foo\\/bar\\/baz--b5eb40201778b94976f0 { background: hotpink; } -.localIdentName--foo\\\\\\\\bar\\\\\\\\baz--Bp4zV { +.foo\\\\bar\\\\baz--b178648b8128f2bbc548 { background: hotpink; } ", @@ -4068,1196 +5428,9209 @@ Array [ ] `; -exports[`"modules" option should work and respect the "localIdentName" option: warnings 1`] = `Array []`; +exports[`"modules" option should work and respect the "hashSalt" option: warnings 1`] = `[]`; -exports[`"modules" option should work and respect the "path" placeholder: errors 1`] = `Array []`; +exports[`"modules" option should work and respect the "hashStrategy" = "minimal-subset" and [local]: errors 1`] = `[]`; -exports[`"modules" option should work and respect the "path" placeholder: module 1`] = ` +exports[`"modules" option should work and respect the "hashStrategy" = "minimal-subset" and [local]: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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 {\\\\n background: red;\\\\n}\\\\n\\\\n.fixtures-modules-localIdentName-localIdentName___test {\\\\n background: blue;\\\\n}\\\\n\\\\n.fixtures-modules-localIdentName-localIdentName__className {\\\\n background: red;\\\\n}\\\\n\\\\n#fixtures-modules-localIdentName-localIdentName__someId {\\\\n background: green;\\\\n}\\\\n\\\\n.fixtures-modules-localIdentName-localIdentName__className .fixtures-modules-localIdentName-localIdentName__subClass {\\\\n color: green;\\\\n}\\\\n\\\\n#fixtures-modules-localIdentName-localIdentName__someId .fixtures-modules-localIdentName-localIdentName__subClass {\\\\n color: blue;\\\\n}\\\\n\\\\n.fixtures-modules-localIdentName-localIdentName__-a0-34a___f {\\\\n color: red;\\\\n}\\\\n\\\\n.fixtures-modules-localIdentName-localIdentName__m_x_\\\\\\\\@ {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n.fixtures-modules-localIdentName-localIdentName__B\\\\\\\\&W\\\\\\\\? {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\":\`(\\\\\\" */\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\3A \\\\\\\\\`\\\\\\\\( {\\\\n color: aqua;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\"1a2b3c\\\\\\" */\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\31 a2b3c {\\\\n color: aliceblue;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"#fake-id\\\\\\" */\\\\n#fixtures-modules-localIdentName-localIdentName__\\\\\\\\#fake-id {\\\\n color: antiquewhite;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"-a-b-c-\\\\\\" */\\\\n#fixtures-modules-localIdentName-localIdentName__-a-b-c- {\\\\n color: azure;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"©\\\\\\" */\\\\n#fixtures-modules-localIdentName-localIdentName__© {\\\\n color: black;\\\\n}\\\\n\\\\n.fixtures-modules-localIdentName-localIdentName__♥ { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__© { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__“‘’” { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__☺☃ { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__⌘⌥ { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__𝄞♪♩♫♬ { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__💩 { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\? { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\@ { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\. { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\3A \\\\\\\\) { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\3A \\\\\\\\\`\\\\\\\\( { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\31 23 { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\31 a2b3c { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\
{ background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\<\\\\\\\\>\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\>\\\\\\\\>\\\\\\\\<\\\\\\\\> { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\[\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\-\\\\\\\\]\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\<\\\\\\\\<\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\. { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\# { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\#\\\\\\\\# { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\#\\\\\\\\.\\\\\\\\#\\\\\\\\.\\\\\\\\# { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\_ { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\{\\\\\\\\} { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\#fake\\\\\\\\-id { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__foo\\\\\\\\.bar { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\3A hover { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\3A hover\\\\\\\\3A focus\\\\\\\\3A active { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__\\\\\\\\[attr\\\\\\\\=value\\\\\\\\] { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__f\\\\\\\\/o\\\\\\\\/o { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__f\\\\\\\\\\\\\\\\o\\\\\\\\\\\\\\\\o { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__f\\\\\\\\*o\\\\\\\\*o { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__f\\\\\\\\!o\\\\\\\\!o { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__f\\\\\\\\'o\\\\\\\\'o { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__f\\\\\\\\~o\\\\\\\\~o { background: lime; }\\\\n.fixtures-modules-localIdentName-localIdentName__f\\\\\\\\+o\\\\\\\\+o { background: lime; }\\\\n\\\\n.fixtures-modules-localIdentName-localIdentName__foo\\\\\\\\/bar {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.fixtures-modules-localIdentName-localIdentName__foo\\\\\\\\\\\\\\\\bar {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.fixtures-modules-localIdentName-localIdentName__foo\\\\\\\\/bar\\\\\\\\/baz {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.fixtures-modules-localIdentName-localIdentName__foo\\\\\\\\\\\\\\\\bar\\\\\\\\\\\\\\\\baz {\\\\n background: hotpink;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"123\\": \\"fixtures-modules-localIdentName-localIdentName__123\\", - \\"test\\": \\"fixtures-modules-localIdentName-localIdentName__test\\", - \\"_test\\": \\"fixtures-modules-localIdentName-localIdentName___test\\", - \\"className\\": \\"fixtures-modules-localIdentName-localIdentName__className\\", - \\"someId\\": \\"fixtures-modules-localIdentName-localIdentName__someId\\", - \\"subClass\\": \\"fixtures-modules-localIdentName-localIdentName__subClass\\", - \\"-a0-34a___f\\": \\"fixtures-modules-localIdentName-localIdentName__-a0-34a___f\\", - \\"m_x_@\\": \\"fixtures-modules-localIdentName-localIdentName__m_x_@\\", - \\"B&W?\\": \\"fixtures-modules-localIdentName-localIdentName__B&W?\\", - \\":\`(\\": \\"fixtures-modules-localIdentName-localIdentName__:\`(\\", - \\"1a2b3c\\": \\"fixtures-modules-localIdentName-localIdentName__1a2b3c\\", - \\"#fake-id\\": \\"fixtures-modules-localIdentName-localIdentName__#fake-id\\", - \\"-a-b-c-\\": \\"fixtures-modules-localIdentName-localIdentName__-a-b-c-\\", - \\"©\\": \\"fixtures-modules-localIdentName-localIdentName__©\\", - \\"♥\\": \\"fixtures-modules-localIdentName-localIdentName__♥\\", - \\"“‘’”\\": \\"fixtures-modules-localIdentName-localIdentName__“‘’”\\", - \\"☺☃\\": \\"fixtures-modules-localIdentName-localIdentName__☺☃\\", - \\"⌘⌥\\": \\"fixtures-modules-localIdentName-localIdentName__⌘⌥\\", - \\"𝄞♪♩♫♬\\": \\"fixtures-modules-localIdentName-localIdentName__𝄞♪♩♫♬\\", - \\"💩\\": \\"fixtures-modules-localIdentName-localIdentName__💩\\", - \\"?\\": \\"fixtures-modules-localIdentName-localIdentName__?\\", - \\"@\\": \\"fixtures-modules-localIdentName-localIdentName__@\\", - \\".\\": \\"fixtures-modules-localIdentName-localIdentName__.\\", - \\":)\\": \\"fixtures-modules-localIdentName-localIdentName__:)\\", - \\"
\\": \\"fixtures-modules-localIdentName-localIdentName__
\\", - \\"<><<<>><>\\": \\"fixtures-modules-localIdentName-localIdentName__<><<<>><>\\", - \\"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\\": \\"fixtures-modules-localIdentName-localIdentName__++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\\", - \\"#\\": \\"fixtures-modules-localIdentName-localIdentName__#\\", - \\"##\\": \\"fixtures-modules-localIdentName-localIdentName__##\\", - \\"#.#.#\\": \\"fixtures-modules-localIdentName-localIdentName__#.#.#\\", - \\"_\\": \\"fixtures-modules-localIdentName-localIdentName___\\", - \\"{}\\": \\"fixtures-modules-localIdentName-localIdentName__{}\\", - \\"foo.bar\\": \\"fixtures-modules-localIdentName-localIdentName__foo.bar\\", - \\":hover\\": \\"fixtures-modules-localIdentName-localIdentName__:hover\\", - \\":hover:focus:active\\": \\"fixtures-modules-localIdentName-localIdentName__:hover:focus:active\\", - \\"[attr=value]\\": \\"fixtures-modules-localIdentName-localIdentName__[attr=value]\\", - \\"f/o/o\\": \\"fixtures-modules-localIdentName-localIdentName__f/o/o\\", - \\"f\\\\\\\\o\\\\\\\\o\\": \\"fixtures-modules-localIdentName-localIdentName__f\\\\\\\\o\\\\\\\\o\\", - \\"f*o*o\\": \\"fixtures-modules-localIdentName-localIdentName__f*o*o\\", - \\"f!o!o\\": \\"fixtures-modules-localIdentName-localIdentName__f!o!o\\", - \\"f'o'o\\": \\"fixtures-modules-localIdentName-localIdentName__f'o'o\\", - \\"f~o~o\\": \\"fixtures-modules-localIdentName-localIdentName__f~o~o\\", - \\"f+o+o\\": \\"fixtures-modules-localIdentName-localIdentName__f+o+o\\", - \\"foo/bar\\": \\"fixtures-modules-localIdentName-localIdentName__foo/bar\\", - \\"foo\\\\\\\\bar\\": \\"fixtures-modules-localIdentName-localIdentName__foo\\\\\\\\bar\\", - \\"foo/bar/baz\\": \\"fixtures-modules-localIdentName-localIdentName__foo/bar/baz\\", - \\"foo\\\\\\\\bar\\\\\\\\baz\\": \\"fixtures-modules-localIdentName-localIdentName__foo\\\\\\\\bar\\\\\\\\baz\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; - -exports[`"modules" option should work and respect the "path" placeholder: result 1`] = ` -Array [ - Array [ - "./modules/localIdentName/localIdentName.css", - ".fixtures-modules-localIdentName-localIdentName__test { +___CSS_LOADER_EXPORT___.push([module.id, \`.test__iHMJbI42 { background: red; } -.fixtures-modules-localIdentName-localIdentName___test { +._test__iHMJbI42 { background: blue; } -.fixtures-modules-localIdentName-localIdentName__className { +.className__iHMJbI42 { background: red; } -#fixtures-modules-localIdentName-localIdentName__someId { +#someId__iHMJbI42 { background: green; } -.fixtures-modules-localIdentName-localIdentName__className .fixtures-modules-localIdentName-localIdentName__subClass { +.className__iHMJbI42 .subClass__iHMJbI42 { color: green; } -#fixtures-modules-localIdentName-localIdentName__someId .fixtures-modules-localIdentName-localIdentName__subClass { +#someId__iHMJbI42 .subClass__iHMJbI42 { color: blue; } -.fixtures-modules-localIdentName-localIdentName__-a0-34a___f { +.-a0-34a___f__iHMJbI42 { color: red; } -.fixtures-modules-localIdentName-localIdentName__m_x_\\\\@ { +.m_x_\\\\@__iHMJbI42 { margin-left: auto !important; margin-right: auto !important; } -.fixtures-modules-localIdentName-localIdentName__B\\\\&W\\\\? { +.B\\\\&W\\\\?__iHMJbI42 { margin-left: auto !important; margin-right: auto !important; } -/* matches elements with class=\\":\`(\\" */ -.fixtures-modules-localIdentName-localIdentName__\\\\3A \\\\\`\\\\( { +/* matches elements with class=":\\\`(" */ +.\\\\3A \\\\\\\`\\\\(__iHMJbI42 { color: aqua; } -/* matches elements with class=\\"1a2b3c\\" */ -.fixtures-modules-localIdentName-localIdentName__\\\\31 a2b3c { +/* matches elements with class="1a2b3c" */ +.\\\\31 a2b3c__iHMJbI42 { color: aliceblue; } -/* matches the element with id=\\"#fake-id\\" */ -#fixtures-modules-localIdentName-localIdentName__\\\\#fake-id { +/* matches the element with id="#fake-id" */ +#\\\\#fake-id__iHMJbI42 { color: antiquewhite; } -/* matches the element with id=\\"-a-b-c-\\" */ -#fixtures-modules-localIdentName-localIdentName__-a-b-c- { +/* matches the element with id="-a-b-c-" */ +#-a-b-c-__iHMJbI42 { color: azure; } -/* matches the element with id=\\"©\\" */ -#fixtures-modules-localIdentName-localIdentName__© { +/* matches the element with id="©" */ +#©__iHMJbI42 { 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__\\\\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 { +.♥__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; } -.fixtures-modules-localIdentName-localIdentName__foo\\\\\\\\bar { +.foo\\\\\\\\bar__iHMJbI42 { background: hotpink; } -.fixtures-modules-localIdentName-localIdentName__foo\\\\/bar\\\\/baz { +.foo\\\\/bar\\\\/baz__iHMJbI42 { background: hotpink; } -.fixtures-modules-localIdentName-localIdentName__foo\\\\\\\\bar\\\\\\\\baz { +.foo\\\\\\\\bar\\\\\\\\baz__iHMJbI42 { background: hotpink; } -", - "", - ], -] -`; - -exports[`"modules" option should work and respect the "path" placeholder: warnings 1`] = `Array []`; +\`, ""]); +// 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; +} -exports[`"modules" option should work and support "pure" mode #2: errors 1`] = `Array []`; +._test__iHMJbI42 { + background: blue; +} -exports[`"modules" option should work and support "pure" mode #2: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".vMTmrSQeex_jSha5WBf_ {\\\\n color: red;\\\\n}\\\\n\\\\nh1 ._jZGcrtjxzVwhHf3TWSb {\\\\n color: green;\\\\n}\\\\n\\\\n.Kj5cNSGgf4iXvLYn6No_ h1 {\\\\n color: blue;\\\\n}\\\\n\\\\n.jh3b1xCDLmAY6eymyAt_ h1 .Pfub7unrTg1ycP0dH1Np {\\\\n color: red;\\\\n}\\\\n\\\\n#AUPKdRDRa6hXeK0BG2pk {\\\\n color: red;\\\\n}\\\\n\\\\nh1 #pWzFEVR2SnlD5kUmOw_N {\\\\n color: green;\\\\n}\\\\n\\\\n#qoyIi2Mg4Mb_ZSGUJ8vJ h1 {\\\\n color: blue;\\\\n}\\\\n\\\\n#K4O4KL_LvYNVK5BfgrpS h1 #__XKNw5xPfAsBbZFZTk4 {\\\\n color: red;\\\\n}\\\\n\\\\n.XT7sj__0t_dqertebTCQ .bar .fQupafQhy82LZfYkj2Or {\\\\n color: white;\\\\n}\\\\n\\\\n.oazX1bnIu8C5pPc1zTa3 ._wgWBJ9KtBrOcItw9h1S ._1xJZB8WtmhFmILjW3Rj {\\\\n color: black;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"foo\\": \\"vMTmrSQeex_jSha5WBf_\\", - \\"foo-1\\": \\"_jZGcrtjxzVwhHf3TWSb\\", - \\"foo-2\\": \\"Kj5cNSGgf4iXvLYn6No_\\", - \\"foo-3\\": \\"jh3b1xCDLmAY6eymyAt_\\", - \\"foo-4\\": \\"Pfub7unrTg1ycP0dH1Np\\", - \\"foo-5\\": \\"AUPKdRDRa6hXeK0BG2pk\\", - \\"foo-6\\": \\"pWzFEVR2SnlD5kUmOw_N\\", - \\"foo-7\\": \\"qoyIi2Mg4Mb_ZSGUJ8vJ\\", - \\"foo-8\\": \\"K4O4KL_LvYNVK5BfgrpS\\", - \\"foo-9\\": \\"__XKNw5xPfAsBbZFZTk4\\", - \\"bar-1\\": \\"XT7sj__0t_dqertebTCQ\\", - \\"bar-2\\": \\"fQupafQhy82LZfYkj2Or\\", - \\"baz-3\\": \\"oazX1bnIu8C5pPc1zTa3\\", - \\"baz\\": \\"_wgWBJ9KtBrOcItw9h1S\\", - \\"bar-4\\": \\"_1xJZB8WtmhFmILjW3Rj\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +.className__iHMJbI42 { + background: red; +} -exports[`"modules" option should work and support "pure" mode #2: result 1`] = ` -Array [ - Array [ - "./modules/pure/pure.css", - ".vMTmrSQeex_jSha5WBf_ { - color: red; +#someId__iHMJbI42 { + background: green; } -h1 ._jZGcrtjxzVwhHf3TWSb { +.className__iHMJbI42 .subClass__iHMJbI42 { color: green; } -.Kj5cNSGgf4iXvLYn6No_ h1 { +#someId__iHMJbI42 .subClass__iHMJbI42 { color: blue; } -.jh3b1xCDLmAY6eymyAt_ h1 .Pfub7unrTg1ycP0dH1Np { +.-a0-34a___f__iHMJbI42 { color: red; } -#AUPKdRDRa6hXeK0BG2pk { - color: red; +.m_x_\\@__iHMJbI42 { + margin-left: auto !important; + margin-right: auto !important; } -h1 #pWzFEVR2SnlD5kUmOw_N { - color: green; +.B\\&W\\?__iHMJbI42 { + margin-left: auto !important; + margin-right: auto !important; } -#qoyIi2Mg4Mb_ZSGUJ8vJ h1 { - color: blue; +/* matches elements with class=":\`(" */ +.\\3A \\\`\\(__iHMJbI42 { + color: aqua; } -#K4O4KL_LvYNVK5BfgrpS h1 #__XKNw5xPfAsBbZFZTk4 { - color: red; +/* matches elements with class="1a2b3c" */ +.\\31 a2b3c__iHMJbI42 { + color: aliceblue; } -.XT7sj__0t_dqertebTCQ .bar .fQupafQhy82LZfYkj2Or { - color: white; +/* matches the element with id="#fake-id" */ +#\\#fake-id__iHMJbI42 { + color: antiquewhite; } -.oazX1bnIu8C5pPc1zTa3 ._wgWBJ9KtBrOcItw9h1S ._1xJZB8WtmhFmILjW3Rj { +/* 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 support "pure" mode #2: warnings 1`] = `Array []`; +exports[`"modules" option should work and respect the "hashStrategy" = "minimal-subset" and [local]: warnings 1`] = `[]`; -exports[`"modules" option should work and support "pure" mode: errors 1`] = `Array []`; +exports[`"modules" option should work and respect the "hashStrategy" = "minimal-subset" and no [local]: errors 1`] = `[]`; -exports[`"modules" option should work and support "pure" mode: module 1`] = ` +exports[`"modules" option should work and respect the "hashStrategy" = "minimal-subset" and no [local]: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".vMTmrSQeex_jSha5WBf_ {\\\\n color: red;\\\\n}\\\\n\\\\nh1 ._jZGcrtjxzVwhHf3TWSb {\\\\n color: green;\\\\n}\\\\n\\\\n.Kj5cNSGgf4iXvLYn6No_ h1 {\\\\n color: blue;\\\\n}\\\\n\\\\n.jh3b1xCDLmAY6eymyAt_ h1 .Pfub7unrTg1ycP0dH1Np {\\\\n color: red;\\\\n}\\\\n\\\\n#AUPKdRDRa6hXeK0BG2pk {\\\\n color: red;\\\\n}\\\\n\\\\nh1 #pWzFEVR2SnlD5kUmOw_N {\\\\n color: green;\\\\n}\\\\n\\\\n#qoyIi2Mg4Mb_ZSGUJ8vJ h1 {\\\\n color: blue;\\\\n}\\\\n\\\\n#K4O4KL_LvYNVK5BfgrpS h1 #__XKNw5xPfAsBbZFZTk4 {\\\\n color: red;\\\\n}\\\\n\\\\n.XT7sj__0t_dqertebTCQ .bar .fQupafQhy82LZfYkj2Or {\\\\n color: white;\\\\n}\\\\n\\\\n.oazX1bnIu8C5pPc1zTa3 ._wgWBJ9KtBrOcItw9h1S ._1xJZB8WtmhFmILjW3Rj {\\\\n color: black;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"foo\\": \\"vMTmrSQeex_jSha5WBf_\\", - \\"foo-1\\": \\"_jZGcrtjxzVwhHf3TWSb\\", - \\"foo-2\\": \\"Kj5cNSGgf4iXvLYn6No_\\", - \\"foo-3\\": \\"jh3b1xCDLmAY6eymyAt_\\", - \\"foo-4\\": \\"Pfub7unrTg1ycP0dH1Np\\", - \\"foo-5\\": \\"AUPKdRDRa6hXeK0BG2pk\\", - \\"foo-6\\": \\"pWzFEVR2SnlD5kUmOw_N\\", - \\"foo-7\\": \\"qoyIi2Mg4Mb_ZSGUJ8vJ\\", - \\"foo-8\\": \\"K4O4KL_LvYNVK5BfgrpS\\", - \\"foo-9\\": \\"__XKNw5xPfAsBbZFZTk4\\", - \\"bar-1\\": \\"XT7sj__0t_dqertebTCQ\\", - \\"bar-2\\": \\"fQupafQhy82LZfYkj2Or\\", - \\"baz-3\\": \\"oazX1bnIu8C5pPc1zTa3\\", - \\"baz\\": \\"_wgWBJ9KtBrOcItw9h1S\\", - \\"bar-4\\": \\"_1xJZB8WtmhFmILjW3Rj\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +___CSS_LOADER_EXPORT___.push([module.id, \`.KuIShlgs { + background: red; +} -exports[`"modules" option should work and support "pure" mode: result 1`] = ` -Array [ - Array [ - "./modules/pure/pure.css", - ".vMTmrSQeex_jSha5WBf_ { - color: red; +.Lb3fhDAu { + background: blue; +} + +.LdhpkZRW { + background: red; +} + +#b0rhwJSt { + background: green; } -h1 ._jZGcrtjxzVwhHf3TWSb { +.LdhpkZRW .Mw9j4nId { color: green; } -.Kj5cNSGgf4iXvLYn6No_ h1 { +#b0rhwJSt .Mw9j4nId { color: blue; } -.jh3b1xCDLmAY6eymyAt_ h1 .Pfub7unrTg1ycP0dH1Np { +.DdFWMPol { color: red; } -#AUPKdRDRa6hXeK0BG2pk { - 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; } -h1 #pWzFEVR2SnlD5kUmOw_N { +.LdhpkZRW .Mw9j4nId { color: green; } -#qoyIi2Mg4Mb_ZSGUJ8vJ h1 { +#b0rhwJSt .Mw9j4nId { color: blue; } -#K4O4KL_LvYNVK5BfgrpS h1 #__XKNw5xPfAsBbZFZTk4 { +.DdFWMPol { color: red; } -.XT7sj__0t_dqertebTCQ .bar .fQupafQhy82LZfYkj2Or { - color: white; +.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; } -.oazX1bnIu8C5pPc1zTa3 ._wgWBJ9KtBrOcItw9h1S ._1xJZB8WtmhFmILjW3Rj { +/* 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 support "pure" mode: warnings 1`] = `Array []`; +exports[`"modules" option should work and respect the "hashStrategy" = "minimal-subset" and no [local]: warnings 1`] = `[]`; -exports[`"modules" option should work js template with "namedExport" option: errors 1`] = `Array []`; +exports[`"modules" option should work and respect the "hashStrategy" = "resource-path-and-local-name": errors 1`] = `[]`; -exports[`"modules" option should work js template with "namedExport" option: module 1`] = ` +exports[`"modules" option should work and respect the "hashStrategy" = "resource-path-and-local-name": module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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 {\\\\n color: red;\\\\n}\\\\n\\\\n.body {\\\\n color: coral;\\\\n}\\\\n\\\\n.footer {\\\\n color: blue;\\\\n}\\\\n\\", \\"\\"]); -// Exports -export var headerBaz = \\"header-baz\\"; -export var body = \\"body\\"; -export var footer = \\"footer\\"; -export default ___CSS_LOADER_EXPORT___; -" -`; +___CSS_LOADER_EXPORT___.push([module.id, \`.test__KuIShlgs { + background: red; +} -exports[`"modules" option should work js template with "namedExport" option: result 1`] = ` -Object { - "css": Array [ - Array [ - "./modules/namedExport/template/index.css", - ".header-baz { - color: red; +._test__Lb3fhDAu { + background: blue; } -.body { - color: coral; +.className__LdhpkZRW { + background: red; } -.footer { +#someId__b0rhwJSt { + background: green; +} + +.className__LdhpkZRW .subClass__Mw9j4nId { + color: green; +} + +#someId__b0rhwJSt .subClass__Mw9j4nId { color: blue; } -", - "", - ], - ], - "html": " -
__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; +} -exports[`"modules" option should work when the "auto" is not specified: modules-module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"._BNmWUIwputjT_WFqpoZ {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"class\\": \\"_BNmWUIwputjT_WFqpoZ\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +.foo\\\\\\\\bar__IgSzmmsC { + background: hotpink; +} -exports[`"modules" option should work when the "auto" is not specified: not-modules-module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".class {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]); -// Exports -export default ___CSS_LOADER_EXPORT___; -" -`; +.foo\\\\/bar\\\\/baz__p6KJMhNW { + background: hotpink; +} -exports[`"modules" option should work when the "auto" is not specified: result 1`] = ` -"._BNmWUIwputjT_WFqpoZ { - color: red; +.foo\\\\\\\\bar\\\\\\\\baz__HZerWgmU { + background: hotpink; } -.class { - color: red; +\`, ""]); +// 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; } -" -`; -exports[`"modules" option should work when the "auto" is not specified: warnings 1`] = `Array []`; +._test__Lb3fhDAu { + background: blue; +} -exports[`"modules" option should work when the "auto" option is "true" with other options: errors 1`] = `Array []`; +.className__LdhpkZRW { + background: red; +} -exports[`"modules" option should work when the "auto" option is "true" with other options: modules-module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".modules-mode-style-modules__class {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"class\\": \\"modules-mode-style-modules__class\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +#someId__b0rhwJSt { + background: green; +} -exports[`"modules" option should work when the "auto" option is "true" with other options: not-modules-module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".class {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]); -// Exports -export default ___CSS_LOADER_EXPORT___; -" -`; +.className__LdhpkZRW .subClass__Mw9j4nId { + color: green; +} -exports[`"modules" option should work when the "auto" option is "true" with other options: result 1`] = ` -".modules-mode-style-modules__class { - color: red; +#someId__b0rhwJSt .subClass__Mw9j4nId { + color: blue; } -.class { - color: red; + +.-a0-34a___f__DdFWMPol { + color: red; } -" -`; -exports[`"modules" option should work when the "auto" option is "true" with other options: warnings 1`] = `Array []`; +.m_x_\\@__OdAmghrm { + margin-left: auto !important; + margin-right: auto !important; +} -exports[`"modules" option should work when the "namedExport" is enabled and the "exportLocalsConvention" options has "dashesOnly" value: errors 1`] = `Array []`; +.B\\&W\\?__h4SEF34C { + margin-left: auto !important; + margin-right: auto !important; +} -exports[`"modules" option should work when the "namedExport" is enabled and the "exportLocalsConvention" options has "dashesOnly" value: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".foo_barBaz {\\\\n color: red;\\\\n}\\\\n\\\\n.bar {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]); -// Exports -export var foo_barBaz = \\"foo_barBaz\\"; -export default ___CSS_LOADER_EXPORT___; -" -`; +/* matches elements with class=":\`(" */ +.\\3A \\\`\\(__fKJQkLar { + color: aqua; +} -exports[`"modules" option should work when the "namedExport" is enabled and the "exportLocalsConvention" options has "dashesOnly" value: result 1`] = ` -Array [ - Array [ - "./modules/namedExport/dashesOnly/index.css", - ".foo_barBaz { - color: red; +/* matches elements with class="1a2b3c" */ +.\\31 a2b3c__YR1u_buY { + color: aliceblue; } -.bar { - color: red; +/* 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": " +
--bc6b0face7c24fdda701 { background: lime; } +.\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\>--a237de2ced117ff0a191 { background: lime; } +.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\.--eb8b2e976f60512d2a9d { background: lime; } +.\\\\#--cea7340e43560d89a150 { background: lime; } +.\\\\#\\\\#--f8d94fd6adc56e0632f7 { background: lime; } +.\\\\#\\\\.\\\\#\\\\.\\\\#--e640a3e0b78af4dfc5f3 { background: lime; } +.\\\\_--a54672d2425992dd98a3 { background: lime; } +.\\\\{\\\\}--a6edf97d95943b5e1caa { background: lime; } +.\\\\#fake\\\\-id--e107fdb198ac826daeac { background: lime; } +.foo\\\\.bar--e25f746c297da2218a7b { background: lime; } +.\\\\3A hover--be204fb0f66fc0246d1f { background: lime; } +.\\\\3A hover\\\\3A focus\\\\3A active--cdd1dd345eead04fd4df { background: lime; } +.\\\\[attr\\\\=value\\\\]--c62830d38d8d716893eb { background: lime; } +.f\\\\/o\\\\/o--fbca7ba56e09ecbbc62c { background: lime; } +.f\\\\\\\\o\\\\\\\\o--d45f79a6d98695cdf7b8 { background: lime; } +.f\\\\*o\\\\*o--a40517bd0d8d54cdf2e9 { background: lime; } +.f\\\\!o\\\\!o--ca15427719be1c4d9202 { background: lime; } +.f\\\\'o\\\\'o--d66cc50b7a1d7fea63dc { background: lime; } +.f\\\\~o\\\\~o--b87d149677e776a8f870 { background: lime; } +.f\\\\+o\\\\+o--cac6afc7828cdeec9b8e { background: lime; } + +.foo\\\\/bar--f18e2cdd363bb8ad04dc { + background: hotpink; +} + +.foo\\\\\\\\bar--b7fb1775501d478f7ddd { + background: hotpink; +} + +.foo\\\\/bar\\\\/baz--e770299577106c0871c6 { + background: hotpink; +} + +.foo\\\\\\\\bar\\\\\\\\baz--f06100a42cf29105670c { + background: hotpink; +} +\`, ""]); +// Exports +var _1 = \`123--cd0937b62810349cd373\`; +export { _1 as "123" }; +export var test = \`test--eaea596870e1bfab1c35\`; +export var _test = \`_test--be23e2aa677d8474962e\`; +export var className = \`className--eba40faa5cba4e02fb34\`; +export var someId = \`someId--d4d26a899717294ba284\`; +export var subClass = \`subClass--a5d79cf334356eb226c7\`; +var _2 = \`-a0-34a___f--ad1081468f62c0a71134\`; +export { _2 as "-a0-34a___f" }; +var _3 = \`m_x_@--d9d6a4c97ab5d8e0b7ef\`; +export { _3 as "m_x_@" }; +var _4 = \`B&W?--e69d1ebb6c7ecce1b64f\`; +export { _4 as "B&W?" }; +var _5 = \`:\\\`(--fc3eefdc1114297d5c40\`; +export { _5 as ":\`(" }; +var _6 = \`1a2b3c--a3e5d0f16b2ec4feed21\`; +export { _6 as "1a2b3c" }; +var _7 = \`#fake-id--e107fdb198ac826daeac\`; +export { _7 as "#fake-id" }; +var _8 = \`-a-b-c---d272b409c9b136e17983\`; +export { _8 as "-a-b-c-" }; +var _9 = \`©--c735aef17e002be4e48a\`; +export { _9 as "©" }; +var _a = \`♥--eb69e75116e746dfd234\`; +export { _a as "♥" }; +var _b = \`😍--c5abf5006e6efc22ea75\`; +export { _b as "😍" }; +var _c = \`“‘’”--bc19e8730f78130af119\`; +export { _c as "“‘’”" }; +var _d = \`☺☃--bc00f19f19894ea7828b\`; +export { _d as "☺☃" }; +var _e = \`⌘⌥--e2a9b83f28fa6a1c76d9\`; +export { _e as "⌘⌥" }; +var _f = \`𝄞♪♩♫♬--ba32e16626673dae75a0\`; +export { _f as "𝄞♪♩♫♬" }; +var _10 = \`💩--a6a5e1caa99c5d1fca30\`; +export { _10 as "💩" }; +var _11 = \`?--f956b8b9c523ebdb67e5\`; +export { _11 as "?" }; +var _12 = \`@--dcc8fa5146b1dbb20b36\`; +export { _12 as "@" }; +var _13 = \`.--f37c2cb9b33fd73cfd48\`; +export { _13 as "." }; +var _14 = \`:)--bd7812f18a8252e6870a\`; +export { _14 as ":)" }; +var _15 = \`
--bc6b0face7c24fdda701\`; +export { _15 as "
" }; +var _16 = \`<><<<>><>--a237de2ced117ff0a191\`; +export { _16 as "<><<<>><>" }; +var _17 = \`++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.--eb8b2e976f60512d2a9d\`; +export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." }; +var _18 = \`#--cea7340e43560d89a150\`; +export { _18 as "#" }; +var _19 = \`##--f8d94fd6adc56e0632f7\`; +export { _19 as "##" }; +var _1a = \`#.#.#--e640a3e0b78af4dfc5f3\`; +export { _1a as "#.#.#" }; +export var _ = \`_--a54672d2425992dd98a3\`; +var _1b = \`{}--a6edf97d95943b5e1caa\`; +export { _1b as "{}" }; +var _1c = \`foo.bar--e25f746c297da2218a7b\`; +export { _1c as "foo.bar" }; +var _1d = \`:hover--be204fb0f66fc0246d1f\`; +export { _1d as ":hover" }; +var _1e = \`:hover:focus:active--cdd1dd345eead04fd4df\`; +export { _1e as ":hover:focus:active" }; +var _1f = \`[attr=value]--c62830d38d8d716893eb\`; +export { _1f as "[attr=value]" }; +var _20 = \`f/o/o--fbca7ba56e09ecbbc62c\`; +export { _20 as "f/o/o" }; +var _21 = \`f\\\\o\\\\o--d45f79a6d98695cdf7b8\`; +export { _21 as "f\\\\o\\\\o" }; +var _22 = \`f*o*o--a40517bd0d8d54cdf2e9\`; +export { _22 as "f*o*o" }; +var _23 = \`f!o!o--ca15427719be1c4d9202\`; +export { _23 as "f!o!o" }; +var _24 = \`f'o'o--d66cc50b7a1d7fea63dc\`; +export { _24 as "f'o'o" }; +var _25 = \`f~o~o--b87d149677e776a8f870\`; +export { _25 as "f~o~o" }; +var _26 = \`f+o+o--cac6afc7828cdeec9b8e\`; +export { _26 as "f+o+o" }; +var _27 = \`foo/bar--f18e2cdd363bb8ad04dc\`; +export { _27 as "foo/bar" }; +var _28 = \`foo\\\\bar--b7fb1775501d478f7ddd\`; +export { _28 as "foo\\\\bar" }; +var _29 = \`foo/bar/baz--e770299577106c0871c6\`; +export { _29 as "foo/bar/baz" }; +var _2a = \`foo\\\\bar\\\\baz--f06100a42cf29105670c\`; +export { _2a as "foo\\\\bar\\\\baz" }; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with "localIdentHashFunction" xxhash64: result 1`] = ` +[ + [ + "./modules/localIdentName/localIdentName.css", + ".test--eaea596870e1bfab1c35 { + background: red; +} + +._test--be23e2aa677d8474962e { + background: blue; +} + +.className--eba40faa5cba4e02fb34 { + background: red; +} + +#someId--d4d26a899717294ba284 { + background: green; +} + +.className--eba40faa5cba4e02fb34 .subClass--a5d79cf334356eb226c7 { + color: green; +} + +#someId--d4d26a899717294ba284 .subClass--a5d79cf334356eb226c7 { + color: blue; +} + +.-a0-34a___f--ad1081468f62c0a71134 { + color: red; +} + +.m_x_\\@--d9d6a4c97ab5d8e0b7ef { + margin-left: auto !important; + margin-right: auto !important; +} + +.B\\&W\\?--e69d1ebb6c7ecce1b64f { + margin-left: auto !important; + margin-right: auto !important; +} + +/* matches elements with class=":\`(" */ +.\\3A \\\`\\(--fc3eefdc1114297d5c40 { + color: aqua; +} + +/* matches elements with class="1a2b3c" */ +.\\31 a2b3c--a3e5d0f16b2ec4feed21 { + color: aliceblue; +} + +/* matches the element with id="#fake-id" */ +#\\#fake-id--e107fdb198ac826daeac { + color: antiquewhite; +} + +/* matches the element with id="-a-b-c-" */ +#-a-b-c---d272b409c9b136e17983 { + color: azure; +} + +/* matches the element with id="©" */ +#©--c735aef17e002be4e48a { + color: black; +} + +.♥--eb69e75116e746dfd234 { background: lime; } +.©--c735aef17e002be4e48a { background: lime; } +.😍--c5abf5006e6efc22ea75 { background: lime; } +.“‘’”--bc19e8730f78130af119 { background: lime; } +.☺☃--bc00f19f19894ea7828b { background: lime; } +.⌘⌥--e2a9b83f28fa6a1c76d9 { background: lime; } +.𝄞♪♩♫♬--ba32e16626673dae75a0 { background: lime; } +.💩--a6a5e1caa99c5d1fca30 { background: lime; } +.\\?--f956b8b9c523ebdb67e5 { background: lime; } +.\\@--dcc8fa5146b1dbb20b36 { background: lime; } +.\\.--f37c2cb9b33fd73cfd48 { background: lime; } +.\\3A \\)--bd7812f18a8252e6870a { background: lime; } +.\\3A \\\`\\(--fc3eefdc1114297d5c40 { background: lime; } +.\\31 23--cd0937b62810349cd373 { background: lime; } +.\\31 a2b3c--a3e5d0f16b2ec4feed21 { background: lime; } +.\\
--bc6b0face7c24fdda701 { background: lime; } +.\\<\\>\\<\\<\\<\\>\\>\\<\\>--a237de2ced117ff0a191 { background: lime; } +.\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\[\\>\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\>\\+\\<\\<\\<\\<\\-\\]\\>\\+\\+\\.\\>\\+\\.\\+\\+\\+\\+\\+\\+\\+\\.\\.\\+\\+\\+\\.\\>\\+\\+\\.\\<\\<\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\.\\>\\.\\+\\+\\+\\.\\-\\-\\-\\-\\-\\-\\.\\-\\-\\-\\-\\-\\-\\-\\-\\.\\>\\+\\.\\>\\.--eb8b2e976f60512d2a9d { background: lime; } +.\\#--cea7340e43560d89a150 { background: lime; } +.\\#\\#--f8d94fd6adc56e0632f7 { background: lime; } +.\\#\\.\\#\\.\\#--e640a3e0b78af4dfc5f3 { background: lime; } +.\\_--a54672d2425992dd98a3 { background: lime; } +.\\{\\}--a6edf97d95943b5e1caa { background: lime; } +.\\#fake\\-id--e107fdb198ac826daeac { background: lime; } +.foo\\.bar--e25f746c297da2218a7b { background: lime; } +.\\3A hover--be204fb0f66fc0246d1f { background: lime; } +.\\3A hover\\3A focus\\3A active--cdd1dd345eead04fd4df { background: lime; } +.\\[attr\\=value\\]--c62830d38d8d716893eb { background: lime; } +.f\\/o\\/o--fbca7ba56e09ecbbc62c { background: lime; } +.f\\\\o\\\\o--d45f79a6d98695cdf7b8 { background: lime; } +.f\\*o\\*o--a40517bd0d8d54cdf2e9 { background: lime; } +.f\\!o\\!o--ca15427719be1c4d9202 { background: lime; } +.f\\'o\\'o--d66cc50b7a1d7fea63dc { background: lime; } +.f\\~o\\~o--b87d149677e776a8f870 { background: lime; } +.f\\+o\\+o--cac6afc7828cdeec9b8e { background: lime; } + +.foo\\/bar--f18e2cdd363bb8ad04dc { + background: hotpink; +} + +.foo\\\\bar--b7fb1775501d478f7ddd { + background: hotpink; +} + +.foo\\/bar\\/baz--e770299577106c0871c6 { + background: hotpink; +} + +.foo\\\\bar\\\\baz--f06100a42cf29105670c { + background: hotpink; +} +", + "", + ], +] +`; + +exports[`"modules" option should work with "localIdentHashFunction" xxhash64: warnings 1`] = `[]`; + +exports[`"modules" option should work with "url" and "namedExport": errors 1`] = `[]`; + +exports[`"modules" option should work with "url" and "namedExport": 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]!./shared.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_ICSS_IMPORT_0___, "", true); +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(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); +} + +body { + background: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-url-other"] }; +} +\`, ""]); +// Exports +var _1 = \`url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D)\`; +export { _1 as "v-url" }; +var _2 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-url-other"]}\`; +export { _2 as "v-url-other" }; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with "url" and "namedExport": result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/url/shared.css", + " +", + "", + ], + [ + "./modules/url/source.css", + "a { + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +} + +body { + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +} +", + "", + ], +] +`; + +exports[`"modules" option should work with "url" and "namedExport": warnings 1`] = `[]`; + +exports[`"modules" option should work with "url", "namedExport" and "templateLiteral" support: errors 1`] = `[]`; + +exports[`"modules" option should work with "url", "namedExport" and "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_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./shared.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_ICSS_IMPORT_0___, "", true); +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(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); +} + +body { + background: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-url-other"] }; +} +\`, ""]); +// Exports +var _1 = \`url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D)\`; +export { _1 as "v-url" }; +var _2 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-url-other"]}\`; +export { _2 as "v-url-other" }; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with "url", "namedExport" and "templateLiteral" support: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/url/shared.css", + " +", + "", + ], + [ + "./modules/url/source.css", + "a { + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +} + +body { + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +} +", + "", + ], +] +`; + +exports[`"modules" option should work with "url", "namedExport" and "templateLiteral" support: warnings 1`] = `[]`; + +exports[`"modules" option should work with "url": errors 1`] = `[]`; + +exports[`"modules" option should work with "url": 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]!./shared.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_ICSS_IMPORT_0___, "", true); +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(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); +} + +body { + background: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-url-other"] }; +} +\`, ""]); +// Exports +var _1 = \`url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D)\`; +export { _1 as "v-url" }; +var _2 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-url-other"]}\`; +export { _2 as "v-url-other" }; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with "url": result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/url/shared.css", + " +", + "", + ], + [ + "./modules/url/source.css", + "a { + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +} + +body { + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +} +", + "", + ], +] +`; + +exports[`"modules" option should work with "url": warnings 1`] = `[]`; + +exports[`"modules" option should work with 'resolve.byDependency.css.extensions': errors 1`] = `[]`; + +exports[`"modules" 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_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported.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, \`.ifZsElmvRMxevNvx6Eqc { + color: yellow; +} +\`, ""]); +// Exports +export var one = \`ifZsElmvRMxevNvx6Eqc \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["imported-relative"]}\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with 'resolve.byDependency.css.extensions': result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/extensions/imported.css", + ".GhdmVDddGDvCYMMVpEdz { + display: block; +} +", + "", + ], + [ + "./modules/extensions/source.css", + ".ifZsElmvRMxevNvx6Eqc { + color: yellow; +} +", + "", + ], +] +`; + +exports[`"modules" option should work with 'resolve.byDependency.css.extensions': warnings 1`] = `[]`; + +exports[`"modules" option should work with 'resolve.extensions': errors 1`] = `[]`; + +exports[`"modules" 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_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported.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, \`.ifZsElmvRMxevNvx6Eqc { + color: yellow; +} +\`, ""]); +// Exports +export var one = \`ifZsElmvRMxevNvx6Eqc \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["imported-relative"]}\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with 'resolve.extensions': result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/extensions/imported.css", + ".GhdmVDddGDvCYMMVpEdz { + display: block; +} +", + "", + ], + [ + "./modules/extensions/source.css", + ".ifZsElmvRMxevNvx6Eqc { + color: yellow; +} +", + "", + ], +] +`; + +exports[`"modules" option should work with 'resolve.extensions': warnings 1`] = `[]`; + +exports[`"modules" option should work with [folder] #2: errors 1`] = `[]`; + +exports[`"modules" option should work with [folder] #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, \`.test-localIdentName { + background: red; +} + +._test-localIdentName { + background: blue; +} + +.className-localIdentName { + background: red; +} + +#someId-localIdentName { + background: green; +} + +.className-localIdentName .subClass-localIdentName { + color: green; +} + +#someId-localIdentName .subClass-localIdentName { + color: blue; +} + +.-a0-34a___f-localIdentName { + color: red; +} + +.m_x_\\\\@-localIdentName { + margin-left: auto !important; + margin-right: auto !important; +} + +.B\\\\&W\\\\?-localIdentName { + margin-left: auto !important; + margin-right: auto !important; +} + +/* matches elements with class=":\\\`(" */ +.\\\\3A \\\\\\\`\\\\(-localIdentName { + color: aqua; +} + +/* matches elements with class="1a2b3c" */ +.\\\\31 a2b3c-localIdentName { + color: aliceblue; +} + +/* matches the element with id="#fake-id" */ +#\\\\#fake-id-localIdentName { + color: antiquewhite; +} + +/* matches the element with id="-a-b-c-" */ +#-a-b-c--localIdentName { + color: azure; +} + +/* matches the element with id="©" */ +#©-localIdentName { + color: black; +} + +.♥-localIdentName { background: lime; } +.©-localIdentName { background: lime; } +.😍-localIdentName { background: lime; } +.“‘’”-localIdentName { background: lime; } +.☺☃-localIdentName { background: lime; } +.⌘⌥-localIdentName { background: lime; } +.𝄞♪♩♫♬-localIdentName { background: lime; } +.💩-localIdentName { background: lime; } +.\\\\?-localIdentName { background: lime; } +.\\\\@-localIdentName { background: lime; } +.\\\\.-localIdentName { background: lime; } +.\\\\3A \\\\)-localIdentName { background: lime; } +.\\\\3A \\\\\\\`\\\\(-localIdentName { background: lime; } +.\\\\31 23-localIdentName { background: lime; } +.\\\\31 a2b3c-localIdentName { background: lime; } +.\\\\
-localIdentName { background: lime; } +.\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\>-localIdentName { background: lime; } +.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\.-localIdentName { background: lime; } +.\\\\#-localIdentName { background: lime; } +.\\\\#\\\\#-localIdentName { background: lime; } +.\\\\#\\\\.\\\\#\\\\.\\\\#-localIdentName { background: lime; } +.\\\\_-localIdentName { background: lime; } +.\\\\{\\\\}-localIdentName { background: lime; } +.\\\\#fake\\\\-id-localIdentName { background: lime; } +.foo\\\\.bar-localIdentName { background: lime; } +.\\\\3A hover-localIdentName { background: lime; } +.\\\\3A hover\\\\3A focus\\\\3A active-localIdentName { background: lime; } +.\\\\[attr\\\\=value\\\\]-localIdentName { background: lime; } +.f\\\\/o\\\\/o-localIdentName { background: lime; } +.f\\\\\\\\o\\\\\\\\o-localIdentName { background: lime; } +.f\\\\*o\\\\*o-localIdentName { background: lime; } +.f\\\\!o\\\\!o-localIdentName { background: lime; } +.f\\\\'o\\\\'o-localIdentName { background: lime; } +.f\\\\~o\\\\~o-localIdentName { background: lime; } +.f\\\\+o\\\\+o-localIdentName { background: lime; } + +.foo\\\\/bar-localIdentName { + background: hotpink; +} + +.foo\\\\\\\\bar-localIdentName { + background: hotpink; +} + +.foo\\\\/bar\\\\/baz-localIdentName { + background: hotpink; +} + +.foo\\\\\\\\bar\\\\\\\\baz-localIdentName { + background: hotpink; +} +\`, ""]); +// Exports +var _1 = \`123-localIdentName\`; +export { _1 as "123" }; +export var test = \`test-localIdentName\`; +export var _test = \`_test-localIdentName\`; +export var className = \`className-localIdentName\`; +export var someId = \`someId-localIdentName\`; +export var subClass = \`subClass-localIdentName\`; +var _2 = \`-a0-34a___f-localIdentName\`; +export { _2 as "-a0-34a___f" }; +var _3 = \`m_x_@-localIdentName\`; +export { _3 as "m_x_@" }; +var _4 = \`B&W?-localIdentName\`; +export { _4 as "B&W?" }; +var _5 = \`:\\\`(-localIdentName\`; +export { _5 as ":\`(" }; +var _6 = \`1a2b3c-localIdentName\`; +export { _6 as "1a2b3c" }; +var _7 = \`#fake-id-localIdentName\`; +export { _7 as "#fake-id" }; +var _8 = \`-a-b-c--localIdentName\`; +export { _8 as "-a-b-c-" }; +var _9 = \`©-localIdentName\`; +export { _9 as "©" }; +var _a = \`♥-localIdentName\`; +export { _a as "♥" }; +var _b = \`😍-localIdentName\`; +export { _b as "😍" }; +var _c = \`“‘’”-localIdentName\`; +export { _c as "“‘’”" }; +var _d = \`☺☃-localIdentName\`; +export { _d as "☺☃" }; +var _e = \`⌘⌥-localIdentName\`; +export { _e as "⌘⌥" }; +var _f = \`𝄞♪♩♫♬-localIdentName\`; +export { _f as "𝄞♪♩♫♬" }; +var _10 = \`💩-localIdentName\`; +export { _10 as "💩" }; +var _11 = \`?-localIdentName\`; +export { _11 as "?" }; +var _12 = \`@-localIdentName\`; +export { _12 as "@" }; +var _13 = \`.-localIdentName\`; +export { _13 as "." }; +var _14 = \`:)-localIdentName\`; +export { _14 as ":)" }; +var _15 = \`
-localIdentName\`; +export { _15 as "
" }; +var _16 = \`<><<<>><>-localIdentName\`; +export { _16 as "<><<<>><>" }; +var _17 = \`++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.-localIdentName\`; +export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." }; +var _18 = \`#-localIdentName\`; +export { _18 as "#" }; +var _19 = \`##-localIdentName\`; +export { _19 as "##" }; +var _1a = \`#.#.#-localIdentName\`; +export { _1a as "#.#.#" }; +export var _ = \`_-localIdentName\`; +var _1b = \`{}-localIdentName\`; +export { _1b as "{}" }; +var _1c = \`foo.bar-localIdentName\`; +export { _1c as "foo.bar" }; +var _1d = \`:hover-localIdentName\`; +export { _1d as ":hover" }; +var _1e = \`:hover:focus:active-localIdentName\`; +export { _1e as ":hover:focus:active" }; +var _1f = \`[attr=value]-localIdentName\`; +export { _1f as "[attr=value]" }; +var _20 = \`f/o/o-localIdentName\`; +export { _20 as "f/o/o" }; +var _21 = \`f\\\\o\\\\o-localIdentName\`; +export { _21 as "f\\\\o\\\\o" }; +var _22 = \`f*o*o-localIdentName\`; +export { _22 as "f*o*o" }; +var _23 = \`f!o!o-localIdentName\`; +export { _23 as "f!o!o" }; +var _24 = \`f'o'o-localIdentName\`; +export { _24 as "f'o'o" }; +var _25 = \`f~o~o-localIdentName\`; +export { _25 as "f~o~o" }; +var _26 = \`f+o+o-localIdentName\`; +export { _26 as "f+o+o" }; +var _27 = \`foo/bar-localIdentName\`; +export { _27 as "foo/bar" }; +var _28 = \`foo\\\\bar-localIdentName\`; +export { _28 as "foo\\\\bar" }; +var _29 = \`foo/bar/baz-localIdentName\`; +export { _29 as "foo/bar/baz" }; +var _2a = \`foo\\\\bar\\\\baz-localIdentName\`; +export { _2a as "foo\\\\bar\\\\baz" }; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with [folder] #2: result 1`] = ` +[ + [ + "./modules/localIdentName/localIdentName.css", + ".test-localIdentName { + background: red; +} + +._test-localIdentName { + background: blue; +} + +.className-localIdentName { + background: red; +} + +#someId-localIdentName { + background: green; +} + +.className-localIdentName .subClass-localIdentName { + color: green; +} + +#someId-localIdentName .subClass-localIdentName { + color: blue; +} + +.-a0-34a___f-localIdentName { + color: red; +} + +.m_x_\\@-localIdentName { + margin-left: auto !important; + margin-right: auto !important; +} + +.B\\&W\\?-localIdentName { + margin-left: auto !important; + margin-right: auto !important; +} + +/* matches elements with class=":\`(" */ +.\\3A \\\`\\(-localIdentName { + color: aqua; +} + +/* matches elements with class="1a2b3c" */ +.\\31 a2b3c-localIdentName { + color: aliceblue; +} + +/* matches the element with id="#fake-id" */ +#\\#fake-id-localIdentName { + color: antiquewhite; +} + +/* matches the element with id="-a-b-c-" */ +#-a-b-c--localIdentName { + color: azure; +} + +/* matches the element with id="©" */ +#©-localIdentName { + color: black; +} + +.♥-localIdentName { background: lime; } +.©-localIdentName { background: lime; } +.😍-localIdentName { background: lime; } +.“‘’”-localIdentName { background: lime; } +.☺☃-localIdentName { background: lime; } +.⌘⌥-localIdentName { background: lime; } +.𝄞♪♩♫♬-localIdentName { background: lime; } +.💩-localIdentName { background: lime; } +.\\?-localIdentName { background: lime; } +.\\@-localIdentName { background: lime; } +.\\.-localIdentName { background: lime; } +.\\3A \\)-localIdentName { background: lime; } +.\\3A \\\`\\(-localIdentName { background: lime; } +.\\31 23-localIdentName { background: lime; } +.\\31 a2b3c-localIdentName { background: lime; } +.\\
-localIdentName { background: lime; } +.\\<\\>\\<\\<\\<\\>\\>\\<\\>-localIdentName { background: lime; } +.\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\[\\>\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\>\\+\\<\\<\\<\\<\\-\\]\\>\\+\\+\\.\\>\\+\\.\\+\\+\\+\\+\\+\\+\\+\\.\\.\\+\\+\\+\\.\\>\\+\\+\\.\\<\\<\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\.\\>\\.\\+\\+\\+\\.\\-\\-\\-\\-\\-\\-\\.\\-\\-\\-\\-\\-\\-\\-\\-\\.\\>\\+\\.\\>\\.-localIdentName { background: lime; } +.\\#-localIdentName { background: lime; } +.\\#\\#-localIdentName { background: lime; } +.\\#\\.\\#\\.\\#-localIdentName { background: lime; } +.\\_-localIdentName { background: lime; } +.\\{\\}-localIdentName { background: lime; } +.\\#fake\\-id-localIdentName { background: lime; } +.foo\\.bar-localIdentName { background: lime; } +.\\3A hover-localIdentName { background: lime; } +.\\3A hover\\3A focus\\3A active-localIdentName { background: lime; } +.\\[attr\\=value\\]-localIdentName { background: lime; } +.f\\/o\\/o-localIdentName { background: lime; } +.f\\\\o\\\\o-localIdentName { background: lime; } +.f\\*o\\*o-localIdentName { background: lime; } +.f\\!o\\!o-localIdentName { background: lime; } +.f\\'o\\'o-localIdentName { background: lime; } +.f\\~o\\~o-localIdentName { background: lime; } +.f\\+o\\+o-localIdentName { background: lime; } + +.foo\\/bar-localIdentName { + background: hotpink; +} + +.foo\\\\bar-localIdentName { + background: hotpink; +} + +.foo\\/bar\\/baz-localIdentName { + background: hotpink; +} + +.foo\\\\bar\\\\baz-localIdentName { + background: hotpink; +} +", + "", + ], +] +`; + +exports[`"modules" option should work with [folder] #2: warnings 1`] = `[]`; + +exports[`"modules" option should work with [folder] #3: errors 1`] = `[]`; + +exports[`"modules" option should work with [folder] #3: 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, \`.ComponentName-header { + color: red; +} + +.ComponentName-body { + color: green; +} + +.ComponentName-footer { + color: blue; +} +\`, ""]); +// Exports +export var header = \`ComponentName-header\`; +export var body = \`ComponentName-body\`; +export var footer = \`ComponentName-footer\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with [folder] #3: result 1`] = ` +[ + [ + "./modules/ComponentName/index.modules.css", + ".ComponentName-header { + color: red; +} + +.ComponentName-body { + color: green; +} + +.ComponentName-footer { + color: blue; +} +", + "", + ], +] +`; + +exports[`"modules" option should work with [folder] #3: warnings 1`] = `[]`; + +exports[`"modules" option should work with [folder] #4: errors 1`] = `[]`; + +exports[`"modules" option should work with [folder] #4: 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, \`.ComponentName-header { + color: red; +} + +.ComponentName-body { + color: green; +} + +.ComponentName-footer { + color: blue; +} +\`, ""]); +// Exports +export var header = \`ComponentName-header\`; +export var body = \`ComponentName-body\`; +export var footer = \`ComponentName-footer\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with [folder] #4: result 1`] = ` +[ + [ + "./modules/ComponentName/index.modules.css", + ".ComponentName-header { + color: red; +} + +.ComponentName-body { + color: green; +} + +.ComponentName-footer { + color: blue; +} +", + "", + ], +] +`; + +exports[`"modules" option should work with [folder] #4: warnings 1`] = `[]`; + +exports[`"modules" option should work with [folder]: errors 1`] = `[]`; + +exports[`"modules" option should work with [folder]: 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-localIdentName-localIdentName { + background: red; +} + +._test-localIdentName-localIdentName { + background: blue; +} + +.className-localIdentName-localIdentName { + background: red; +} + +#someId-localIdentName-localIdentName { + background: green; +} + +.className-localIdentName-localIdentName .subClass-localIdentName-localIdentName { + color: green; +} + +#someId-localIdentName-localIdentName .subClass-localIdentName-localIdentName { + color: blue; +} + +.-a0-34a___f-localIdentName-localIdentName { + color: red; +} + +.m_x_\\\\@-localIdentName-localIdentName { + margin-left: auto !important; + margin-right: auto !important; +} + +.B\\\\&W\\\\?-localIdentName-localIdentName { + margin-left: auto !important; + margin-right: auto !important; +} + +/* matches elements with class=":\\\`(" */ +.\\\\3A \\\\\\\`\\\\(-localIdentName-localIdentName { + color: aqua; +} + +/* matches elements with class="1a2b3c" */ +.\\\\31 a2b3c-localIdentName-localIdentName { + color: aliceblue; +} + +/* matches the element with id="#fake-id" */ +#\\\\#fake-id-localIdentName-localIdentName { + color: antiquewhite; +} + +/* matches the element with id="-a-b-c-" */ +#-a-b-c--localIdentName-localIdentName { + color: azure; +} + +/* matches the element with id="©" */ +#©-localIdentName-localIdentName { + color: black; +} + +.♥-localIdentName-localIdentName { background: lime; } +.©-localIdentName-localIdentName { background: lime; } +.😍-localIdentName-localIdentName { background: lime; } +.“‘’”-localIdentName-localIdentName { background: lime; } +.☺☃-localIdentName-localIdentName { background: lime; } +.⌘⌥-localIdentName-localIdentName { background: lime; } +.𝄞♪♩♫♬-localIdentName-localIdentName { background: lime; } +.💩-localIdentName-localIdentName { background: lime; } +.\\\\?-localIdentName-localIdentName { background: lime; } +.\\\\@-localIdentName-localIdentName { background: lime; } +.\\\\.-localIdentName-localIdentName { background: lime; } +.\\\\3A \\\\)-localIdentName-localIdentName { background: lime; } +.\\\\3A \\\\\\\`\\\\(-localIdentName-localIdentName { background: lime; } +.\\\\31 23-localIdentName-localIdentName { background: lime; } +.\\\\31 a2b3c-localIdentName-localIdentName { background: lime; } +.\\\\
-localIdentName-localIdentName { background: lime; } +.\\\\<\\\\>\\\\<\\\\<\\\\<\\\\>\\\\>\\\\<\\\\>-localIdentName-localIdentName { background: lime; } +.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\[\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\>\\\\+\\\\+\\\\+\\\\>\\\\+\\\\<\\\\<\\\\<\\\\<\\\\-\\\\]\\\\>\\\\+\\\\+\\\\.\\\\>\\\\+\\\\.\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\.\\\\+\\\\+\\\\+\\\\.\\\\>\\\\+\\\\+\\\\.\\\\<\\\\<\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\+\\\\.\\\\>\\\\.\\\\+\\\\+\\\\+\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\-\\\\.\\\\>\\\\+\\\\.\\\\>\\\\.-localIdentName-localIdentName { background: lime; } +.\\\\#-localIdentName-localIdentName { background: lime; } +.\\\\#\\\\#-localIdentName-localIdentName { background: lime; } +.\\\\#\\\\.\\\\#\\\\.\\\\#-localIdentName-localIdentName { background: lime; } +.\\\\_-localIdentName-localIdentName { background: lime; } +.\\\\{\\\\}-localIdentName-localIdentName { background: lime; } +.\\\\#fake\\\\-id-localIdentName-localIdentName { background: lime; } +.foo\\\\.bar-localIdentName-localIdentName { background: lime; } +.\\\\3A hover-localIdentName-localIdentName { background: lime; } +.\\\\3A hover\\\\3A focus\\\\3A active-localIdentName-localIdentName { background: lime; } +.\\\\[attr\\\\=value\\\\]-localIdentName-localIdentName { background: lime; } +.f\\\\/o\\\\/o-localIdentName-localIdentName { background: lime; } +.f\\\\\\\\o\\\\\\\\o-localIdentName-localIdentName { background: lime; } +.f\\\\*o\\\\*o-localIdentName-localIdentName { background: lime; } +.f\\\\!o\\\\!o-localIdentName-localIdentName { background: lime; } +.f\\\\'o\\\\'o-localIdentName-localIdentName { background: lime; } +.f\\\\~o\\\\~o-localIdentName-localIdentName { background: lime; } +.f\\\\+o\\\\+o-localIdentName-localIdentName { background: lime; } + +.foo\\\\/bar-localIdentName-localIdentName { + background: hotpink; +} + +.foo\\\\\\\\bar-localIdentName-localIdentName { + background: hotpink; +} + +.foo\\\\/bar\\\\/baz-localIdentName-localIdentName { + background: hotpink; +} + +.foo\\\\\\\\bar\\\\\\\\baz-localIdentName-localIdentName { + background: hotpink; +} +\`, ""]); +// Exports +var _1 = \`123-localIdentName-localIdentName\`; +export { _1 as "123" }; +export var test = \`test-localIdentName-localIdentName\`; +export var _test = \`_test-localIdentName-localIdentName\`; +export var className = \`className-localIdentName-localIdentName\`; +export var someId = \`someId-localIdentName-localIdentName\`; +export var subClass = \`subClass-localIdentName-localIdentName\`; +var _2 = \`-a0-34a___f-localIdentName-localIdentName\`; +export { _2 as "-a0-34a___f" }; +var _3 = \`m_x_@-localIdentName-localIdentName\`; +export { _3 as "m_x_@" }; +var _4 = \`B&W?-localIdentName-localIdentName\`; +export { _4 as "B&W?" }; +var _5 = \`:\\\`(-localIdentName-localIdentName\`; +export { _5 as ":\`(" }; +var _6 = \`1a2b3c-localIdentName-localIdentName\`; +export { _6 as "1a2b3c" }; +var _7 = \`#fake-id-localIdentName-localIdentName\`; +export { _7 as "#fake-id" }; +var _8 = \`-a-b-c--localIdentName-localIdentName\`; +export { _8 as "-a-b-c-" }; +var _9 = \`©-localIdentName-localIdentName\`; +export { _9 as "©" }; +var _a = \`♥-localIdentName-localIdentName\`; +export { _a as "♥" }; +var _b = \`😍-localIdentName-localIdentName\`; +export { _b as "😍" }; +var _c = \`“‘’”-localIdentName-localIdentName\`; +export { _c as "“‘’”" }; +var _d = \`☺☃-localIdentName-localIdentName\`; +export { _d as "☺☃" }; +var _e = \`⌘⌥-localIdentName-localIdentName\`; +export { _e as "⌘⌥" }; +var _f = \`𝄞♪♩♫♬-localIdentName-localIdentName\`; +export { _f as "𝄞♪♩♫♬" }; +var _10 = \`💩-localIdentName-localIdentName\`; +export { _10 as "💩" }; +var _11 = \`?-localIdentName-localIdentName\`; +export { _11 as "?" }; +var _12 = \`@-localIdentName-localIdentName\`; +export { _12 as "@" }; +var _13 = \`.-localIdentName-localIdentName\`; +export { _13 as "." }; +var _14 = \`:)-localIdentName-localIdentName\`; +export { _14 as ":)" }; +var _15 = \`
-localIdentName-localIdentName\`; +export { _15 as "
" }; +var _16 = \`<><<<>><>-localIdentName-localIdentName\`; +export { _16 as "<><<<>><>" }; +var _17 = \`++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.-localIdentName-localIdentName\`; +export { _17 as "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." }; +var _18 = \`#-localIdentName-localIdentName\`; +export { _18 as "#" }; +var _19 = \`##-localIdentName-localIdentName\`; +export { _19 as "##" }; +var _1a = \`#.#.#-localIdentName-localIdentName\`; +export { _1a as "#.#.#" }; +export var _ = \`_-localIdentName-localIdentName\`; +var _1b = \`{}-localIdentName-localIdentName\`; +export { _1b as "{}" }; +var _1c = \`foo.bar-localIdentName-localIdentName\`; +export { _1c as "foo.bar" }; +var _1d = \`:hover-localIdentName-localIdentName\`; +export { _1d as ":hover" }; +var _1e = \`:hover:focus:active-localIdentName-localIdentName\`; +export { _1e as ":hover:focus:active" }; +var _1f = \`[attr=value]-localIdentName-localIdentName\`; +export { _1f as "[attr=value]" }; +var _20 = \`f/o/o-localIdentName-localIdentName\`; +export { _20 as "f/o/o" }; +var _21 = \`f\\\\o\\\\o-localIdentName-localIdentName\`; +export { _21 as "f\\\\o\\\\o" }; +var _22 = \`f*o*o-localIdentName-localIdentName\`; +export { _22 as "f*o*o" }; +var _23 = \`f!o!o-localIdentName-localIdentName\`; +export { _23 as "f!o!o" }; +var _24 = \`f'o'o-localIdentName-localIdentName\`; +export { _24 as "f'o'o" }; +var _25 = \`f~o~o-localIdentName-localIdentName\`; +export { _25 as "f~o~o" }; +var _26 = \`f+o+o-localIdentName-localIdentName\`; +export { _26 as "f+o+o" }; +var _27 = \`foo/bar-localIdentName-localIdentName\`; +export { _27 as "foo/bar" }; +var _28 = \`foo\\\\bar-localIdentName-localIdentName\`; +export { _28 as "foo\\\\bar" }; +var _29 = \`foo/bar/baz-localIdentName-localIdentName\`; +export { _29 as "foo/bar/baz" }; +var _2a = \`foo\\\\bar\\\\baz-localIdentName-localIdentName\`; +export { _2a as "foo\\\\bar\\\\baz" }; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with [folder]: result 1`] = ` +[ + [ + "./modules/localIdentName/localIdentName.css", + ".test-localIdentName-localIdentName { + background: red; +} + +._test-localIdentName-localIdentName { + background: blue; +} + +.className-localIdentName-localIdentName { + background: red; +} + +#someId-localIdentName-localIdentName { + background: green; +} + +.className-localIdentName-localIdentName .subClass-localIdentName-localIdentName { + color: green; +} + +#someId-localIdentName-localIdentName .subClass-localIdentName-localIdentName { + color: blue; +} + +.-a0-34a___f-localIdentName-localIdentName { + color: red; +} + +.m_x_\\@-localIdentName-localIdentName { + margin-left: auto !important; + margin-right: auto !important; +} + +.B\\&W\\?-localIdentName-localIdentName { + margin-left: auto !important; + margin-right: auto !important; +} + +/* matches elements with class=":\`(" */ +.\\3A \\\`\\(-localIdentName-localIdentName { + color: aqua; +} + +/* matches elements with class="1a2b3c" */ +.\\31 a2b3c-localIdentName-localIdentName { + color: aliceblue; +} + +/* matches the element with id="#fake-id" */ +#\\#fake-id-localIdentName-localIdentName { + color: antiquewhite; +} + +/* matches the element with id="-a-b-c-" */ +#-a-b-c--localIdentName-localIdentName { + color: azure; +} + +/* matches the element with id="©" */ +#©-localIdentName-localIdentName { + color: black; +} + +.♥-localIdentName-localIdentName { background: lime; } +.©-localIdentName-localIdentName { background: lime; } +.😍-localIdentName-localIdentName { background: lime; } +.“‘’”-localIdentName-localIdentName { background: lime; } +.☺☃-localIdentName-localIdentName { background: lime; } +.⌘⌥-localIdentName-localIdentName { background: lime; } +.𝄞♪♩♫♬-localIdentName-localIdentName { background: lime; } +.💩-localIdentName-localIdentName { background: lime; } +.\\?-localIdentName-localIdentName { background: lime; } +.\\@-localIdentName-localIdentName { background: lime; } +.\\.-localIdentName-localIdentName { background: lime; } +.\\3A \\)-localIdentName-localIdentName { background: lime; } +.\\3A \\\`\\(-localIdentName-localIdentName { background: lime; } +.\\31 23-localIdentName-localIdentName { background: lime; } +.\\31 a2b3c-localIdentName-localIdentName { background: lime; } +.\\
-localIdentName-localIdentName { background: lime; } +.\\<\\>\\<\\<\\<\\>\\>\\<\\>-localIdentName-localIdentName { background: lime; } +.\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\[\\>\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\>\\+\\+\\+\\>\\+\\<\\<\\<\\<\\-\\]\\>\\+\\+\\.\\>\\+\\.\\+\\+\\+\\+\\+\\+\\+\\.\\.\\+\\+\\+\\.\\>\\+\\+\\.\\<\\<\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\+\\.\\>\\.\\+\\+\\+\\.\\-\\-\\-\\-\\-\\-\\.\\-\\-\\-\\-\\-\\-\\-\\-\\.\\>\\+\\.\\>\\.-localIdentName-localIdentName { background: lime; } +.\\#-localIdentName-localIdentName { background: lime; } +.\\#\\#-localIdentName-localIdentName { background: lime; } +.\\#\\.\\#\\.\\#-localIdentName-localIdentName { background: lime; } +.\\_-localIdentName-localIdentName { background: lime; } +.\\{\\}-localIdentName-localIdentName { background: lime; } +.\\#fake\\-id-localIdentName-localIdentName { background: lime; } +.foo\\.bar-localIdentName-localIdentName { background: lime; } +.\\3A hover-localIdentName-localIdentName { background: lime; } +.\\3A hover\\3A focus\\3A active-localIdentName-localIdentName { background: lime; } +.\\[attr\\=value\\]-localIdentName-localIdentName { background: lime; } +.f\\/o\\/o-localIdentName-localIdentName { background: lime; } +.f\\\\o\\\\o-localIdentName-localIdentName { background: lime; } +.f\\*o\\*o-localIdentName-localIdentName { background: lime; } +.f\\!o\\!o-localIdentName-localIdentName { background: lime; } +.f\\'o\\'o-localIdentName-localIdentName { background: lime; } +.f\\~o\\~o-localIdentName-localIdentName { background: lime; } +.f\\+o\\+o-localIdentName-localIdentName { background: lime; } + +.foo\\/bar-localIdentName-localIdentName { + background: hotpink; +} + +.foo\\\\bar-localIdentName-localIdentName { + background: hotpink; +} + +.foo\\/bar\\/baz-localIdentName-localIdentName { + background: hotpink; +} + +.foo\\\\bar\\\\baz-localIdentName-localIdentName { + background: hotpink; +} +", + "", + ], +] +`; + +exports[`"modules" option should work with [folder]: warnings 1`] = `[]`; + +exports[`"modules" option should work with \`@\` character in scoped packages: errors 1`] = `[]`; + +exports[`"modules" option should work with \`@\` character in scoped packages: 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-1223-\\\\@foo-bar--myClass { + color: red; +}\`, ""]); +// Exports +export var myClass = \`modules-issue-1223-@foo-bar--myClass\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with \`@\` character in scoped packages: result 1`] = ` +[ + [ + "./modules/issue-1223/@foo/bar/index.module.css", + ".modules-issue-1223-\\@foo-bar--myClass { + color: red; +}", + "", + ], +] +`; + +exports[`"modules" option should work with \`@\` character in scoped packages: warnings 1`] = `[]`; + +exports[`"modules" option should work with \`@scope\` at-rule: errors 1`] = `[]`; + +exports[`"modules" option should work with \`@scope\` at-rule: 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, \`@scope (.kthHR5ALtmYK9QgapjA3) { + :scope { + background-color: plum; + } + + .tHELZHxFZl5YuwVt1kmN { + color: darkmagenta; + } +} + +@scope (.kodeNqRFoMkWN6SDcuTu) { + :scope { + background-color: darkmagenta; + color: antiquewhite; + } + + .yv3SIfJTNkZjzBV3Fc0c { + color: plum; + } +} + +@scope { + :scope { + color: red; + } +} +\`, ""]); +// Exports +var _1 = \`tHELZHxFZl5YuwVt1kmN\`; +export { _1 as "class-a" }; +var _2 = \`yv3SIfJTNkZjzBV3Fc0c\`; +export { _2 as "class-b" }; +var _3 = \`kthHR5ALtmYK9QgapjA3\`; +export { _3 as "light-scheme" }; +var _4 = \`kodeNqRFoMkWN6SDcuTu\`; +export { _4 as "dark-scheme" }; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with \`@scope\` at-rule: result 1`] = ` +[ + [ + "./modules/scope/css.css", + "@scope (.kthHR5ALtmYK9QgapjA3) { + :scope { + background-color: plum; + } + + .tHELZHxFZl5YuwVt1kmN { + color: darkmagenta; + } +} + +@scope (.kodeNqRFoMkWN6SDcuTu) { + :scope { + background-color: darkmagenta; + color: antiquewhite; + } + + .yv3SIfJTNkZjzBV3Fc0c { + color: plum; + } +} + +@scope { + :scope { + color: red; + } +} +", + "", + ], +] +`; + +exports[`"modules" option should work with \`@scope\` at-rule: warnings 1`] = `[]`; + +exports[`"modules" option should work with \`default\` class and with named export: errors 1`] = `[]`; + +exports[`"modules" option should work with \`default\` class and with named export: 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, \`.VP7CYSvMVRONwmJxbckO { + background: red +} +\`, ""]); +// Exports +export var _default = \`VP7CYSvMVRONwmJxbckO\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with \`default\` class and with named export: result 1`] = ` +[ + [ + "./modules/issue-1589/source.css", + ".VP7CYSvMVRONwmJxbckO { + background: red +} +", + "", + ], +] +`; + +exports[`"modules" option should work with \`default\` class and with named export: warnings 1`] = `[]`; + +exports[`"modules" option should work with \`default\` class and without named export: errors 1`] = `[]`; + +exports[`"modules" option should work with \`default\` class and without named export: 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, \`.VP7CYSvMVRONwmJxbckO { + background: red +} +\`, ""]); +// Exports +___CSS_LOADER_EXPORT___.locals = { + "default": \`VP7CYSvMVRONwmJxbckO\` +}; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with \`default\` class and without named export: result 1`] = ` +[ + [ + "./modules/issue-1589/source.css", + ".VP7CYSvMVRONwmJxbckO { + background: red +} +", + "", + ], +] +`; + +exports[`"modules" option should work with \`default\` class and without named export: warnings 1`] = `[]`; + +exports[`"modules" option should work with CSS nesting: errors 1`] = `[]`; + +exports[`"modules" option should work with CSS nesting: 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, \`._pG6Ii1pxmcUMD0NzUtQ { + width: 90%; + justify-content: center; + border-radius: 1rem; + border: black solid 2px; + background-color: #ffc107; + color: black; + padding: 1rem; + + .iUl5nI1Dv6TIu2YP4dWR:before { + /* equivalent to \\\`.notice .notice-heading:before\\\` */ + content: "ℹ︎ "; + } + + &.TFrsdnZD18tk3GETl69r { + /* equivalent to \\\`.notice.warning\\\` */ + background-color: #d81b60; + border-color: #d81b60; + color: white; + .q_ifMKrTEObqZgH3LvyG:before { + /* equivalent to \\\`.notice.warning .warning-heading:before\\\` */ + content: "! "; + } + } + + &.qsxzhFlwpVGqHrGQJ1hN { + /* equivalent to \\\`.notice.success\\\` */ + background-color: #004d40; + border-color: #004d40; + color: white; + + .A8gfWSRbM9YW0L6tOjQF:before { + /* equivalent to \\\`.notice.success .success-heading:before\\\` */ + content: "✓ "; + } + } +} + +.VqpL5NBnVLpSzG9MmKBr { + color: red; +} + +.ql3V2zACcMFSFfphBZPW { + + &.dszXEFjuKeRqj_gVSvHw { + color: blue; + } +} + +.VqpL5NBnVLpSzG9MmKBr { + display: grid; + + @media (orientation: landscape) { + & { + grid-auto-flow: column; + } + } +} + +@media (orientation: landscape) { + .cPifDMAgF2q_hT5k2Uk_ { + color: red; + } +} + +@media (orientation: landscape) { + @media (orientation: landscape) { + .TmIpPZmDj78OxIhKF77L { + color: red; + } + } +} + +._gVr6K1cS3fTgF_VlJkG { + + @media (orientation: landscape) { + color: red; + } +} +\`, ""]); +// Exports +export var notice = \`_pG6Ii1pxmcUMD0NzUtQ\`; +var _1 = \`iUl5nI1Dv6TIu2YP4dWR\`; +export { _1 as "notice-heading" }; +export var warning = \`TFrsdnZD18tk3GETl69r\`; +var _2 = \`q_ifMKrTEObqZgH3LvyG\`; +export { _2 as "warning-heading" }; +export var success = \`qsxzhFlwpVGqHrGQJ1hN\`; +var _3 = \`A8gfWSRbM9YW0L6tOjQF\`; +export { _3 as "success-heading" }; +export var foo = \`VqpL5NBnVLpSzG9MmKBr\`; +export var bar = \`ql3V2zACcMFSFfphBZPW VqpL5NBnVLpSzG9MmKBr\`; +export var baz = \`dszXEFjuKeRqj_gVSvHw\`; +export var a = \`cPifDMAgF2q_hT5k2Uk_\`; +export var b = \`TmIpPZmDj78OxIhKF77L cPifDMAgF2q_hT5k2Uk_\`; +export var n = \`_gVr6K1cS3fTgF_VlJkG cPifDMAgF2q_hT5k2Uk_\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with CSS nesting: result 1`] = ` +[ + [ + "./modules/nesting/css.css", + "._pG6Ii1pxmcUMD0NzUtQ { + width: 90%; + justify-content: center; + border-radius: 1rem; + border: black solid 2px; + background-color: #ffc107; + color: black; + padding: 1rem; + + .iUl5nI1Dv6TIu2YP4dWR:before { + /* equivalent to \`.notice .notice-heading:before\` */ + content: "ℹ︎ "; + } + + &.TFrsdnZD18tk3GETl69r { + /* equivalent to \`.notice.warning\` */ + background-color: #d81b60; + border-color: #d81b60; + color: white; + .q_ifMKrTEObqZgH3LvyG:before { + /* equivalent to \`.notice.warning .warning-heading:before\` */ + content: "! "; + } + } + + &.qsxzhFlwpVGqHrGQJ1hN { + /* equivalent to \`.notice.success\` */ + background-color: #004d40; + border-color: #004d40; + color: white; + + .A8gfWSRbM9YW0L6tOjQF:before { + /* equivalent to \`.notice.success .success-heading:before\` */ + content: "✓ "; + } + } +} + +.VqpL5NBnVLpSzG9MmKBr { + color: red; +} + +.ql3V2zACcMFSFfphBZPW { + + &.dszXEFjuKeRqj_gVSvHw { + color: blue; + } +} + +.VqpL5NBnVLpSzG9MmKBr { + display: grid; + + @media (orientation: landscape) { + & { + grid-auto-flow: column; + } + } +} + +@media (orientation: landscape) { + .cPifDMAgF2q_hT5k2Uk_ { + color: red; + } +} + +@media (orientation: landscape) { + @media (orientation: landscape) { + .TmIpPZmDj78OxIhKF77L { + color: red; + } + } +} + +._gVr6K1cS3fTgF_VlJkG { + + @media (orientation: landscape) { + color: red; + } +} +", + "", + ], +] +`; + +exports[`"modules" option should work with CSS nesting: warnings 1`] = `[]`; + +exports[`"modules" option should work with a modules.auto Function that returns "false": errors 1`] = `[]`; + +exports[`"modules" option should work with a modules.auto Function that returns "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, \`.relative { + color: red; +} +\`, ""]); +// Exports +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with a modules.auto Function that returns "false": result 1`] = ` +[ + [ + "./modules/mode/relative.module.css", + ".relative { + color: red; +} +", + "", + ], +] +`; + +exports[`"modules" option should work with a modules.auto Function that returns "false": warnings 1`] = `[]`; + +exports[`"modules" option should work with a modules.auto Function that returns "true": errors 1`] = `[]`; + +exports[`"modules" option should work with a modules.auto Function that returns "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, \`.cK4wjjU46XTRUXJefTb2 { + color: red; +} +\`, ""]); +// Exports +export var relative = \`cK4wjjU46XTRUXJefTb2\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with a modules.auto Function that returns "true": result 1`] = ` +[ + [ + "./modules/mode/relative.module.css", + ".cK4wjjU46XTRUXJefTb2 { + color: red; +} +", + "", + ], +] +`; + +exports[`"modules" option should work with a modules.auto Function that returns "true": warnings 1`] = `[]`; + +exports[`"modules" option should work with a modules.auto RegExp that returns "false": errors 1`] = `[]`; + +exports[`"modules" option should work with a modules.auto RegExp that returns "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, \`.relative { + color: red; +} +\`, ""]); +// Exports +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with a modules.auto RegExp that returns "false": result 1`] = ` +[ + [ + "./modules/mode/relative.module.css", + ".relative { + color: red; +} +", + "", + ], +] +`; + +exports[`"modules" option should work with a modules.auto RegExp that returns "false": warnings 1`] = `[]`; + +exports[`"modules" option should work with a modules.auto RegExp that returns "true": errors 1`] = `[]`; + +exports[`"modules" option should work with a modules.auto RegExp that returns "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, \`.cK4wjjU46XTRUXJefTb2 { + color: red; +} +\`, ""]); +// Exports +export var relative = \`cK4wjjU46XTRUXJefTb2\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with a modules.auto RegExp that returns "true": result 1`] = ` +[ + [ + "./modules/mode/relative.module.css", + ".cK4wjjU46XTRUXJefTb2 { + color: red; +} +", + "", + ], +] +`; + +exports[`"modules" option should work with a modules.auto RegExp that returns "true": warnings 1`] = `[]`; + +exports[`"modules" option should work with an empty object value: errors 1`] = `[]`; + +exports[`"modules" option should work with an empty object 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, \`.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 with an empty object value: 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 with an empty object value: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value 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, \`a { + animation: slide-right 300ms forwards ease-out, fade-in 300ms forwards ease-out; + +} +\`, ""]); +// Exports +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/animation/source.css", + "a { + animation: slide-right 300ms forwards ease-out, fade-in 300ms forwards ease-out; + +} +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`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"; +var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___); +// Module +___CSS_LOADER_EXPORT___.push([module.id, \`a { + animation: slide-right 300ms forwards ease-out, fade-in 300ms forwards ease-out; + +} +\`, ""]); +// Exports +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/animation/source.css", + "a { + animation: slide-right 300ms forwards ease-out, fade-in 300ms forwards ease-out; + +} +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`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, \`a { + animation: pDovZfHXHRJolER3f_Dn 300ms forwards ease-out, c3Z3oaJBg3EshtPDToGo 300ms forwards ease-out; + +} +\`, ""]); +// Exports +var _1 = \`pDovZfHXHRJolER3f_Dn\`; +export { _1 as "slide-right" }; +var _2 = \`c3Z3oaJBg3EshtPDToGo\`; +export { _2 as "fade-in" }; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/animation/source.css", + "a { + animation: pDovZfHXHRJolER3f_Dn 300ms forwards ease-out, c3Z3oaJBg3EshtPDToGo 300ms forwards ease-out; + +} +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`object with mode 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"; +var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___); +// Module +___CSS_LOADER_EXPORT___.push([module.id, \`a { + animation: slide-right 300ms forwards ease-out, fade-in 300ms forwards ease-out; + +} +\`, ""]); +// Exports +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/animation/source.css", + "a { + animation: slide-right 300ms forwards ease-out, fade-in 300ms forwards ease-out; + +} +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`object with mode 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, \`a { + animation: _slide-right 300ms forwards ease-out, _fade-in 300ms forwards ease-out; + +} +\`, ""]); +// Exports +var _1 = \`_slide-right\`; +export { _1 as "slide-right" }; +var _2 = \`_fade-in\`; +export { _2 as "fade-in" }; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/animation/source.css", + "a { + animation: _slide-right 300ms forwards ease-out, _fade-in 300ms forwards ease-out; + +} +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value 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, \`a { + animation: pDovZfHXHRJolER3f_Dn 300ms forwards ease-out, c3Z3oaJBg3EshtPDToGo 300ms forwards ease-out; + +} +\`, ""]); +// Exports +var _1 = \`pDovZfHXHRJolER3f_Dn\`; +export { _1 as "slide-right" }; +var _2 = \`c3Z3oaJBg3EshtPDToGo\`; +export { _2 as "fade-in" }; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/animation/source.css", + "a { + animation: pDovZfHXHRJolER3f_Dn 300ms forwards ease-out, c3Z3oaJBg3EshtPDToGo 300ms forwards ease-out; + +} +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value 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, \`.class-1, .class-10 .bar-1 { + color: green; +} +\`, ""]); +// Exports +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/class-names/source.css", + ".class-1, .class-10 .bar-1 { + color: green; +} +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`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"; +var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___); +// Module +___CSS_LOADER_EXPORT___.push([module.id, \`.class-1, .class-10 .bar-1 { + color: green; +} +\`, ""]); +// Exports +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/class-names/source.css", + ".class-1, .class-10 .bar-1 { + color: green; +} +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`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, \`.lhsC3ZnlddrxLelSGUAK, .fLrlEJH_VU8XAZiGRBlG .D7nQT7ox5RSZwXYYBEvs { + color: green; +} +\`, ""]); +// Exports +var _1 = \`lhsC3ZnlddrxLelSGUAK\`; +export { _1 as "class-1" }; +var _2 = \`fLrlEJH_VU8XAZiGRBlG\`; +export { _2 as "class-10" }; +var _3 = \`D7nQT7ox5RSZwXYYBEvs\`; +export { _3 as "bar-1" }; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/class-names/source.css", + ".lhsC3ZnlddrxLelSGUAK, .fLrlEJH_VU8XAZiGRBlG .D7nQT7ox5RSZwXYYBEvs { + color: green; +} +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`object with mode 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"; +var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___); +// Module +___CSS_LOADER_EXPORT___.push([module.id, \`.class-1, .class-10 .bar-1 { + color: green; +} +\`, ""]); +// Exports +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/class-names/source.css", + ".class-1, .class-10 .bar-1 { + color: green; +} +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`object with mode 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, \`._class-1, ._class-10 ._bar-1 { + color: green; +} +\`, ""]); +// Exports +var _1 = \`_class-1\`; +export { _1 as "class-1" }; +var _2 = \`_class-10\`; +export { _2 as "class-10" }; +var _3 = \`_bar-1\`; +export { _3 as "bar-1" }; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/class-names/source.css", + "._class-1, ._class-10 ._bar-1 { + color: green; +} +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value 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, \`.lhsC3ZnlddrxLelSGUAK, .fLrlEJH_VU8XAZiGRBlG .D7nQT7ox5RSZwXYYBEvs { + color: green; +} +\`, ""]); +// Exports +var _1 = \`lhsC3ZnlddrxLelSGUAK\`; +export { _1 as "class-1" }; +var _2 = \`fLrlEJH_VU8XAZiGRBlG\`; +export { _2 as "class-10" }; +var _3 = \`D7nQT7ox5RSZwXYYBEvs\`; +export { _3 as "bar-1" }; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/class-names/source.css", + ".lhsC3ZnlddrxLelSGUAK, .fLrlEJH_VU8XAZiGRBlG .D7nQT7ox5RSZwXYYBEvs { + color: green; +} +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value 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, \`:local(.c1/*.c2*/.c3) { background: red; } +\`, ""]); +// Exports +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/comment-in-local/source.css", + ":local(.c1/*.c2*/.c3) { background: red; } +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`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"; +var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___); +// Module +___CSS_LOADER_EXPORT___.push([module.id, \`.y7k3ZqV5dt3ladNuuJcn/*.c2*/.IVb19GRtVJZTNtEKqD8O { background: red; } +\`, ""]); +// Exports +export var c1 = \`y7k3ZqV5dt3ladNuuJcn\`; +export var c3 = \`IVb19GRtVJZTNtEKqD8O\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/comment-in-local/source.css", + ".y7k3ZqV5dt3ladNuuJcn/*.c2*/.IVb19GRtVJZTNtEKqD8O { background: red; } +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`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, \`.y7k3ZqV5dt3ladNuuJcn/*.c2*/.IVb19GRtVJZTNtEKqD8O { background: red; } +\`, ""]); +// Exports +export var c1 = \`y7k3ZqV5dt3ladNuuJcn\`; +export var c3 = \`IVb19GRtVJZTNtEKqD8O\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/comment-in-local/source.css", + ".y7k3ZqV5dt3ladNuuJcn/*.c2*/.IVb19GRtVJZTNtEKqD8O { background: red; } +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`object with mode 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"; +var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___); +// Module +___CSS_LOADER_EXPORT___.push([module.id, \`._c1/*.c2*/._c3 { background: red; } +\`, ""]); +// Exports +export var c1 = \`_c1\`; +export var c3 = \`_c3\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/comment-in-local/source.css", + "._c1/*.c2*/._c3 { background: red; } +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`object with mode 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, \`._c1/*.c2*/._c3 { background: red; } +\`, ""]); +// Exports +export var c1 = \`_c1\`; +export var c3 = \`_c3\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/comment-in-local/source.css", + "._c1/*.c2*/._c3 { background: red; } +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value 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, \`.y7k3ZqV5dt3ladNuuJcn/*.c2*/.IVb19GRtVJZTNtEKqD8O { background: red; } +\`, ""]); +// Exports +export var c1 = \`y7k3ZqV5dt3ladNuuJcn\`; +export var c3 = \`IVb19GRtVJZTNtEKqD8O\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/comment-in-local/source.css", + ".y7k3ZqV5dt3ladNuuJcn/*.c2*/.IVb19GRtVJZTNtEKqD8O { background: red; } +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value 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"; +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, \`/* + * a ' above + */ + +.bg { + background-image: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); +} + +/* + * a ' below + */ +\`, ""]); +// Exports +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/comments/source.css", + "/* + * a ' above + */ + +.bg { + background-image: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +} + +/* + * a ' below + */ +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`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_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, \`/* + * a ' above + */ + +.bg { + background-image: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); +} + +/* + * a ' below + */ +\`, ""]); +// Exports +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/comments/source.css", + "/* + * a ' above + */ + +.bg { + background-image: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +} + +/* + * a ' below + */ +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`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_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, \`/* + * a ' above + */ + +.yvLl5BGvC1PGfK3peCcf { + background-image: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); +} + +/* + * a ' below + */ +\`, ""]); +// Exports +export var bg = \`yvLl5BGvC1PGfK3peCcf\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/comments/source.css", + "/* + * a ' above + */ + +.yvLl5BGvC1PGfK3peCcf { + background-image: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +} + +/* + * a ' below + */ +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`object with mode 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_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, \`/* + * a ' above + */ + +.bg { + background-image: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); +} + +/* + * a ' below + */ +\`, ""]); +// Exports +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/comments/source.css", + "/* + * a ' above + */ + +.bg { + background-image: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +} + +/* + * a ' below + */ +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`object with mode 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_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, \`/* + * a ' above + */ + +._bg { + background-image: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); +} + +/* + * a ' below + */ +\`, ""]); +// Exports +export var bg = \`_bg\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/comments/source.css", + "/* + * a ' above + */ + +._bg { + background-image: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +} + +/* + * a ' below + */ +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value 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"; +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, \`/* + * a ' above + */ + +.yvLl5BGvC1PGfK3peCcf { + background-image: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); +} + +/* + * a ' below + */ +\`, ""]); +// Exports +export var bg = \`yvLl5BGvC1PGfK3peCcf\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/comments/source.css", + "/* + * a ' above + */ + +.yvLl5BGvC1PGfK3peCcf { + background-image: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +} + +/* + * a ' below + */ +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value 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, \`:local(.c1) { a: 1; } +:local(.c2) { composes: c1; b: 1; } +\`, ""]); +// Exports +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/composes/source.css", + ":local(.c1) { a: 1; } +:local(.c2) { composes: c1; b: 1; } +", + "", ], ] `; -exports[`"modules" option should work when the "namedExport" is enabled and the "exportLocalsConvention" options has "dashesOnly" value: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with "exportOnlyLocals" and "esModule" with "false" value options: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with "exportOnlyLocals" and "esModule" with "false" value options: module 1`] = ` +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -var ___CSS_LOADER_ICSS_IMPORT_0___ = require(\\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./values.css\\"); -var ___CSS_LOADER_ICSS_IMPORT_1___ = require(\\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css\\"); -var ___CSS_LOADER_ICSS_IMPORT_2___ = require(\\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported-simple.css\\"); -var ___CSS_LOADER_ICSS_IMPORT_3___ = require(\\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./relative.css\\"); -var ___CSS_LOADER_ICSS_IMPORT_4___ = require(\\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./top-relative.css\\"); -var ___CSS_LOADER_ICSS_IMPORT_5___ = require(\\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!../issue-861/node_modules/package/style.css\\"); -var ___CSS_LOADER_ICSS_IMPORT_6___ = require(\\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./alias.css\\"); -var ___CSS_LOADER_ICSS_IMPORT_7___ = require(\\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!sass-loader!./scss-file.scss\\"); +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, \`.tVL743E5xjGpthL2ju_x { a: 1; } +.VD4zcmUYMYwD4ChgMAo1 { b: 1; } +\`, ""]); // Exports -module.exports = { - \\"v-def\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___[\\"v-def\\"] + \\"\\", - \\"v-other\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___[\\"v-other\\"] + \\"\\", - \\"s-white\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___[\\"s-white\\"] + \\"\\", - \\"m-small\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___[\\"m-small\\"] + \\"\\", - \\"v-something\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_1___[\\"v-something\\"] + \\"\\", - \\"v-foo\\": \\"blue\\", - \\"v-bar\\": \\"block\\", - \\"v-primary\\": \\"#BF4040\\", - \\"s-black\\": \\"black-selector\\", - \\"m-large\\": \\"(min-width: 960px)\\", - \\"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(http://"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 */\\", - \\"v-function\\": \\"rgb(0,0,0)\\", - \\"v-unicode-range\\": \\"U+0025-00FF\\", - \\"ghi\\": \\"_ghi\\", - \\"my-class\\": \\"_my-class\\", - \\"other\\": \\"_other\\", - \\"other-other\\": \\"_other-other\\", - \\"green\\": \\"_green\\", - \\"foo\\": \\"_foo\\", - \\"simple\\": \\"_simple \\" + ___CSS_LOADER_ICSS_IMPORT_2___[\\"imported-simple\\"] + \\"\\", - \\"relative\\": \\"_relative \\" + ___CSS_LOADER_ICSS_IMPORT_3___[\\"imported-relative\\"] + \\"\\", - \\"top-relative\\": \\"_top-relative \\" + ___CSS_LOADER_ICSS_IMPORT_4___[\\"imported-relative\\"] + \\"\\", - \\"my-module\\": \\"_my-module \\" + ___CSS_LOADER_ICSS_IMPORT_5___[\\"imported-module\\"] + \\"\\", - \\"alias\\": \\"_alias \\" + ___CSS_LOADER_ICSS_IMPORT_6___[\\"imported-alias\\"] + \\"\\", - \\"alias-duplicate\\": \\"_alias-duplicate \\" + ___CSS_LOADER_ICSS_IMPORT_6___[\\"imported-alias\\"] + \\"\\", - \\"primary-selector\\": \\"_primary-selector\\", - \\"black-selector\\": \\"_black-selector\\", - \\"header\\": \\"_header\\", - \\"foobarbaz\\": \\"_foobarbaz\\", - \\"url\\": \\"_url\\", - \\"main\\": \\"_main \\" + ___CSS_LOADER_ICSS_IMPORT_7___[\\"scssClass\\"] + \\"\\" -}; +export var c1 = \`tVL743E5xjGpthL2ju_x\`; +export var c2 = \`VD4zcmUYMYwD4ChgMAo1 tVL743E5xjGpthL2ju_x\`; +export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with "exportOnlyLocals" and "esModule" with "false" value options: result 1`] = ` -Object { - "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(http://"https//www.exammple.com/images/my-background.png//")", +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/composes/source.css", + ".tVL743E5xjGpthL2ju_x { a: 1; } +.VD4zcmUYMYwD4ChgMAo1 { b: 1; } +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`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, \`.tVL743E5xjGpthL2ju_x { a: 1; } +.VD4zcmUYMYwD4ChgMAo1 { b: 1; } +\`, ""]); +// Exports +export var c1 = \`tVL743E5xjGpthL2ju_x\`; +export var c2 = \`VD4zcmUYMYwD4ChgMAo1 tVL743E5xjGpthL2ju_x\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/composes/source.css", + ".tVL743E5xjGpthL2ju_x { a: 1; } +.VD4zcmUYMYwD4ChgMAo1 { b: 1; } +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`object with mode 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"; +var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___); +// Module +___CSS_LOADER_EXPORT___.push([module.id, \`._c1 { a: 1; } +._c2 { b: 1; } +\`, ""]); +// Exports +export var c1 = \`_c1\`; +export var c2 = \`_c2 _c1\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/composes/source.css", + "._c1 { a: 1; } +._c2 { b: 1; } +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`object with mode 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, \`._c1 { a: 1; } +._c2 { b: 1; } +\`, ""]); +// Exports +export var c1 = \`_c1\`; +export var c2 = \`_c2 _c1\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/composes/source.css", + "._c1 { a: 1; } +._c2 { b: 1; } +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value 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, \`.tVL743E5xjGpthL2ju_x { a: 1; } +.VD4zcmUYMYwD4ChgMAo1 { b: 1; } +\`, ""]); +// Exports +export var c1 = \`tVL743E5xjGpthL2ju_x\`; +export var c2 = \`VD4zcmUYMYwD4ChgMAo1 tVL743E5xjGpthL2ju_x\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/composes/source.css", + ".tVL743E5xjGpthL2ju_x { a: 1; } +.VD4zcmUYMYwD4ChgMAo1 { b: 1; } +", + "", + ], +] +`; + +exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value 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, \`: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 +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/composes-1/source.css", + ":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 should work with case \`composes-1\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`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_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.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, \`.zga1M3j3Z7rGOg7nFsJA { b: 1; } +.qmcoDK16jmmTxr5L5rkt { b: 3; } +.mqiF_lM2SS5fBb61Kv6L { b: 5; } +\`, ""]); +// Exports +export var c1 = \`zga1M3j3Z7rGOg7nFsJA \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c2"]}\`; +export var c3 = \`qmcoDK16jmmTxr5L5rkt zga1M3j3Z7rGOg7nFsJA \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c2"]}\`; +export var c5 = \`mqiF_lM2SS5fBb61Kv6L \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c2"]} \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c4"]}\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-1/file.css", + ".g4utV0aoaPVEojxLsqaG { + color: red; +} + +.T9eJR5pcxPlYj6bD4Y49 { + color: blue; +} + +.test{ + c: d } +", + "", + ], + [ + "./modules/tests-cases/composes-1/source.css", + ".zga1M3j3Z7rGOg7nFsJA { b: 1; } +.qmcoDK16jmmTxr5L5rkt { b: 3; } +.mqiF_lM2SS5fBb61Kv6L { b: 5; } +", + "", + ], +] `; -exports[`"modules" option should work with "exportOnlyLocals" and "esModule" with "false" value options: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with "exportOnlyLocals" and "esModule" with "true" value options: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with "exportOnlyLocals" and "esModule" with "true" value options: module 1`] = ` +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./values.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_1___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_2___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported-simple.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_3___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./relative.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_4___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./top-relative.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_5___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!../issue-861/node_modules/package/style.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_6___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./alias.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_7___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!sass-loader!./scss-file.scss\\"; -// Exports -export default { - \\"v-def\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___[\\"v-def\\"] + \\"\\", - \\"v-other\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___[\\"v-other\\"] + \\"\\", - \\"s-white\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___[\\"s-white\\"] + \\"\\", - \\"m-small\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___[\\"m-small\\"] + \\"\\", - \\"v-something\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_1___[\\"v-something\\"] + \\"\\", - \\"v-foo\\": \\"blue\\", - \\"v-bar\\": \\"block\\", - \\"v-primary\\": \\"#BF4040\\", - \\"s-black\\": \\"black-selector\\", - \\"m-large\\": \\"(min-width: 960px)\\", - \\"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(http://"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 */\\", - \\"v-function\\": \\"rgb(0,0,0)\\", - \\"v-unicode-range\\": \\"U+0025-00FF\\", - \\"ghi\\": \\"_ghi\\", - \\"my-class\\": \\"_my-class\\", - \\"other\\": \\"_other\\", - \\"other-other\\": \\"_other-other\\", - \\"green\\": \\"_green\\", - \\"foo\\": \\"_foo\\", - \\"simple\\": \\"_simple \\" + ___CSS_LOADER_ICSS_IMPORT_2___[\\"imported-simple\\"] + \\"\\", - \\"relative\\": \\"_relative \\" + ___CSS_LOADER_ICSS_IMPORT_3___[\\"imported-relative\\"] + \\"\\", - \\"top-relative\\": \\"_top-relative \\" + ___CSS_LOADER_ICSS_IMPORT_4___[\\"imported-relative\\"] + \\"\\", - \\"my-module\\": \\"_my-module \\" + ___CSS_LOADER_ICSS_IMPORT_5___[\\"imported-module\\"] + \\"\\", - \\"alias\\": \\"_alias \\" + ___CSS_LOADER_ICSS_IMPORT_6___[\\"imported-alias\\"] + \\"\\", - \\"alias-duplicate\\": \\"_alias-duplicate \\" + ___CSS_LOADER_ICSS_IMPORT_6___[\\"imported-alias\\"] + \\"\\", - \\"primary-selector\\": \\"_primary-selector\\", - \\"black-selector\\": \\"_black-selector\\", - \\"header\\": \\"_header\\", - \\"foobarbaz\\": \\"_foobarbaz\\", - \\"url\\": \\"_url\\", - \\"main\\": \\"_main \\" + ___CSS_LOADER_ICSS_IMPORT_7___[\\"scssClass\\"] + \\"\\" -}; +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]!./file.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, \`.zga1M3j3Z7rGOg7nFsJA { b: 1; } +.qmcoDK16jmmTxr5L5rkt { b: 3; } +.mqiF_lM2SS5fBb61Kv6L { b: 5; } +\`, ""]); +// Exports +export var c1 = \`zga1M3j3Z7rGOg7nFsJA \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c2"]}\`; +export var c3 = \`qmcoDK16jmmTxr5L5rkt zga1M3j3Z7rGOg7nFsJA \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c2"]}\`; +export var c5 = \`mqiF_lM2SS5fBb61Kv6L \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c2"]} \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c4"]}\`; +export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with "exportOnlyLocals" and "esModule" with "true" value options: result 1`] = ` -Object { - "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(http://"https//www.exammple.com/images/my-background.png//")", +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-1/file.css", + ".g4utV0aoaPVEojxLsqaG { + color: red; +} + +.T9eJR5pcxPlYj6bD4Y49 { + color: blue; } + +.rqK2w8hT1PZ2ZK2Uu4sz{ + c: d +} +", + "", + ], + [ + "./modules/tests-cases/composes-1/source.css", + ".zga1M3j3Z7rGOg7nFsJA { b: 1; } +.qmcoDK16jmmTxr5L5rkt { b: 3; } +.mqiF_lM2SS5fBb61Kv6L { b: 5; } +", + "", + ], +] `; -exports[`"modules" option should work with "exportOnlyLocals" and "esModule" with "true" value options: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with "exportOnlyLocals" and "namedExport" option: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with "exportOnlyLocals" and "namedExport" option: module 1`] = ` +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`object with mode global)\`: 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 -export var vDef = \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"vDef\\"] + \\"\\"; -export var vOther = \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"vOther\\"] + \\"\\"; -export var sWhite = \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"sWhite\\"] + \\"\\"; -export var mSmall = \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"mSmall\\"] + \\"\\"; -export var vSomething = \\"\\" + ___CSS_LOADER_ICSS_IMPORT_1____NAMED___[\\"vSomething\\"] + \\"\\"; -export var vFoo = \\"blue\\"; -export var vBar = \\"block\\"; -export var vPrimary = \\"#BF4040\\"; -export var sBlack = \\"black-selector\\"; -export var mLarge = \\"(min-width: 960px)\\"; -export var vIdent = \\"validIdent\\"; -export var vPreDefinedIdent = \\"left\\"; -export var vString = \\"'content'\\"; -export var vString1 = \\"''\\"; -export var vUrl = \\"url(https://www.exammple.com/images/my-background.png)\\"; -export var vUrl1 = \\"url('https://www.exammple.com/images/my-background.png')\\"; -export var vUrl2 = \\"url(http://"https//www.exammple.com/images/my-background.png//////")\\"; -export var vInteger = \\"100\\"; -export var vInteger1 = \\"-100\\"; -export var vInteger2 = \\"+100\\"; -export var vNumber = \\".60\\"; -export var vNumber1 = \\"-456.8\\"; -export var vNumber2 = \\"-3.4e-2\\"; -export var vDimension = \\"12px\\"; -export var vPercentage = \\"100%\\"; -export var vHex = \\"#fff\\"; -export var vComment = \\" /* comment */\\"; -export var vFunction = \\"rgb(0,0,0)\\"; -export var vUnicodeRange = \\"U+0025-00FF\\"; -export var ghi = \\"_ghi\\"; -export var myClass = \\"_my-class\\"; -export var other = \\"_other\\"; -export var otherOther = \\"_other-other\\"; -export var green = \\"_green\\"; -export var foo = \\"_foo\\"; -export var simple = \\"_simple \\" + ___CSS_LOADER_ICSS_IMPORT_2____NAMED___[\\"importedSimple\\"] + \\"\\"; -export var relative = \\"_relative \\" + ___CSS_LOADER_ICSS_IMPORT_3____NAMED___[\\"importedRelative\\"] + \\"\\"; -export var topRelative = \\"_top-relative \\" + ___CSS_LOADER_ICSS_IMPORT_4____NAMED___[\\"importedRelative\\"] + \\"\\"; -export var myModule = \\"_my-module \\" + ___CSS_LOADER_ICSS_IMPORT_5____NAMED___[\\"importedModule\\"] + \\"\\"; -export var alias = \\"_alias \\" + ___CSS_LOADER_ICSS_IMPORT_6____NAMED___[\\"importedAlias\\"] + \\"\\"; -export var aliasDuplicate = \\"_alias-duplicate \\" + ___CSS_LOADER_ICSS_IMPORT_6____NAMED___[\\"importedAlias\\"] + \\"\\"; -export var primarySelector = \\"_primary-selector\\"; -export var blackSelector = \\"_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\\"] + \\"\\"; +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]!./file.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, \`._c1 { b: 1; } +._c3 { b: 3; } +._c5 { b: 5; } +\`, ""]); +// Exports +export var c1 = \`_c1 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c2"]}\`; +export var c3 = \`_c3 _c1 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c2"]}\`; +export var c5 = \`_c5 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c2"]} \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c4"]}\`; +export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with "exportOnlyLocals" and "namedExport" option: result 1`] = ` -Object { - "alias": "_alias _imported-alias", - "aliasDuplicate": "_alias-duplicate _imported-alias", - "blackSelector": "_black-selector", - "foo": "_foo", - "foobarbaz": "_foobarbaz", - "ghi": "_ghi", - "green": "_green", - "header": "_header", - "mLarge": "(min-width: 960px)", - "mSmall": "(min-width: 320px)", - "main": "_main _scssClass", - "myClass": "_my-class", - "myModule": "_my-module _imported-module", - "other": "_other", - "otherOther": "_other-other", - "primarySelector": "_primary-selector", - "relative": "_relative _imported-relative", - "sBlack": "black-selector", - "sWhite": "white", - "simple": "_simple _imported-simple", - "topRelative": "_top-relative _imported-relative", - "url": "_url", - "vBar": "block", - "vComment": " /* comment */", - "vDef": "red", - "vDimension": "12px", - "vFoo": "blue", - "vFunction": "rgb(0,0,0)", - "vHex": "#fff", - "vIdent": "validIdent", - "vInteger": "100", - "vInteger1": "-100", - "vInteger2": "+100", - "vNumber": ".60", - "vNumber1": "-456.8", - "vNumber2": "-3.4e-2", - "vOther": "green", - "vPercentage": "100%", - "vPreDefinedIdent": "left", - "vPrimary": "#BF4040", - "vSomething": "2112moon", - "vString": "'content'", - "vString1": "''", - "vUnicodeRange": "U+0025-00FF", - "vUrl": "url(https://www.exammple.com/images/my-background.png)", - "vUrl1": "url('https://www.exammple.com/images/my-background.png')", - "vUrl2": "url(http://"https//www.exammple.com/images/my-background.png//")", +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-1/file.css", + "._c2 { + color: red; +} + +._c4 { + color: blue; +} + +.test{ + c: d } +", + "", + ], + [ + "./modules/tests-cases/composes-1/source.css", + "._c1 { b: 1; } +._c3 { b: 3; } +._c5 { b: 5; } +", + "", + ], +] `; -exports[`"modules" option should work with "exportOnlyLocals" and "namedExport" option: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with "false" alises: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with "false" alises: module 1`] = ` +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file.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, \\".className {\\\\n color: IMPORTED_NAME;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._c1 { b: 1; } +._c3 { b: 3; } +._c5 { b: 5; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"primary-color\\": \\"IMPORTED_NAME\\" -}; +export var c1 = \`_c1 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c2"]}\`; +export var c3 = \`_c3 _c1 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c2"]}\`; +export var c5 = \`_c5 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c2"]} \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c4"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with "false" alises: result 1`] = ` -Array [ - Array [ - "./modules/icss-false-alias/relative.icss.css", - ".className { - color: IMPORTED_NAME; +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-1/file.css", + "._c2 { + color: red; +} + +._c4 { + color: blue; +} + +._test{ + c: d } +", + "", + ], + [ + "./modules/tests-cases/composes-1/source.css", + "._c1 { b: 1; } +._c3 { b: 3; } +._c5 { b: 5; } ", "", ], ] `; -exports[`"modules" option should work with "false" alises: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with "url" and "namedExport": errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with "url" and "namedExport": module 1`] = ` +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -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]!./shared.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___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); +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]!./file.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, \\"a {\\\\n background: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n}\\\\n\\\\nbody {\\\\n background: \\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"vUrlOther\\"] + \\";\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.zga1M3j3Z7rGOg7nFsJA { b: 1; } +.qmcoDK16jmmTxr5L5rkt { b: 3; } +.mqiF_lM2SS5fBb61Kv6L { b: 5; } +\`, ""]); // Exports -export var vUrl = \\"url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\")\\"; -export var vUrlOther = \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"vUrlOther\\"] + \\"\\"; +export var c1 = \`zga1M3j3Z7rGOg7nFsJA \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c2"]}\`; +export var c3 = \`qmcoDK16jmmTxr5L5rkt zga1M3j3Z7rGOg7nFsJA \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c2"]}\`; +export var c5 = \`mqiF_lM2SS5fBb61Kv6L \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c2"]} \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c4"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with "url" and "namedExport": result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/url/shared.css", - " -", - "", - ], - Array [ - "./modules/url/source.css", - "a { - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-1/file.css", + ".g4utV0aoaPVEojxLsqaG { + color: red; } -body { - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +.T9eJR5pcxPlYj6bD4Y49 { + color: blue; +} + +.rqK2w8hT1PZ2ZK2Uu4sz{ + c: d } +", + "", + ], + [ + "./modules/tests-cases/composes-1/source.css", + ".zga1M3j3Z7rGOg7nFsJA { b: 1; } +.qmcoDK16jmmTxr5L5rkt { b: 3; } +.mqiF_lM2SS5fBb61Kv6L { b: 5; } ", "", ], ] `; -exports[`"modules" option should work with "url" and "namedExport": warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with "url": errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with "url": module 1`] = ` +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./shared.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___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); +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, \\"a {\\\\n background: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n}\\\\n\\\\nbody {\\\\n background: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"v-url-other\\"] + \\";\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`: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 -___CSS_LOADER_EXPORT___.locals = { - \\"v-url\\": \\"url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\")\\", - \\"v-url-other\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"v-url-other\\"] + \\"\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with "url": result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/url/shared.css", - " +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/composes-2/source.css", + ":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; } ", "", ], - Array [ - "./modules/url/source.css", - "a { - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +] +`; + +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`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_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.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, \`.C98NzfjxvJBB0dZv41Lx { b: 1; } +.mmwjPz30IDsYG8mQwZJk { b: 3; } +.GlfF1waq2tHPjGNYyv9r { b: 5; } +\`, ""]); +// Exports +export var c1 = \`C98NzfjxvJBB0dZv41Lx \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c-2"]}\`; +export var c3 = \`mmwjPz30IDsYG8mQwZJk C98NzfjxvJBB0dZv41Lx \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c-2"]}\`; +export var c5 = \`GlfF1waq2tHPjGNYyv9r \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c-2"]} \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c4"]}\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-2/file.css", + ".O0JaNxIO0toCDjZCaVqy { + color: red; } -body { - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +.rA1bUe9OiQUYtBqQPi33 { + color: blue; +} + +.test{ + c: d } +", + "", + ], + [ + "./modules/tests-cases/composes-2/source.css", + ".C98NzfjxvJBB0dZv41Lx { b: 1; } +.mmwjPz30IDsYG8mQwZJk { b: 3; } +.GlfF1waq2tHPjGNYyv9r { b: 5; } ", "", ], ] `; -exports[`"modules" option should work with "url": warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with 'resolve.byDependency.css.extensions': errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with 'resolve.byDependency.css.extensions': module 1`] = ` +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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]!./file.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, \\".k8Sw3cNq6_slIbwZ0b9J {\\\\n color: yellow;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.C98NzfjxvJBB0dZv41Lx { b: 1; } +.mmwjPz30IDsYG8mQwZJk { b: 3; } +.GlfF1waq2tHPjGNYyv9r { b: 5; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"one\\": \\"k8Sw3cNq6_slIbwZ0b9J \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"imported-relative\\"] + \\"\\" -}; +export var c1 = \`C98NzfjxvJBB0dZv41Lx \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c-2"]}\`; +export var c3 = \`mmwjPz30IDsYG8mQwZJk C98NzfjxvJBB0dZv41Lx \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c-2"]}\`; +export var c5 = \`GlfF1waq2tHPjGNYyv9r \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c-2"]} \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c4"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with 'resolve.byDependency.css.extensions': result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/extensions/imported.css", - ".QgUbmeOLMNh0EG_yjJLj { - display: block; +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-2/file.css", + ".O0JaNxIO0toCDjZCaVqy { + color: red; +} + +.rA1bUe9OiQUYtBqQPi33 { + color: blue; +} + +.JOLmDz_uLyyadoFaY8Wa{ + c: d } ", "", ], - Array [ - "./modules/extensions/source.css", - ".k8Sw3cNq6_slIbwZ0b9J { - color: yellow; -} + [ + "./modules/tests-cases/composes-2/source.css", + ".C98NzfjxvJBB0dZv41Lx { b: 1; } +.mmwjPz30IDsYG8mQwZJk { b: 3; } +.GlfF1waq2tHPjGNYyv9r { b: 5; } ", "", ], ] `; -exports[`"modules" option should work with 'resolve.byDependency.css.extensions': warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with 'resolve.extensions': errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with 'resolve.extensions': module 1`] = ` +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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]!./file.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, \\".k8Sw3cNq6_slIbwZ0b9J {\\\\n color: yellow;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._c1 { b: 1; } +._c3 { b: 3; } +._c5 { b: 5; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"one\\": \\"k8Sw3cNq6_slIbwZ0b9J \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"imported-relative\\"] + \\"\\" -}; +export var c1 = \`_c1 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c-2"]}\`; +export var c3 = \`_c3 _c1 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c-2"]}\`; +export var c5 = \`_c5 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c-2"]} \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c4"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with 'resolve.extensions': result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/extensions/imported.css", - ".QgUbmeOLMNh0EG_yjJLj { - display: block; +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-2/file.css", + "._c-2 { + color: red; +} + +._c4 { + color: blue; +} + +.test{ + c: d } ", "", ], - Array [ - "./modules/extensions/source.css", - ".k8Sw3cNq6_slIbwZ0b9J { - color: yellow; -} + [ + "./modules/tests-cases/composes-2/source.css", + "._c1 { b: 1; } +._c3 { b: 3; } +._c5 { b: 5; } ", "", ], ] `; -exports[`"modules" option should work with 'resolve.extensions': warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with \`@\` character in scoped packages: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with \`@\` character in scoped packages: module 1`] = ` +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file.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, \\".modules-issue-1223-\\\\\\\\@foo-bar--myClass {\\\\n color: red;\\\\n}\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._c1 { b: 1; } +._c3 { b: 3; } +._c5 { b: 5; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"myClass\\": \\"modules-issue-1223-@foo-bar--myClass\\" -}; +export var c1 = \`_c1 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c-2"]}\`; +export var c3 = \`_c3 _c1 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c-2"]}\`; +export var c5 = \`_c5 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c-2"]} \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c4"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with \`@\` character in scoped packages: result 1`] = ` -Array [ - Array [ - "./modules/issue-1223/@foo/bar/index.module.css", - ".modules-issue-1223-\\\\@foo-bar--myClass { - color: red; -}", +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-2/file.css", + "._c-2 { + color: red; +} + +._c4 { + color: blue; +} + +._test{ + c: d +} +", + "", + ], + [ + "./modules/tests-cases/composes-2/source.css", + "._c1 { b: 1; } +._c3 { b: 3; } +._c5 { b: 5; } +", "", ], ] `; -exports[`"modules" option should work with \`@\` character in scoped packages: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with a modules.auto Function that returns "false": errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with a modules.auto Function that returns "false": module 1`] = ` +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file.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, \\".relative {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.C98NzfjxvJBB0dZv41Lx { b: 1; } +.mmwjPz30IDsYG8mQwZJk { b: 3; } +.GlfF1waq2tHPjGNYyv9r { b: 5; } +\`, ""]); // Exports +export var c1 = \`C98NzfjxvJBB0dZv41Lx \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c-2"]}\`; +export var c3 = \`mmwjPz30IDsYG8mQwZJk C98NzfjxvJBB0dZv41Lx \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c-2"]}\`; +export var c5 = \`GlfF1waq2tHPjGNYyv9r \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c-2"]} \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["c4"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with a modules.auto Function that returns "false": result 1`] = ` -Array [ - Array [ - "./modules/mode/relative.module.css", - ".relative { +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-2/file.css", + ".O0JaNxIO0toCDjZCaVqy { color: red; } + +.rA1bUe9OiQUYtBqQPi33 { + color: blue; +} + +.JOLmDz_uLyyadoFaY8Wa{ + c: d +} +", + "", + ], + [ + "./modules/tests-cases/composes-2/source.css", + ".C98NzfjxvJBB0dZv41Lx { b: 1; } +.mmwjPz30IDsYG8mQwZJk { b: 3; } +.GlfF1waq2tHPjGNYyv9r { b: 5; } ", "", ], ] `; -exports[`"modules" option should work with a modules.auto Function that returns "false": warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with a modules.auto Function that returns "true": errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with a modules.auto Function that returns "true": module 1`] = ` +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"._wr0eVpMbaGr94MKhByE {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`:local(.abc) { + composes: def1 from "./file1.css"; + composes: def2 from "./file2.css"; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"relative\\": \\"_wr0eVpMbaGr94MKhByE\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with a modules.auto Function that returns "true": result 1`] = ` -Array [ - Array [ - "./modules/mode/relative.module.css", - "._wr0eVpMbaGr94MKhByE { - color: red; +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/composes-multiple/source.css", + ":local(.abc) { + composes: def1 from "./file1.css"; + composes: def2 from "./file2.css"; } ", "", @@ -5265,139 +14638,152 @@ Array [ ] `; -exports[`"modules" option should work with a modules.auto Function that returns "true": warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with a modules.auto RegExp that returns "false": errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with a modules.auto RegExp that returns "false": module 1`] = ` +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.css"; +import ___CSS_LOADER_ICSS_IMPORT_1___, * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.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, \\".relative {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.lUk1HpO5NQ1fZ1QAotOO { +} +\`, ""]); // Exports +export var abc = \`lUk1HpO5NQ1fZ1QAotOO \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def1"]} \${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["def2"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with a modules.auto RegExp that returns "false": result 1`] = ` -Array [ - Array [ - "./modules/mode/relative.module.css", - ".relative { +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file1.css", + ".yEiBBwnNmLscmG7iHCZb { color: red; } +", + "", + ], + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file2.css", + ".osAv0sPkeYWkJLX2D9vt { + color: blue; +} +", + "", + ], + [ + "./modules/tests-cases/composes-multiple/source.css", + ".lUk1HpO5NQ1fZ1QAotOO { +} ", "", ], ] `; -exports[`"modules" option should work with a modules.auto RegExp that returns "false": warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with a modules.auto RegExp that returns "true": errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with a modules.auto RegExp that returns "true": module 1`] = ` +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.css"; +import ___CSS_LOADER_ICSS_IMPORT_1___, * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.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, \\"._wr0eVpMbaGr94MKhByE {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.lUk1HpO5NQ1fZ1QAotOO { +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"relative\\": \\"_wr0eVpMbaGr94MKhByE\\" -}; +export var abc = \`lUk1HpO5NQ1fZ1QAotOO \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def1"]} \${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["def2"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with a modules.auto RegExp that returns "true": result 1`] = ` -Array [ - Array [ - "./modules/mode/relative.module.css", - "._wr0eVpMbaGr94MKhByE { +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file1.css", + ".yEiBBwnNmLscmG7iHCZb { color: red; } +", + "", + ], + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file2.css", + ".osAv0sPkeYWkJLX2D9vt { + color: blue; +} +", + "", + ], + [ + "./modules/tests-cases/composes-multiple/source.css", + ".lUk1HpO5NQ1fZ1QAotOO { +} ", "", ], ] `; -exports[`"modules" option should work with a modules.auto RegExp that returns "true": warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with an empty object value: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with an empty object value: module 1`] = ` +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.css"; +import ___CSS_LOADER_ICSS_IMPORT_1___, * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.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, \\".vMTmrSQeex_jSha5WBf_ {\\\\n color: red;\\\\n}\\\\n\\\\nh1 ._jZGcrtjxzVwhHf3TWSb {\\\\n color: green;\\\\n}\\\\n\\\\n.Kj5cNSGgf4iXvLYn6No_ h1 {\\\\n color: blue;\\\\n}\\\\n\\\\n.jh3b1xCDLmAY6eymyAt_ h1 .Pfub7unrTg1ycP0dH1Np {\\\\n color: red;\\\\n}\\\\n\\\\n#AUPKdRDRa6hXeK0BG2pk {\\\\n color: red;\\\\n}\\\\n\\\\nh1 #pWzFEVR2SnlD5kUmOw_N {\\\\n color: green;\\\\n}\\\\n\\\\n#qoyIi2Mg4Mb_ZSGUJ8vJ h1 {\\\\n color: blue;\\\\n}\\\\n\\\\n#K4O4KL_LvYNVK5BfgrpS h1 #__XKNw5xPfAsBbZFZTk4 {\\\\n color: red;\\\\n}\\\\n\\\\n.XT7sj__0t_dqertebTCQ .bar .fQupafQhy82LZfYkj2Or {\\\\n color: white;\\\\n}\\\\n\\\\n.oazX1bnIu8C5pPc1zTa3 ._wgWBJ9KtBrOcItw9h1S ._1xJZB8WtmhFmILjW3Rj {\\\\n color: black;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._abc { +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"foo\\": \\"vMTmrSQeex_jSha5WBf_\\", - \\"foo-1\\": \\"_jZGcrtjxzVwhHf3TWSb\\", - \\"foo-2\\": \\"Kj5cNSGgf4iXvLYn6No_\\", - \\"foo-3\\": \\"jh3b1xCDLmAY6eymyAt_\\", - \\"foo-4\\": \\"Pfub7unrTg1ycP0dH1Np\\", - \\"foo-5\\": \\"AUPKdRDRa6hXeK0BG2pk\\", - \\"foo-6\\": \\"pWzFEVR2SnlD5kUmOw_N\\", - \\"foo-7\\": \\"qoyIi2Mg4Mb_ZSGUJ8vJ\\", - \\"foo-8\\": \\"K4O4KL_LvYNVK5BfgrpS\\", - \\"foo-9\\": \\"__XKNw5xPfAsBbZFZTk4\\", - \\"bar-1\\": \\"XT7sj__0t_dqertebTCQ\\", - \\"bar-2\\": \\"fQupafQhy82LZfYkj2Or\\", - \\"baz-3\\": \\"oazX1bnIu8C5pPc1zTa3\\", - \\"baz\\": \\"_wgWBJ9KtBrOcItw9h1S\\", - \\"bar-4\\": \\"_1xJZB8WtmhFmILjW3Rj\\" -}; +export var abc = \`_abc \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def1"]} \${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["def2"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with an empty object value: result 1`] = ` -Array [ - Array [ - "./modules/pure/pure.css", - ".vMTmrSQeex_jSha5WBf_ { - color: red; -} - -h1 ._jZGcrtjxzVwhHf3TWSb { - color: green; -} - -.Kj5cNSGgf4iXvLYn6No_ h1 { - color: blue; -} - -.jh3b1xCDLmAY6eymyAt_ h1 .Pfub7unrTg1ycP0dH1Np { - color: red; -} - -#AUPKdRDRa6hXeK0BG2pk { +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file1.css", + "._def1 { color: red; } - -h1 #pWzFEVR2SnlD5kUmOw_N { - color: green; -} - -#qoyIi2Mg4Mb_ZSGUJ8vJ h1 { +", + "", + ], + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file2.css", + "._def2 { color: blue; } - -#K4O4KL_LvYNVK5BfgrpS h1 #__XKNw5xPfAsBbZFZTk4 { - color: red; -} - -.XT7sj__0t_dqertebTCQ .bar .fQupafQhy82LZfYkj2Or { - color: white; -} - -.oazX1bnIu8C5pPc1zTa3 ._wgWBJ9KtBrOcItw9h1S ._1xJZB8WtmhFmILjW3Rj { - color: black; +", + "", + ], + [ + "./modules/tests-cases/composes-multiple/source.css", + "._abc { } ", "", @@ -5405,28 +14791,50 @@ h1 #pWzFEVR2SnlD5kUmOw_N { ] `; -exports[`"modules" option should work with an empty object value: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.css"; +import ___CSS_LOADER_ICSS_IMPORT_1___, * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.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, \\"a {\\\\n animation: slide-right 300ms forwards ease-out, fade-in 300ms forwards ease-out;\\\\n\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._abc { +} +\`, ""]); // Exports +export var abc = \`_abc \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def1"]} \${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["def2"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/animation/source.css", - "a { - animation: slide-right 300ms forwards ease-out, fade-in 300ms forwards ease-out; - +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file1.css", + "._def1 { + color: red; +} +", + "", + ], + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file2.css", + "._def2 { + color: blue; +} +", + "", + ], + [ + "./modules/tests-cases/composes-multiple/source.css", + "._abc { } ", "", @@ -5434,29 +14842,50 @@ Array [ ] `; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.css"; +import ___CSS_LOADER_ICSS_IMPORT_1___, * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.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, \\"a {\\\\n animation: slide-right 300ms forwards ease-out, fade-in 300ms forwards ease-out;\\\\n\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.lUk1HpO5NQ1fZ1QAotOO { +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = {}; +export var abc = \`lUk1HpO5NQ1fZ1QAotOO \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def1"]} \${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["def2"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/animation/source.css", - "a { - animation: slide-right 300ms forwards ease-out, fade-in 300ms forwards ease-out; - +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file1.css", + ".yEiBBwnNmLscmG7iHCZb { + color: red; +} +", + "", + ], + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file2.css", + ".osAv0sPkeYWkJLX2D9vt { + color: blue; +} +", + "", + ], + [ + "./modules/tests-cases/composes-multiple/source.css", + ".lUk1HpO5NQ1fZ1QAotOO { } ", "", @@ -5464,32 +14893,31 @@ Array [ ] `; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"a {\\\\n animation: YIHwbn0rGCGkC49fOQPV 300ms forwards ease-out, _iSvb_jkGTi1AHWkIzCw 300ms forwards ease-out;\\\\n\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`:local(.abc) { + composes: def from "./file.css"; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"slide-right\\": \\"YIHwbn0rGCGkC49fOQPV\\", - \\"fade-in\\": \\"_iSvb_jkGTi1AHWkIzCw\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/animation/source.css", - "a { - animation: YIHwbn0rGCGkC49fOQPV 300ms forwards ease-out, _iSvb_jkGTi1AHWkIzCw 300ms forwards ease-out; - +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/composes-with-importing/source.css", + ":local(.abc) { + composes: def from "./file.css"; } ", "", @@ -5497,29 +14925,40 @@ Array [ ] `; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file.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, \\"a {\\\\n animation: slide-right 300ms forwards ease-out, fade-in 300ms forwards ease-out;\\\\n\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.SJbUSFduLGJGLDwj1q1h { +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = {}; +export var abc = \`SJbUSFduLGJGLDwj1q1h \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/animation/source.css", - "a { - animation: slide-right 300ms forwards ease-out, fade-in 300ms forwards ease-out; - +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-with-importing/file.css", + ".aznU97bX_qTfB8U8nJGg { + color: red; +} +", + "", + ], + [ + "./modules/tests-cases/composes-with-importing/source.css", + ".SJbUSFduLGJGLDwj1q1h { } ", "", @@ -5527,32 +14966,40 @@ Array [ ] `; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file.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, \\"a {\\\\n animation: _slide-right 300ms forwards ease-out, _fade-in 300ms forwards ease-out;\\\\n\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.SJbUSFduLGJGLDwj1q1h { +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"slide-right\\": \\"_slide-right\\", - \\"fade-in\\": \\"_fade-in\\" -}; +export var abc = \`SJbUSFduLGJGLDwj1q1h \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/animation/source.css", - "a { - animation: _slide-right 300ms forwards ease-out, _fade-in 300ms forwards ease-out; - +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-with-importing/file.css", + ".aznU97bX_qTfB8U8nJGg { + color: red; +} +", + "", + ], + [ + "./modules/tests-cases/composes-with-importing/source.css", + ".SJbUSFduLGJGLDwj1q1h { } ", "", @@ -5560,32 +15007,40 @@ Array [ ] `; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file.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, \\"a {\\\\n animation: YIHwbn0rGCGkC49fOQPV 300ms forwards ease-out, _iSvb_jkGTi1AHWkIzCw 300ms forwards ease-out;\\\\n\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._abc { +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"slide-right\\": \\"YIHwbn0rGCGkC49fOQPV\\", - \\"fade-in\\": \\"_iSvb_jkGTi1AHWkIzCw\\" -}; +export var abc = \`_abc \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/animation/source.css", - "a { - animation: YIHwbn0rGCGkC49fOQPV 300ms forwards ease-out, _iSvb_jkGTi1AHWkIzCw 300ms forwards ease-out; - +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-with-importing/file.css", + "._def { + color: red; +} +", + "", + ], + [ + "./modules/tests-cases/composes-with-importing/source.css", + "._abc { } ", "", @@ -5593,27 +15048,40 @@ Array [ ] `; -exports[`"modules" option should work with case \`animation\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file.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, \\".class-1, .class-10 .bar-1 {\\\\n\\\\tcolor: green;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._abc { +} +\`, ""]); // Exports +export var abc = \`_abc \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/class-names/source.css", - ".class-1, .class-10 .bar-1 { - color: green; +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-with-importing/file.css", + "._def { + color: red; +} +", + "", + ], + [ + "./modules/tests-cases/composes-with-importing/source.css", + "._abc { } ", "", @@ -5621,28 +15089,40 @@ Array [ ] `; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file.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, \\".class-1, .class-10 .bar-1 {\\\\n\\\\tcolor: green;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.SJbUSFduLGJGLDwj1q1h { +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = {}; +export var abc = \`SJbUSFduLGJGLDwj1q1h \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/class-names/source.css", - ".class-1, .class-10 .bar-1 { - color: green; +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-with-importing/file.css", + ".aznU97bX_qTfB8U8nJGg { + color: red; +} +", + "", + ], + [ + "./modules/tests-cases/composes-with-importing/source.css", + ".SJbUSFduLGJGLDwj1q1h { } ", "", @@ -5650,32 +15130,35 @@ Array [ ] `; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".TjS46kJoj4ghQB5IyCwr, ._gw_E87ZNXf3uEPzX8My .GMf833B5wpL6e_nz_1LK {\\\\n\\\\tcolor: green;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@value blue: red; + +.a { + border: 1px solid blue; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"class-1\\": \\"TjS46kJoj4ghQB5IyCwr\\", - \\"class-10\\": \\"_gw_E87ZNXf3uEPzX8My\\", - \\"bar-1\\": \\"GMf833B5wpL6e_nz_1LK\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/class-names/source.css", - ".TjS46kJoj4ghQB5IyCwr, ._gw_E87ZNXf3uEPzX8My .GMf833B5wpL6e_nz_1LK { - color: green; +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/declaration-value/source.css", + "@value blue: red; + +.a { + border: 1px solid blue; } ", "", @@ -5683,28 +15166,32 @@ Array [ ] `; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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-1, .class-10 .bar-1 {\\\\n\\\\tcolor: green;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.a { + border: 1px solid red; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = {}; +export var blue = \`red\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/class-names/source.css", - ".class-1, .class-10 .bar-1 { - color: green; +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/declaration-value/source.css", + ".a { + border: 1px solid red; } ", "", @@ -5712,32 +15199,33 @@ Array [ ] `; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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-1, ._class-10 ._bar-1 {\\\\n\\\\tcolor: green;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.icLMv1y9UlfJKcdQNpUM { + border: 1px solid red; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"class-1\\": \\"_class-1\\", - \\"class-10\\": \\"_class-10\\", - \\"bar-1\\": \\"_bar-1\\" -}; +export var blue = \`red\`; +export var a = \`icLMv1y9UlfJKcdQNpUM\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/class-names/source.css", - "._class-1, ._class-10 ._bar-1 { - color: green; +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/declaration-value/source.css", + ".icLMv1y9UlfJKcdQNpUM { + border: 1px solid red; } ", "", @@ -5745,32 +15233,32 @@ Array [ ] `; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".TjS46kJoj4ghQB5IyCwr, ._gw_E87ZNXf3uEPzX8My .GMf833B5wpL6e_nz_1LK {\\\\n\\\\tcolor: green;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.a { + border: 1px solid red; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"class-1\\": \\"TjS46kJoj4ghQB5IyCwr\\", - \\"class-10\\": \\"_gw_E87ZNXf3uEPzX8My\\", - \\"bar-1\\": \\"GMf833B5wpL6e_nz_1LK\\" -}; +export var blue = \`red\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/class-names/source.css", - ".TjS46kJoj4ghQB5IyCwr, ._gw_E87ZNXf3uEPzX8My .GMf833B5wpL6e_nz_1LK { - color: green; +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/declaration-value/source.css", + ".a { + border: 1px solid red; } ", "", @@ -5778,1297 +15266,1444 @@ Array [ ] `; -exports[`"modules" option should work with case \`class-names\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\":local(.c1/*.c2*/.c3) { background: red; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._a { + border: 1px solid red; +} +\`, ""]); // Exports +export var blue = \`red\`; +export var a = \`_a\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/comment-in-local/source.css", - ":local(.c1/*.c2*/.c3) { background: red; } +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/declaration-value/source.css", + "._a { + border: 1px solid red; +} ", "", ], ] `; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".hZmKuJI8U_WSJNpwg4s6/*.c2*/._SaK6wVHhZG86YT40oKV { background: red; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.icLMv1y9UlfJKcdQNpUM { + border: 1px solid red; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"hZmKuJI8U_WSJNpwg4s6\\", - \\"c3\\": \\"_SaK6wVHhZG86YT40oKV\\" -}; +export var blue = \`red\`; +export var a = \`icLMv1y9UlfJKcdQNpUM\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/comment-in-local/source.css", - ".hZmKuJI8U_WSJNpwg4s6/*.c2*/._SaK6wVHhZG86YT40oKV { background: red; } +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/declaration-value/source.css", + ".icLMv1y9UlfJKcdQNpUM { + border: 1px solid red; +} ", "", ], ] `; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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("!!file-loader?esModule=false!./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, \\".hZmKuJI8U_WSJNpwg4s6/*.c2*/._SaK6wVHhZG86YT40oKV { background: red; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`body:before { + content: ''; + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"hZmKuJI8U_WSJNpwg4s6\\", - \\"c3\\": \\"_SaK6wVHhZG86YT40oKV\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/comment-in-local/source.css", - ".hZmKuJI8U_WSJNpwg4s6/*.c2*/._SaK6wVHhZG86YT40oKV { background: red; } +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/issue-589/source.css", + "body:before { + content: ''; + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/09a1a1112c577c2794359715edfcb5ac.png); +} ", "", ], ] `; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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("!!file-loader?esModule=false!./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, \\"._c1/*.c2*/._c3 { background: red; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`body:before { + content: ''; + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"_c1\\", - \\"c3\\": \\"_c3\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/comment-in-local/source.css", - "._c1/*.c2*/._c3 { background: red; } +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/issue-589/source.css", + "body:before { + content: ''; + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/09a1a1112c577c2794359715edfcb5ac.png); +} ", "", ], ] `; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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("!!file-loader?esModule=false!./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, \\"._c1/*.c2*/._c3 { background: red; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`body:before { + content: ''; + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"_c1\\", - \\"c3\\": \\"_c3\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/comment-in-local/source.css", - "._c1/*.c2*/._c3 { background: red; } +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/issue-589/source.css", + "body:before { + content: ''; + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/09a1a1112c577c2794359715edfcb5ac.png); +} ", "", ], ] `; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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("!!file-loader?esModule=false!./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, \\".hZmKuJI8U_WSJNpwg4s6/*.c2*/._SaK6wVHhZG86YT40oKV { background: red; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`body:before { + content: ''; + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"hZmKuJI8U_WSJNpwg4s6\\", - \\"c3\\": \\"_SaK6wVHhZG86YT40oKV\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/comment-in-local/source.css", - ".hZmKuJI8U_WSJNpwg4s6/*.c2*/._SaK6wVHhZG86YT40oKV { background: red; } +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/issue-589/source.css", + "body:before { + content: ''; + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/09a1a1112c577c2794359715edfcb5ac.png); +} ", "", ], ] `; -exports[`"modules" option should work with case \`comment-in-local\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -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___(function(i){return i[1]}); +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("!!file-loader?esModule=false!./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, \\"/*\\\\n * a ' above\\\\n */\\\\n\\\\n.bg {\\\\n background-image: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n}\\\\n\\\\n/*\\\\n * a ' below\\\\n */\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`body:before { + content: ''; + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); +} +\`, ""]); // Exports export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/comments/source.css", - "/* - * a ' above - */ - -.bg { - background-image: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/issue-589/source.css", + "body:before { + content: ''; + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/09a1a1112c577c2794359715edfcb5ac.png); } - -/* - * a ' below - */ ", "", ], ] `; -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -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___(function(i){return i[1]}); +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("!!file-loader?esModule=false!./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, \\"/*\\\\n * a ' above\\\\n */\\\\n\\\\n.bg {\\\\n background-image: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n}\\\\n\\\\n/*\\\\n * a ' below\\\\n */\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`body:before { + content: ''; + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = {}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/comments/source.css", - "/* - * a ' above - */ - -.bg { - background-image: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/issue-589/source.css", + "body:before { + content: ''; + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/09a1a1112c577c2794359715edfcb5ac.png); } - -/* - * a ' below - */ ", "", ], ] `; -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -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___(function(i){return i[1]}); -var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); +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, \\"/*\\\\n * a ' above\\\\n */\\\\n\\\\n.vhoFfQ6XS3UYa7GhUDsS {\\\\n background-image: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n}\\\\n\\\\n/*\\\\n * a ' below\\\\n */\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.a { + color: green; +} + +@keyframes bounce { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } +} + +@-webkit-keyframes bounce2 { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } +} + +.bounce { + animation-name: bounce; + animation: bounce2 1s ease; +} + +.bounce2 { + color: green; + animation: bounce 1s ease; + animation-name: bounce2; +} + +.bounce3 { + animation: bounce 1s ease, bounce2 +} + +.bounce4 { + animation: bounce 1s ease, bounce2; +} + +.b { + color: green; +} + +@-webkit-keyframes \\\\@bounce { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } + + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } +} + +@keyframes \\\\@bounce { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } + + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } +} + +.container { + -webkit-animation: \\\\@bounce 1s infinite; + animation: \\\\@bounce 1s infinite; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"bg\\": \\"vhoFfQ6XS3UYa7GhUDsS\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/comments/source.css", - "/* - * a ' above - */ +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/keyframes-and-animation/source.css", + ".a { + color: green; +} + +@keyframes bounce { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } +} + +@-webkit-keyframes bounce2 { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } +} + +.bounce { + animation-name: bounce; + animation: bounce2 1s ease; +} -.vhoFfQ6XS3UYa7GhUDsS { - background-image: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +.bounce2 { + color: green; + animation: bounce 1s ease; + animation-name: bounce2; } -/* - * a ' below - */ -", - "", - ], -] -`; +.bounce3 { + animation: bounce 1s ease, bounce2 +} + +.bounce4 { + animation: bounce 1s ease, bounce2; +} -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +.b { + color: green; +} -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +@-webkit-keyframes \\@bounce { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` -"// Imports -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___(function(i){return i[1]}); -var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"/*\\\\n * a ' above\\\\n */\\\\n\\\\n.bg {\\\\n background-image: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n}\\\\n\\\\n/*\\\\n * a ' below\\\\n */\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = {}; -export default ___CSS_LOADER_EXPORT___; -" -`; + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } +} -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/comments/source.css", - "/* - * a ' above - */ +@keyframes \\@bounce { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } -.bg { - background-image: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } } -/* - * a ' below - */ +.container { + -webkit-animation: \\@bounce 1s infinite; + animation: \\@bounce 1s infinite; +} ", "", ], ] `; -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -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___(function(i){return i[1]}); -var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); +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, \\"/*\\\\n * a ' above\\\\n */\\\\n\\\\n._bg {\\\\n background-image: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n}\\\\n\\\\n/*\\\\n * a ' below\\\\n */\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"bg\\": \\"_bg\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; - -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/comments/source.css", - "/* - * a ' above - */ +___CSS_LOADER_EXPORT___.push([module.id, \`.a { + color: green; +} -._bg { - background-image: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +@keyframes bounce { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } } -/* - * a ' below - */ -", - "", - ], -] -`; +@-webkit-keyframes bounce2 { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } +} -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +.bounce { + animation-name: bounce; + animation: bounce2 1s ease; +} -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +.bounce2 { + color: green; + animation: bounce 1s ease; + animation-name: bounce2; +} -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`true)\`: module 1`] = ` -"// Imports -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___(function(i){return i[1]}); -var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"/*\\\\n * a ' above\\\\n */\\\\n\\\\n.vhoFfQ6XS3UYa7GhUDsS {\\\\n background-image: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n}\\\\n\\\\n/*\\\\n * a ' below\\\\n */\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"bg\\": \\"vhoFfQ6XS3UYa7GhUDsS\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +.bounce3 { + animation: bounce 1s ease, bounce2 +} -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/comments/source.css", - "/* - * a ' above - */ +.bounce4 { + animation: bounce 1s ease, bounce2; +} -.vhoFfQ6XS3UYa7GhUDsS { - background-image: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +.b { + color: green; } -/* - * a ' below - */ -", - "", - ], -] -`; +@-webkit-keyframes \\\\@bounce { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } + + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } +} -exports[`"modules" option should work with case \`comments\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +@keyframes \\\\@bounce { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } +} -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`false)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\":local(.c1) { a: 1; }\\\\n:local(.c2) { composes: c1; b: 1; }\\\\n\\", \\"\\"]); +.container { + -webkit-animation: \\\\@bounce 1s infinite; + animation: \\\\@bounce 1s infinite; +} +\`, ""]); // Exports export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/composes/source.css", - ":local(.c1) { a: 1; } -:local(.c2) { composes: c1; b: 1; } -", - "", - ], -] -`; - -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/keyframes-and-animation/source.css", + ".a { + color: green; +} -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +@keyframes bounce { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } +} -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`global)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"._LbWeiSUyqmOJ0TDHRdb { a: 1; }\\\\n.tNon1QGyuHyU4xGmA4wm { b: 1; }\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"_LbWeiSUyqmOJ0TDHRdb\\", - \\"c2\\": \\"tNon1QGyuHyU4xGmA4wm _LbWeiSUyqmOJ0TDHRdb\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +@-webkit-keyframes bounce2 { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } +} -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/composes/source.css", - "._LbWeiSUyqmOJ0TDHRdb { a: 1; } -.tNon1QGyuHyU4xGmA4wm { b: 1; } -", - "", - ], -] -`; +.bounce { + animation-name: bounce; + animation: bounce2 1s ease; +} -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +.bounce2 { + color: green; + animation: bounce 1s ease; + animation-name: bounce2; +} -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +.bounce3 { + animation: bounce 1s ease, bounce2 +} -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`local)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"._LbWeiSUyqmOJ0TDHRdb { a: 1; }\\\\n.tNon1QGyuHyU4xGmA4wm { b: 1; }\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"_LbWeiSUyqmOJ0TDHRdb\\", - \\"c2\\": \\"tNon1QGyuHyU4xGmA4wm _LbWeiSUyqmOJ0TDHRdb\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +.bounce4 { + animation: bounce 1s ease, bounce2; +} -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/composes/source.css", - "._LbWeiSUyqmOJ0TDHRdb { a: 1; } -.tNon1QGyuHyU4xGmA4wm { b: 1; } -", - "", - ], -] -`; +.b { + color: green; +} -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +@-webkit-keyframes \\@bounce { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } +} -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"._c1 { a: 1; }\\\\n._c2 { b: 1; }\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"_c1\\", - \\"c2\\": \\"_c2 _c1\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +@keyframes \\@bounce { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/composes/source.css", - "._c1 { a: 1; } -._c2 { b: 1; } + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } +} + +.container { + -webkit-animation: \\@bounce 1s infinite; + animation: \\@bounce 1s infinite; +} ", "", ], ] `; -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"._c1 { a: 1; }\\\\n._c2 { b: 1; }\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"_c1\\", - \\"c2\\": \\"_c2 _c1\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +___CSS_LOADER_EXPORT___.push([module.id, \`.vbnAfVvDroZNdlAZSoos { + color: green; +} -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/composes/source.css", - "._c1 { a: 1; } -._c2 { b: 1; } -", - "", - ], -] -`; +@keyframes UoOoKaAgXjyeGpq6UeAE { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } +} -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +@-webkit-keyframes laDyXrGTqpWgSjWpVfsq { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } +} -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +.UoOoKaAgXjyeGpq6UeAE { + animation-name: UoOoKaAgXjyeGpq6UeAE; + animation: laDyXrGTqpWgSjWpVfsq 1s ease; +} -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`true)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"._LbWeiSUyqmOJ0TDHRdb { a: 1; }\\\\n.tNon1QGyuHyU4xGmA4wm { b: 1; }\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"_LbWeiSUyqmOJ0TDHRdb\\", - \\"c2\\": \\"tNon1QGyuHyU4xGmA4wm _LbWeiSUyqmOJ0TDHRdb\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +.laDyXrGTqpWgSjWpVfsq { + color: green; + animation: UoOoKaAgXjyeGpq6UeAE 1s ease; + animation-name: laDyXrGTqpWgSjWpVfsq; +} -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/composes/source.css", - "._LbWeiSUyqmOJ0TDHRdb { a: 1; } -.tNon1QGyuHyU4xGmA4wm { b: 1; } -", - "", - ], -] -`; +.TKT0JgE4RNGqNpibZQwi { + animation: UoOoKaAgXjyeGpq6UeAE 1s ease, laDyXrGTqpWgSjWpVfsq +} -exports[`"modules" option should work with case \`composes\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +.D79vyB123bYrLinvj46J { + animation: UoOoKaAgXjyeGpq6UeAE 1s ease, laDyXrGTqpWgSjWpVfsq; +} -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +.d9QlkrhUnCgqBozPqqcq { + color: green; +} -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`false)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\":local(.c1) { composes: c2 from \\\\\\"./file.css\\\\\\"; b: 1; }\\\\n:local(.c3) { composes: c1; b: 3; }\\\\n:local(.c5) { composes: c2 c4 from \\\\\\"./file.css\\\\\\"; b: 5; }\\\\n\\", \\"\\"]); -// Exports -export default ___CSS_LOADER_EXPORT___; -" -`; +@-webkit-keyframes y8xpMb2xhav4TZYNTfHq { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/composes-1/source.css", - ":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; } -", - "", - ], -] -`; + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } +} -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +@keyframes y8xpMb2xhav4TZYNTfHq { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } +} -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`global)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".nTPSJArp_WGW9W61GRJq { b: 1; }\\\\n._2gtWzXZiUHqYIC7QOnm { b: 3; }\\\\n.VIcn_HRv5ZfKVPindE06 { b: 5; }\\\\n\\", \\"\\"]); +.FEOgTA_LLfagujCY2tZA { + -webkit-animation: y8xpMb2xhav4TZYNTfHq 1s infinite; + animation: y8xpMb2xhav4TZYNTfHq 1s infinite; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"nTPSJArp_WGW9W61GRJq \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c2\\"] + \\"\\", - \\"c3\\": \\"_2gtWzXZiUHqYIC7QOnm nTPSJArp_WGW9W61GRJq \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c2\\"] + \\"\\", - \\"c5\\": \\"VIcn_HRv5ZfKVPindE06 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c2\\"] + \\" \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c4\\"] + \\"\\" -}; +export var a = \`vbnAfVvDroZNdlAZSoos\`; +export var bounce = \`UoOoKaAgXjyeGpq6UeAE\`; +export var bounce2 = \`laDyXrGTqpWgSjWpVfsq\`; +export var bounce3 = \`TKT0JgE4RNGqNpibZQwi\`; +export var bounce4 = \`D79vyB123bYrLinvj46J\`; +export var b = \`d9QlkrhUnCgqBozPqqcq\`; +export var container = \`FEOgTA_LLfagujCY2tZA\`; +var _1 = \`y8xpMb2xhav4TZYNTfHq\`; +export { _1 as "@bounce" }; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-1/file.css", - ".MDQo5B9J_sGKD7BBxmLT { - color: red; +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/keyframes-and-animation/source.css", + ".vbnAfVvDroZNdlAZSoos { + color: green; } -.UA6ck_lOYBD1mBMN5lkj { - color: blue; +@keyframes UoOoKaAgXjyeGpq6UeAE { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } } -.test{ - c: d +@-webkit-keyframes laDyXrGTqpWgSjWpVfsq { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } } -", - "", - ], - Array [ - "./modules/tests-cases/composes-1/source.css", - ".nTPSJArp_WGW9W61GRJq { b: 1; } -._2gtWzXZiUHqYIC7QOnm { b: 3; } -.VIcn_HRv5ZfKVPindE06 { b: 5; } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +.UoOoKaAgXjyeGpq6UeAE { + animation-name: UoOoKaAgXjyeGpq6UeAE; + animation: laDyXrGTqpWgSjWpVfsq 1s ease; +} -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +.laDyXrGTqpWgSjWpVfsq { + color: green; + animation: UoOoKaAgXjyeGpq6UeAE 1s ease; + animation-name: laDyXrGTqpWgSjWpVfsq; +} -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`local)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".nTPSJArp_WGW9W61GRJq { b: 1; }\\\\n._2gtWzXZiUHqYIC7QOnm { b: 3; }\\\\n.VIcn_HRv5ZfKVPindE06 { b: 5; }\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"nTPSJArp_WGW9W61GRJq \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c2\\"] + \\"\\", - \\"c3\\": \\"_2gtWzXZiUHqYIC7QOnm nTPSJArp_WGW9W61GRJq \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c2\\"] + \\"\\", - \\"c5\\": \\"VIcn_HRv5ZfKVPindE06 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c2\\"] + \\" \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c4\\"] + \\"\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +.TKT0JgE4RNGqNpibZQwi { + animation: UoOoKaAgXjyeGpq6UeAE 1s ease, laDyXrGTqpWgSjWpVfsq +} -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-1/file.css", - ".MDQo5B9J_sGKD7BBxmLT { - color: red; +.D79vyB123bYrLinvj46J { + animation: UoOoKaAgXjyeGpq6UeAE 1s ease, laDyXrGTqpWgSjWpVfsq; } -.UA6ck_lOYBD1mBMN5lkj { - color: blue; +.d9QlkrhUnCgqBozPqqcq { + color: green; } -._IMfoYTDsKfdpp77_bB4{ - c: d +@-webkit-keyframes y8xpMb2xhav4TZYNTfHq { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } + + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } +} + +@keyframes y8xpMb2xhav4TZYNTfHq { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } + + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } +} + +.FEOgTA_LLfagujCY2tZA { + -webkit-animation: y8xpMb2xhav4TZYNTfHq 1s infinite; + animation: y8xpMb2xhav4TZYNTfHq 1s infinite; } -", - "", - ], - Array [ - "./modules/tests-cases/composes-1/source.css", - ".nTPSJArp_WGW9W61GRJq { b: 1; } -._2gtWzXZiUHqYIC7QOnm { b: 3; } -.VIcn_HRv5ZfKVPindE06 { b: 5; } ", "", ], ] `; -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\"._c1 { b: 1; }\\\\n._c3 { b: 3; }\\\\n._c5 { b: 5; }\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"_c1 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c2\\"] + \\"\\", - \\"c3\\": \\"_c3 _c1 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c2\\"] + \\"\\", - \\"c5\\": \\"_c5 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c2\\"] + \\" \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c4\\"] + \\"\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; - -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-1/file.css", - "._c2 { - color: red; +___CSS_LOADER_EXPORT___.push([module.id, \`.a { + color: green; } -._c4 { - color: blue; +@keyframes bounce { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } } -.test{ - c: d +@-webkit-keyframes bounce2 { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } } -", - "", - ], - Array [ - "./modules/tests-cases/composes-1/source.css", - "._c1 { b: 1; } -._c3 { b: 3; } -._c5 { b: 5; } -", - "", - ], -] -`; - -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +.bounce { + animation-name: bounce; + animation: bounce2 1s ease; +} -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"._c1 { b: 1; }\\\\n._c3 { b: 3; }\\\\n._c5 { b: 5; }\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"_c1 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c2\\"] + \\"\\", - \\"c3\\": \\"_c3 _c1 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c2\\"] + \\"\\", - \\"c5\\": \\"_c5 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c2\\"] + \\" \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c4\\"] + \\"\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +.bounce2 { + color: green; + animation: bounce 1s ease; + animation-name: bounce2; +} -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-1/file.css", - "._c2 { - color: red; +.bounce3 { + animation: bounce 1s ease, bounce2 } -._c4 { - color: blue; +.bounce4 { + animation: bounce 1s ease, bounce2; } -._test{ - c: d +.b { + color: green; } -", - "", - ], - Array [ - "./modules/tests-cases/composes-1/source.css", - "._c1 { b: 1; } -._c3 { b: 3; } -._c5 { b: 5; } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +@-webkit-keyframes \\\\@bounce { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } +} -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`true)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".nTPSJArp_WGW9W61GRJq { b: 1; }\\\\n._2gtWzXZiUHqYIC7QOnm { b: 3; }\\\\n.VIcn_HRv5ZfKVPindE06 { b: 5; }\\\\n\\", \\"\\"]); +@keyframes \\\\@bounce { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } + + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } +} + +.container { + -webkit-animation: \\\\@bounce 1s infinite; + animation: \\\\@bounce 1s infinite; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"nTPSJArp_WGW9W61GRJq \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c2\\"] + \\"\\", - \\"c3\\": \\"_2gtWzXZiUHqYIC7QOnm nTPSJArp_WGW9W61GRJq \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c2\\"] + \\"\\", - \\"c5\\": \\"VIcn_HRv5ZfKVPindE06 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c2\\"] + \\" \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c4\\"] + \\"\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-1/file.css", - ".MDQo5B9J_sGKD7BBxmLT { - color: red; +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/keyframes-and-animation/source.css", + ".a { + color: green; } -.UA6ck_lOYBD1mBMN5lkj { - color: blue; +@keyframes bounce { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } } -._IMfoYTDsKfdpp77_bB4{ - c: d +@-webkit-keyframes bounce2 { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } } -", - "", - ], - Array [ - "./modules/tests-cases/composes-1/source.css", - ".nTPSJArp_WGW9W61GRJq { b: 1; } -._2gtWzXZiUHqYIC7QOnm { b: 3; } -.VIcn_HRv5ZfKVPindE06 { b: 5; } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`composes-1\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; - -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +.bounce { + animation-name: bounce; + animation: bounce2 1s ease; +} -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`false)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\":local(.c1) { composes: c-2 from \\\\\\"./file.css\\\\\\"; b: 1; }\\\\n:local(.c3) { composes: c1; b: 3; }\\\\n:local(.c5) { composes: c-2 c4 from \\\\\\"./file.css\\\\\\"; b: 5; }\\\\n\\", \\"\\"]); -// Exports -export default ___CSS_LOADER_EXPORT___; -" -`; +.bounce2 { + color: green; + animation: bounce 1s ease; + animation-name: bounce2; +} -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/composes-2/source.css", - ":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; } -", - "", - ], -] -`; +.bounce3 { + animation: bounce 1s ease, bounce2 +} -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +.bounce4 { + animation: bounce 1s ease, bounce2; +} -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +.b { + color: green; +} -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`global)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".vqVxoInWhY4zu_IsPN4n { b: 1; }\\\\n.dgMQueHQzWgnnlvD9rNA { b: 3; }\\\\n.JdAnZVeexp19kU7ML8_J { b: 5; }\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"vqVxoInWhY4zu_IsPN4n \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c-2\\"] + \\"\\", - \\"c3\\": \\"dgMQueHQzWgnnlvD9rNA vqVxoInWhY4zu_IsPN4n \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c-2\\"] + \\"\\", - \\"c5\\": \\"JdAnZVeexp19kU7ML8_J \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c-2\\"] + \\" \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c4\\"] + \\"\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +@-webkit-keyframes \\@bounce { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-2/file.css", - "._1qJ5vyKTRV_JWIWm6UT { - color: red; + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } } -.gJz7Pvk1fzk2F5gmQ_xJ { - color: blue; +@keyframes \\@bounce { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } + + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } } -.test{ - c: d +.container { + -webkit-animation: \\@bounce 1s infinite; + animation: \\@bounce 1s infinite; } -", - "", - ], - Array [ - "./modules/tests-cases/composes-2/source.css", - ".vqVxoInWhY4zu_IsPN4n { b: 1; } -.dgMQueHQzWgnnlvD9rNA { b: 3; } -.JdAnZVeexp19kU7ML8_J { b: 5; } ", "", ], ] `; -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\".vqVxoInWhY4zu_IsPN4n { b: 1; }\\\\n.dgMQueHQzWgnnlvD9rNA { b: 3; }\\\\n.JdAnZVeexp19kU7ML8_J { b: 5; }\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"vqVxoInWhY4zu_IsPN4n \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c-2\\"] + \\"\\", - \\"c3\\": \\"dgMQueHQzWgnnlvD9rNA vqVxoInWhY4zu_IsPN4n \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c-2\\"] + \\"\\", - \\"c5\\": \\"JdAnZVeexp19kU7ML8_J \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c-2\\"] + \\" \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c4\\"] + \\"\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +___CSS_LOADER_EXPORT___.push([module.id, \`._a { + color: green; +} -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-2/file.css", - "._1qJ5vyKTRV_JWIWm6UT { - color: red; +@keyframes _bounce { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } } -.gJz7Pvk1fzk2F5gmQ_xJ { - color: blue; +@-webkit-keyframes _bounce2 { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } } -.RQcnkkDd1FuND7MqE31i{ - c: d +._bounce { + animation-name: _bounce; + animation: _bounce2 1s ease; +} + +._bounce2 { + color: green; + animation: _bounce 1s ease; + animation-name: _bounce2; +} + +._bounce3 { + animation: _bounce 1s ease, _bounce2 +} + +._bounce4 { + animation: _bounce 1s ease, _bounce2; } -", - "", - ], - Array [ - "./modules/tests-cases/composes-2/source.css", - ".vqVxoInWhY4zu_IsPN4n { b: 1; } -.dgMQueHQzWgnnlvD9rNA { b: 3; } -.JdAnZVeexp19kU7ML8_J { b: 5; } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +._b { + color: green; +} -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +@-webkit-keyframes _\\\\@bounce { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"._c1 { b: 1; }\\\\n._c3 { b: 3; }\\\\n._c5 { b: 5; }\\\\n\\", \\"\\"]); + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } +} + +@keyframes _\\\\@bounce { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } + + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } +} + +._container { + -webkit-animation: _\\\\@bounce 1s infinite; + animation: _\\\\@bounce 1s infinite; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"_c1 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c-2\\"] + \\"\\", - \\"c3\\": \\"_c3 _c1 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c-2\\"] + \\"\\", - \\"c5\\": \\"_c5 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c-2\\"] + \\" \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c4\\"] + \\"\\" -}; +export var a = \`_a\`; +export var bounce = \`_bounce\`; +export var bounce2 = \`_bounce2\`; +export var bounce3 = \`_bounce3\`; +export var bounce4 = \`_bounce4\`; +export var b = \`_b\`; +export var container = \`_container\`; +var _1 = \`_@bounce\`; +export { _1 as "@bounce" }; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-2/file.css", - "._c-2 { - color: red; +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/keyframes-and-animation/source.css", + "._a { + color: green; } -._c4 { - color: blue; +@keyframes _bounce { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } } -.test{ - c: d +@-webkit-keyframes _bounce2 { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } } -", - "", - ], - Array [ - "./modules/tests-cases/composes-2/source.css", - "._c1 { b: 1; } -._c3 { b: 3; } -._c5 { b: 5; } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +._bounce { + animation-name: _bounce; + animation: _bounce2 1s ease; +} -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +._bounce2 { + color: green; + animation: _bounce 1s ease; + animation-name: _bounce2; +} -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"._c1 { b: 1; }\\\\n._c3 { b: 3; }\\\\n._c5 { b: 5; }\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"_c1 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c-2\\"] + \\"\\", - \\"c3\\": \\"_c3 _c1 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c-2\\"] + \\"\\", - \\"c5\\": \\"_c5 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c-2\\"] + \\" \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c4\\"] + \\"\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +._bounce3 { + animation: _bounce 1s ease, _bounce2 +} + +._bounce4 { + animation: _bounce 1s ease, _bounce2; +} + +._b { + color: green; +} -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-2/file.css", - "._c-2 { - color: red; +@-webkit-keyframes _\\@bounce { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } + + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } } -._c4 { - color: blue; +@keyframes _\\@bounce { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } + + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } } -._test{ - c: d +._container { + -webkit-animation: _\\@bounce 1s infinite; + animation: _\\@bounce 1s infinite; } -", - "", - ], - Array [ - "./modules/tests-cases/composes-2/source.css", - "._c1 { b: 1; } -._c3 { b: 3; } -._c5 { b: 5; } ", "", ], ] `; -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\".vqVxoInWhY4zu_IsPN4n { b: 1; }\\\\n.dgMQueHQzWgnnlvD9rNA { b: 3; }\\\\n.JdAnZVeexp19kU7ML8_J { b: 5; }\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"vqVxoInWhY4zu_IsPN4n \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c-2\\"] + \\"\\", - \\"c3\\": \\"dgMQueHQzWgnnlvD9rNA vqVxoInWhY4zu_IsPN4n \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c-2\\"] + \\"\\", - \\"c5\\": \\"JdAnZVeexp19kU7ML8_J \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c-2\\"] + \\" \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"c4\\"] + \\"\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +___CSS_LOADER_EXPORT___.push([module.id, \`.vbnAfVvDroZNdlAZSoos { + color: green; +} -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-2/file.css", - "._1qJ5vyKTRV_JWIWm6UT { - color: red; +@keyframes UoOoKaAgXjyeGpq6UeAE { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } } -.gJz7Pvk1fzk2F5gmQ_xJ { - color: blue; +@-webkit-keyframes laDyXrGTqpWgSjWpVfsq { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } } -.RQcnkkDd1FuND7MqE31i{ - c: d +.UoOoKaAgXjyeGpq6UeAE { + animation-name: UoOoKaAgXjyeGpq6UeAE; + animation: laDyXrGTqpWgSjWpVfsq 1s ease; +} + +.laDyXrGTqpWgSjWpVfsq { + color: green; + animation: UoOoKaAgXjyeGpq6UeAE 1s ease; + animation-name: laDyXrGTqpWgSjWpVfsq; } -", - "", - ], - Array [ - "./modules/tests-cases/composes-2/source.css", - ".vqVxoInWhY4zu_IsPN4n { b: 1; } -.dgMQueHQzWgnnlvD9rNA { b: 3; } -.JdAnZVeexp19kU7ML8_J { b: 5; } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`composes-2\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +.TKT0JgE4RNGqNpibZQwi { + animation: UoOoKaAgXjyeGpq6UeAE 1s ease, laDyXrGTqpWgSjWpVfsq +} -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +.D79vyB123bYrLinvj46J { + animation: UoOoKaAgXjyeGpq6UeAE 1s ease, laDyXrGTqpWgSjWpVfsq; +} -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`false)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\":local(.abc) {\\\\n composes: def1 from \\\\\\"./file1.css\\\\\\";\\\\n composes: def2 from \\\\\\"./file2.css\\\\\\";\\\\n}\\\\n\\", \\"\\"]); -// Exports -export default ___CSS_LOADER_EXPORT___; -" -`; +.d9QlkrhUnCgqBozPqqcq { + color: green; +} -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/composes-multiple/source.css", - ":local(.abc) { - composes: def1 from \\"./file1.css\\"; - composes: def2 from \\"./file2.css\\"; +@-webkit-keyframes y8xpMb2xhav4TZYNTfHq { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } + + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +@keyframes y8xpMb2xhav4TZYNTfHq { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } +} -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`global)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_1___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___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, \\".TiQPmy8zFsKKk6R1fy1J {\\\\n}\\\\n\\", \\"\\"]); +.FEOgTA_LLfagujCY2tZA { + -webkit-animation: y8xpMb2xhav4TZYNTfHq 1s infinite; + animation: y8xpMb2xhav4TZYNTfHq 1s infinite; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"abc\\": \\"TiQPmy8zFsKKk6R1fy1J \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def1\\"] + \\" \\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"def2\\"] + \\"\\" -}; +export var a = \`vbnAfVvDroZNdlAZSoos\`; +export var bounce = \`UoOoKaAgXjyeGpq6UeAE\`; +export var bounce2 = \`laDyXrGTqpWgSjWpVfsq\`; +export var bounce3 = \`TKT0JgE4RNGqNpibZQwi\`; +export var bounce4 = \`D79vyB123bYrLinvj46J\`; +export var b = \`d9QlkrhUnCgqBozPqqcq\`; +export var container = \`FEOgTA_LLfagujCY2tZA\`; +var _1 = \`y8xpMb2xhav4TZYNTfHq\`; +export { _1 as "@bounce" }; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file1.css", - ".Qs8d84UH7_xtrNtUCJN_ { - color: red; +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/keyframes-and-animation/source.css", + ".vbnAfVvDroZNdlAZSoos { + color: green; } -", - "", - ], - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file2.css", - "._Szwoc_____etT5IWEWb { - color: blue; + +@keyframes UoOoKaAgXjyeGpq6UeAE { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } } -", - "", - ], - Array [ - "./modules/tests-cases/composes-multiple/source.css", - ".TiQPmy8zFsKKk6R1fy1J { + +@-webkit-keyframes laDyXrGTqpWgSjWpVfsq { + 0% { + transform: translateY(-100%); + opacity: 0; + } + 5% { + transform: translateY(-100%); + opacity: 0; + } } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +.UoOoKaAgXjyeGpq6UeAE { + animation-name: UoOoKaAgXjyeGpq6UeAE; + animation: laDyXrGTqpWgSjWpVfsq 1s ease; +} -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +.laDyXrGTqpWgSjWpVfsq { + color: green; + animation: UoOoKaAgXjyeGpq6UeAE 1s ease; + animation-name: laDyXrGTqpWgSjWpVfsq; +} -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`local)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_1___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___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, \\".TiQPmy8zFsKKk6R1fy1J {\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"abc\\": \\"TiQPmy8zFsKKk6R1fy1J \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def1\\"] + \\" \\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"def2\\"] + \\"\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +.TKT0JgE4RNGqNpibZQwi { + animation: UoOoKaAgXjyeGpq6UeAE 1s ease, laDyXrGTqpWgSjWpVfsq +} -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file1.css", - ".Qs8d84UH7_xtrNtUCJN_ { - color: red; +.D79vyB123bYrLinvj46J { + animation: UoOoKaAgXjyeGpq6UeAE 1s ease, laDyXrGTqpWgSjWpVfsq; } -", - "", - ], - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file2.css", - "._Szwoc_____etT5IWEWb { - color: blue; + +.d9QlkrhUnCgqBozPqqcq { + color: green; } -", - "", - ], - Array [ - "./modules/tests-cases/composes-multiple/source.css", - ".TiQPmy8zFsKKk6R1fy1J { + +@-webkit-keyframes y8xpMb2xhav4TZYNTfHq { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } + + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } +} + +@keyframes y8xpMb2xhav4TZYNTfHq { + 0%, 100% { + transform: translateY(-25%); + -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1); + animation-timing-function: cubic-bezier(0.8,0,1,1); + } + + 50% { + transform: none; + -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1); + animation-timing-function: cubic-bezier(0,0,0.2,1); + } +} + +.FEOgTA_LLfagujCY2tZA { + -webkit-animation: y8xpMb2xhav4TZYNTfHq 1s infinite; + animation: y8xpMb2xhav4TZYNTfHq 1s infinite; } ", "", @@ -7076,149 +16711,99 @@ Array [ ] `; -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_1___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_1___, \\"\\", true); +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, \\"._abc {\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"abc\\": \\"_abc \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def1\\"] + \\" \\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"def2\\"] + \\"\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +___CSS_LOADER_EXPORT___.push([module.id, \`.a { + color: green; + animation: a; +} -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file1.css", - "._def1 { - color: red; +@keyframes b { + 0% { left: 10px; } + 100% { left: 20px; } } -", - "", - ], - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file2.css", - "._def2 { - color: blue; + +.b { + animation: b; } -", - "", - ], - Array [ - "./modules/tests-cases/composes-multiple/source.css", - "._abc { + +@keyframes :global(c) { + 0% { left: 10px; } + 100% { left: 20px; } } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +.c { + animation: c1; + animation: c2, c3, c4; +} -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +@keyframes :global(d) { + 0% { left: 10px; } + 100% { left: 20px; } +} -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_1___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___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, \\"._abc {\\\\n}\\\\n\\", \\"\\"]); +:global .d1 { + animation: d1; + animation: d2, d3, d4; +} + +:global(.d2) { + animation: d2; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"abc\\": \\"_abc \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def1\\"] + \\" \\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"def2\\"] + \\"\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file1.css", - "._def1 { - color: red; -} -", - "", - ], - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file2.css", - "._def2 { - color: blue; +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/leak-scope/source.css", + ".a { + color: green; + animation: a; } -", - "", - ], - Array [ - "./modules/tests-cases/composes-multiple/source.css", - "._abc { + +@keyframes b { + 0% { left: 10px; } + 100% { left: 20px; } } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +.b { + animation: b; +} -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +@keyframes :global(c) { + 0% { left: 10px; } + 100% { left: 20px; } +} -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`true)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_1___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___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, \\".TiQPmy8zFsKKk6R1fy1J {\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"abc\\": \\"TiQPmy8zFsKKk6R1fy1J \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def1\\"] + \\" \\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"def2\\"] + \\"\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +.c { + animation: c1; + animation: c2, c3, c4; +} -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file1.css", - ".Qs8d84UH7_xtrNtUCJN_ { - color: red; +@keyframes :global(d) { + 0% { left: 10px; } + 100% { left: 20px; } } -", - "", - ], - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-multiple/file2.css", - "._Szwoc_____etT5IWEWb { - color: blue; + +:global .d1 { + animation: d1; + animation: d2, d3, d4; } -", - "", - ], - Array [ - "./modules/tests-cases/composes-multiple/source.css", - ".TiQPmy8zFsKKk6R1fy1J { + +:global(.d2) { + animation: d2; } ", "", @@ -7226,107 +16811,99 @@ Array [ ] `; -exports[`"modules" option should work with case \`composes-multiple\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\":local(.abc) {\\\\n composes: def from \\\\\\"./file.css\\\\\\";\\\\n}\\\\n\\", \\"\\"]); -// Exports -export default ___CSS_LOADER_EXPORT___; -" -`; +___CSS_LOADER_EXPORT___.push([module.id, \`.a { + color: green; + animation: a; +} -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/composes-with-importing/source.css", - ":local(.abc) { - composes: def from \\"./file.css\\"; +@keyframes b { + 0% { left: 10px; } + 100% { left: 20px; } } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +.b { + animation: b; +} -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +@keyframes c { + 0% { left: 10px; } + 100% { left: 20px; } +} -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`global)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"._0c4maWdPHSMhUGRkZYs {\\\\n}\\\\n\\", \\"\\"]); +.c { + animation: c1; + animation: c2, c3, c4; +} + +@keyframes d { + 0% { left: 10px; } + 100% { left: 20px; } +} + +.d1 { + animation: d1; + animation: d2, d3, d4; +} + +.d2 { + animation: d2; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"abc\\": \\"_0c4maWdPHSMhUGRkZYs \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-with-importing/file.css", - "._FxL4owuN8yM0NipgzVj { - color: red; +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/leak-scope/source.css", + ".a { + color: green; + animation: a; } -", - "", - ], - Array [ - "./modules/tests-cases/composes-with-importing/source.css", - "._0c4maWdPHSMhUGRkZYs { + +@keyframes b { + 0% { left: 10px; } + 100% { left: 20px; } } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +.b { + animation: b; +} -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +@keyframes c { + 0% { left: 10px; } + 100% { left: 20px; } +} -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`local)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"._0c4maWdPHSMhUGRkZYs {\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"abc\\": \\"_0c4maWdPHSMhUGRkZYs \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +.c { + animation: c1; + animation: c2, c3, c4; +} -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-with-importing/file.css", - "._FxL4owuN8yM0NipgzVj { - color: red; +@keyframes d { + 0% { left: 10px; } + 100% { left: 20px; } } -", - "", - ], - Array [ - "./modules/tests-cases/composes-with-importing/source.css", - "._0c4maWdPHSMhUGRkZYs { + +.d1 { + animation: d1; + animation: d2, d3, d4; +} + +.d2 { + animation: d2; } ", "", @@ -7334,119 +16911,107 @@ Array [ ] `; -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\"._abc {\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"abc\\": \\"_abc \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +___CSS_LOADER_EXPORT___.push([module.id, \`.LJMgl9DyHYPdf4TuWaEh { + color: green; + animation: LJMgl9DyHYPdf4TuWaEh; +} -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-with-importing/file.css", - "._def { - color: red; +@keyframes sweXdnVwHpOwZatb7WQL { + 0% { left: 10px; } + 100% { left: 20px; } } -", - "", - ], - Array [ - "./modules/tests-cases/composes-with-importing/source.css", - "._abc { + +.sweXdnVwHpOwZatb7WQL { + animation: sweXdnVwHpOwZatb7WQL; } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +@keyframes c { + 0% { left: 10px; } + 100% { left: 20px; } +} -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +.RaLgWKgijFkkQD5uNzWP { + animation: m7eg7ETyTRjJnXe7WSUQ; + animation: RfaEqzWN0xjmyjmfKifu, r2DZk27GrpPvZPHNcx_q, juuPxlO2HQZ7tYA1OJVU; +} -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"._abc {\\\\n}\\\\n\\", \\"\\"]); +@keyframes d { + 0% { left: 10px; } + 100% { left: 20px; } +} + +.d1 { + animation: d1; + animation: d2, d3, d4; +} + +.d2 { + animation: fh_kOQCEqj8d0N3qPQk6; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"abc\\": \\"_abc \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"\\" -}; +export var a = \`LJMgl9DyHYPdf4TuWaEh\`; +export var b = \`sweXdnVwHpOwZatb7WQL\`; +export var c = \`RaLgWKgijFkkQD5uNzWP\`; +export var c1 = \`m7eg7ETyTRjJnXe7WSUQ\`; +export var c2 = \`RfaEqzWN0xjmyjmfKifu\`; +export var c3 = \`r2DZk27GrpPvZPHNcx_q\`; +export var c4 = \`juuPxlO2HQZ7tYA1OJVU\`; +export var d2 = \`fh_kOQCEqj8d0N3qPQk6\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-with-importing/file.css", - "._def { - color: red; +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/leak-scope/source.css", + ".LJMgl9DyHYPdf4TuWaEh { + color: green; + animation: LJMgl9DyHYPdf4TuWaEh; } -", - "", - ], - Array [ - "./modules/tests-cases/composes-with-importing/source.css", - "._abc { + +@keyframes sweXdnVwHpOwZatb7WQL { + 0% { left: 10px; } + 100% { left: 20px; } } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +.sweXdnVwHpOwZatb7WQL { + animation: sweXdnVwHpOwZatb7WQL; +} -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +@keyframes c { + 0% { left: 10px; } + 100% { left: 20px; } +} -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`true)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"._0c4maWdPHSMhUGRkZYs {\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"abc\\": \\"_0c4maWdPHSMhUGRkZYs \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +.RaLgWKgijFkkQD5uNzWP { + animation: m7eg7ETyTRjJnXe7WSUQ; + animation: RfaEqzWN0xjmyjmfKifu, r2DZk27GrpPvZPHNcx_q, juuPxlO2HQZ7tYA1OJVU; +} -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/composes-with-importing/file.css", - "._FxL4owuN8yM0NipgzVj { - color: red; +@keyframes d { + 0% { left: 10px; } + 100% { left: 20px; } } -", - "", - ], - Array [ - "./modules/tests-cases/composes-with-importing/source.css", - "._0c4maWdPHSMhUGRkZYs { + +.d1 { + animation: d1; + animation: d2, d3, d4; +} + +.d2 { + animation: fh_kOQCEqj8d0N3qPQk6; } ", "", @@ -7454,92 +17019,99 @@ Array [ ] `; -exports[`"modules" option should work with case \`composes-with-importing\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"@value blue: red;\\\\n\\\\n.a {\\\\n border: 1px solid blue;\\\\n}\\\\n\\", \\"\\"]); -// Exports -export default ___CSS_LOADER_EXPORT___; -" -`; +___CSS_LOADER_EXPORT___.push([module.id, \`.a { + color: green; + animation: a; +} -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/declaration-value/source.css", - "@value blue: red; +@keyframes b { + 0% { left: 10px; } + 100% { left: 20px; } +} -.a { - border: 1px solid blue; +.b { + animation: b; +} + +@keyframes c { + 0% { left: 10px; } + 100% { left: 20px; } } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +.c { + animation: c1; + animation: c2, c3, c4; +} -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +@keyframes d { + 0% { left: 10px; } + 100% { left: 20px; } +} -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`global)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".a {\\\\n border: 1px solid red;\\\\n}\\\\n\\", \\"\\"]); +.d1 { + animation: d1; + animation: d2, d3, d4; +} + +.d2 { + animation: d2; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"blue\\": \\"red\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/declaration-value/source.css", +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/leak-scope/source.css", ".a { - border: 1px solid red; + color: green; + animation: a; } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +@keyframes b { + 0% { left: 10px; } + 100% { left: 20px; } +} -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +.b { + animation: b; +} -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`local)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".jcDlMGy9cCaS6l62IME4 {\\\\n border: 1px solid red;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"blue\\": \\"red\\", - \\"a\\": \\"jcDlMGy9cCaS6l62IME4\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +@keyframes c { + 0% { left: 10px; } + 100% { left: 20px; } +} -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/declaration-value/source.css", - ".jcDlMGy9cCaS6l62IME4 { - border: 1px solid red; +.c { + animation: c1; + animation: c2, c3, c4; +} + +@keyframes d { + 0% { left: 10px; } + 100% { left: 20px; } +} + +.d1 { + animation: d1; + animation: d2, d3, d4; +} + +.d2 { + animation: d2; } ", "", @@ -7547,126 +17119,107 @@ Array [ ] `; -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".a {\\\\n border: 1px solid red;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"blue\\": \\"red\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +___CSS_LOADER_EXPORT___.push([module.id, \`._a { + color: green; + animation: _a; +} -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/declaration-value/source.css", - ".a { - border: 1px solid red; +@keyframes _b { + 0% { left: 10px; } + 100% { left: 20px; } +} + +._b { + animation: _b; } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +@keyframes c { + 0% { left: 10px; } + 100% { left: 20px; } +} -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +._c { + animation: _c1; + animation: _c2, _c3, _c4; +} -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"._a {\\\\n border: 1px solid red;\\\\n}\\\\n\\", \\"\\"]); +@keyframes d { + 0% { left: 10px; } + 100% { left: 20px; } +} + +.d1 { + animation: d1; + animation: d2, d3, d4; +} + +.d2 { + animation: _d2; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"blue\\": \\"red\\", - \\"a\\": \\"_a\\" -}; +export var a = \`_a\`; +export var b = \`_b\`; +export var c = \`_c\`; +export var c1 = \`_c1\`; +export var c2 = \`_c2\`; +export var c3 = \`_c3\`; +export var c4 = \`_c4\`; +export var d2 = \`_d2\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/declaration-value/source.css", +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/leak-scope/source.css", "._a { - border: 1px solid red; + color: green; + animation: _a; } -", - "", - ], -] -`; - -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +@keyframes _b { + 0% { left: 10px; } + 100% { left: 20px; } +} -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`true)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".jcDlMGy9cCaS6l62IME4 {\\\\n border: 1px solid red;\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"blue\\": \\"red\\", - \\"a\\": \\"jcDlMGy9cCaS6l62IME4\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +._b { + animation: _b; +} -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/declaration-value/source.css", - ".jcDlMGy9cCaS6l62IME4 { - border: 1px solid red; +@keyframes c { + 0% { left: 10px; } + 100% { left: 20px; } } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`declaration-value\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +._c { + animation: _c1; + animation: _c2, _c3, _c4; +} -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +@keyframes d { + 0% { left: 10px; } + 100% { left: 20px; } +} -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`false)\`: module 1`] = ` -"// Imports -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(\\"!!file-loader?esModule=false!./img.png\\", import.meta.url); -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"body:before {\\\\n content: '';\\\\n background: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n}\\\\n\\", \\"\\"]); -// Exports -export default ___CSS_LOADER_EXPORT___; -" -`; +.d1 { + animation: d1; + animation: d2, d3, d4; +} -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/issue-589/source.css", - "body:before { - content: ''; - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +.d2 { + animation: _d2; } ", "", @@ -7674,98 +17227,107 @@ Array [ ] `; -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -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(\\"!!file-loader?esModule=false!./img.png\\", import.meta.url); -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); +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:before {\\\\n content: '';\\\\n background: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = {}; -export default ___CSS_LOADER_EXPORT___; -" -`; +___CSS_LOADER_EXPORT___.push([module.id, \`.LJMgl9DyHYPdf4TuWaEh { + color: green; + animation: LJMgl9DyHYPdf4TuWaEh; +} -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/issue-589/source.css", - "body:before { - content: ''; - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +@keyframes sweXdnVwHpOwZatb7WQL { + 0% { left: 10px; } + 100% { left: 20px; } +} + +.sweXdnVwHpOwZatb7WQL { + animation: sweXdnVwHpOwZatb7WQL; +} + +@keyframes c { + 0% { left: 10px; } + 100% { left: 20px; } +} + +.RaLgWKgijFkkQD5uNzWP { + animation: m7eg7ETyTRjJnXe7WSUQ; + animation: RfaEqzWN0xjmyjmfKifu, r2DZk27GrpPvZPHNcx_q, juuPxlO2HQZ7tYA1OJVU; } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +@keyframes d { + 0% { left: 10px; } + 100% { left: 20px; } +} -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +.d1 { + animation: d1; + animation: d2, d3, d4; +} -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`local)\`: module 1`] = ` -"// Imports -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(\\"!!file-loader?esModule=false!./img.png\\", import.meta.url); -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"body:before {\\\\n content: '';\\\\n background: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n}\\\\n\\", \\"\\"]); +.d2 { + animation: fh_kOQCEqj8d0N3qPQk6; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = {}; +export var a = \`LJMgl9DyHYPdf4TuWaEh\`; +export var b = \`sweXdnVwHpOwZatb7WQL\`; +export var c = \`RaLgWKgijFkkQD5uNzWP\`; +export var c1 = \`m7eg7ETyTRjJnXe7WSUQ\`; +export var c2 = \`RfaEqzWN0xjmyjmfKifu\`; +export var c3 = \`r2DZk27GrpPvZPHNcx_q\`; +export var c4 = \`juuPxlO2HQZ7tYA1OJVU\`; +export var d2 = \`fh_kOQCEqj8d0N3qPQk6\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/issue-589/source.css", - "body:before { - content: ''; - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/leak-scope/source.css", + ".LJMgl9DyHYPdf4TuWaEh { + color: green; + animation: LJMgl9DyHYPdf4TuWaEh; } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +@keyframes sweXdnVwHpOwZatb7WQL { + 0% { left: 10px; } + 100% { left: 20px; } +} -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +.sweXdnVwHpOwZatb7WQL { + animation: sweXdnVwHpOwZatb7WQL; +} -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` -"// Imports -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(\\"!!file-loader?esModule=false!./img.png\\", import.meta.url); -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"body:before {\\\\n content: '';\\\\n background: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = {}; -export default ___CSS_LOADER_EXPORT___; -" -`; +@keyframes c { + 0% { left: 10px; } + 100% { left: 20px; } +} -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/issue-589/source.css", - "body:before { - content: ''; - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +.RaLgWKgijFkkQD5uNzWP { + animation: m7eg7ETyTRjJnXe7WSUQ; + animation: RfaEqzWN0xjmyjmfKifu, r2DZk27GrpPvZPHNcx_q, juuPxlO2HQZ7tYA1OJVU; +} + +@keyframes d { + 0% { left: 10px; } + 100% { left: 20px; } +} + +.d1 { + animation: d1; + animation: d2, d3, d4; +} + +.d2 { + animation: fh_kOQCEqj8d0N3qPQk6; } ", "", @@ -7773,32 +17335,39 @@ Array [ ] `; -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -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(\\"!!file-loader?esModule=false!./img.png\\", import.meta.url); -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); +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:before {\\\\n content: '';\\\\n background: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.abc :local(.def) { + color: red; +} + +:local .ghi .jkl { + color: blue; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = {}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/issue-589/source.css", - "body:before { - content: ''; - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local/source.css", + ".abc :local(.def) { + color: red; +} + +:local .ghi .jkl { + color: blue; } ", "", @@ -7806,32 +17375,42 @@ Array [ ] `; -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -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(\\"!!file-loader?esModule=false!./img.png\\", import.meta.url); -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); +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:before {\\\\n content: '';\\\\n background: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.abc .vcjMmLDjQoheuo3iKNVq { + color: red; +} + +.MYhjYB7o8ivNsNDLAOhX .xw5pDaTSZyFc0_NgQcy_ { + color: blue; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = {}; +export var def = \`vcjMmLDjQoheuo3iKNVq\`; +export var ghi = \`MYhjYB7o8ivNsNDLAOhX\`; +export var jkl = \`xw5pDaTSZyFc0_NgQcy_\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/issue-589/source.css", - "body:before { - content: ''; - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local/source.css", + ".abc .vcjMmLDjQoheuo3iKNVq { + color: red; +} + +.MYhjYB7o8ivNsNDLAOhX .xw5pDaTSZyFc0_NgQcy_ { + color: blue; } ", "", @@ -7839,72 +17418,43 @@ Array [ ] `; -exports[`"modules" option should work with case \`issue-589\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".a {\\\\n\\\\tcolor: green;\\\\n}\\\\n\\\\n@keyframes bounce {\\\\n\\\\t0% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n\\\\t5% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n}\\\\n\\\\n@-webkit-keyframes bounce2 {\\\\n\\\\t0% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n\\\\t5% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n}\\\\n\\\\n.bounce {\\\\n\\\\tanimation-name: bounce;\\\\n\\\\tanimation: bounce2 1s ease;\\\\n}\\\\n\\\\n.bounce2 {\\\\n\\\\tcolor: green;\\\\n\\\\tanimation: bounce 1s ease;\\\\n\\\\tanimation-name: bounce2;\\\\n}\\\\n\\\\n.bounce3 {\\\\n\\\\tanimation: bounce 1s ease, bounce2\\\\n}\\\\n\\\\n.bounce4 {\\\\n\\\\tanimation: bounce 1s ease, bounce2;\\\\n}\\\\n\\\\n.b {\\\\n\\\\tcolor: green;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.NWiVmamP0EXJI3eRccJs .vcjMmLDjQoheuo3iKNVq { + color: red; +} + +.MYhjYB7o8ivNsNDLAOhX .xw5pDaTSZyFc0_NgQcy_ { + color: blue; +} +\`, ""]); // Exports +export var abc = \`NWiVmamP0EXJI3eRccJs\`; +export var def = \`vcjMmLDjQoheuo3iKNVq\`; +export var ghi = \`MYhjYB7o8ivNsNDLAOhX\`; +export var jkl = \`xw5pDaTSZyFc0_NgQcy_\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/keyframes-and-animation/source.css", - ".a { - color: green; -} - -@keyframes bounce { - 0% { - transform: translateY(-100%); - opacity: 0; - } - 5% { - transform: translateY(-100%); - opacity: 0; - } -} - -@-webkit-keyframes bounce2 { - 0% { - transform: translateY(-100%); - opacity: 0; - } - 5% { - transform: translateY(-100%); - opacity: 0; - } -} - -.bounce { - animation-name: bounce; - animation: bounce2 1s ease; -} - -.bounce2 { - color: green; - animation: bounce 1s ease; - animation-name: bounce2; -} - -.bounce3 { - animation: bounce 1s ease, bounce2 -} - -.bounce4 { - animation: bounce 1s ease, bounce2; +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local/source.css", + ".NWiVmamP0EXJI3eRccJs .vcjMmLDjQoheuo3iKNVq { + color: red; } -.b { - color: green; +.MYhjYB7o8ivNsNDLAOhX .xw5pDaTSZyFc0_NgQcy_ { + color: blue; } ", "", @@ -7912,73 +17462,42 @@ Array [ ] `; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".a {\\\\n\\\\tcolor: green;\\\\n}\\\\n\\\\n@keyframes bounce {\\\\n\\\\t0% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n\\\\t5% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n}\\\\n\\\\n@-webkit-keyframes bounce2 {\\\\n\\\\t0% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n\\\\t5% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n}\\\\n\\\\n.bounce {\\\\n\\\\tanimation-name: bounce;\\\\n\\\\tanimation: bounce2 1s ease;\\\\n}\\\\n\\\\n.bounce2 {\\\\n\\\\tcolor: green;\\\\n\\\\tanimation: bounce 1s ease;\\\\n\\\\tanimation-name: bounce2;\\\\n}\\\\n\\\\n.bounce3 {\\\\n\\\\tanimation: bounce 1s ease, bounce2\\\\n}\\\\n\\\\n.bounce4 {\\\\n\\\\tanimation: bounce 1s ease, bounce2;\\\\n}\\\\n\\\\n.b {\\\\n\\\\tcolor: green;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.abc ._def { + color: red; +} + +._ghi ._jkl { + color: blue; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = {}; +export var def = \`_def\`; +export var ghi = \`_ghi\`; +export var jkl = \`_jkl\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/keyframes-and-animation/source.css", - ".a { - color: green; -} - -@keyframes bounce { - 0% { - transform: translateY(-100%); - opacity: 0; - } - 5% { - transform: translateY(-100%); - opacity: 0; - } -} - -@-webkit-keyframes bounce2 { - 0% { - transform: translateY(-100%); - opacity: 0; - } - 5% { - transform: translateY(-100%); - opacity: 0; - } -} - -.bounce { - animation-name: bounce; - animation: bounce2 1s ease; -} - -.bounce2 { - color: green; - animation: bounce 1s ease; - animation-name: bounce2; -} - -.bounce3 { - animation: bounce 1s ease, bounce2 -} - -.bounce4 { - animation: bounce 1s ease, bounce2; +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local/source.css", + ".abc ._def { + color: red; } -.b { - color: green; +._ghi ._jkl { + color: blue; } ", "", @@ -7986,80 +17505,87 @@ Array [ ] `; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".feOrqjQscHZz0nJjh2vh {\\\\n\\\\tcolor: green;\\\\n}\\\\n\\\\n@keyframes _lsxqMblJFYa6nZ8sXDT {\\\\n\\\\t0% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n\\\\t5% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n}\\\\n\\\\n@-webkit-keyframes sIIp7oFeXQELGxwT4KPH {\\\\n\\\\t0% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n\\\\t5% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n}\\\\n\\\\n._lsxqMblJFYa6nZ8sXDT {\\\\n\\\\tanimation-name: _lsxqMblJFYa6nZ8sXDT;\\\\n\\\\tanimation: sIIp7oFeXQELGxwT4KPH 1s ease;\\\\n}\\\\n\\\\n.sIIp7oFeXQELGxwT4KPH {\\\\n\\\\tcolor: green;\\\\n\\\\tanimation: _lsxqMblJFYa6nZ8sXDT 1s ease;\\\\n\\\\tanimation-name: sIIp7oFeXQELGxwT4KPH;\\\\n}\\\\n\\\\n.OT0bjljnxdwZhf6GnY26 {\\\\n\\\\tanimation: _lsxqMblJFYa6nZ8sXDT 1s ease, sIIp7oFeXQELGxwT4KPH\\\\n}\\\\n\\\\n.p3ZQnXleLEGuzjeF3lxC {\\\\n\\\\tanimation: _lsxqMblJFYa6nZ8sXDT 1s ease, sIIp7oFeXQELGxwT4KPH;\\\\n}\\\\n\\\\n.cnxaG2hfQc06nE9GxVvg {\\\\n\\\\tcolor: green;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._abc ._def { + color: red; +} + +._ghi ._jkl { + color: blue; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"a\\": \\"feOrqjQscHZz0nJjh2vh\\", - \\"bounce\\": \\"_lsxqMblJFYa6nZ8sXDT\\", - \\"bounce2\\": \\"sIIp7oFeXQELGxwT4KPH\\", - \\"bounce3\\": \\"OT0bjljnxdwZhf6GnY26\\", - \\"bounce4\\": \\"p3ZQnXleLEGuzjeF3lxC\\", - \\"b\\": \\"cnxaG2hfQc06nE9GxVvg\\" -}; +export var abc = \`_abc\`; +export var def = \`_def\`; +export var ghi = \`_ghi\`; +export var jkl = \`_jkl\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/keyframes-and-animation/source.css", - ".feOrqjQscHZz0nJjh2vh { - color: green; -} - -@keyframes _lsxqMblJFYa6nZ8sXDT { - 0% { - transform: translateY(-100%); - opacity: 0; - } - 5% { - transform: translateY(-100%); - opacity: 0; - } -} - -@-webkit-keyframes sIIp7oFeXQELGxwT4KPH { - 0% { - transform: translateY(-100%); - opacity: 0; - } - 5% { - transform: translateY(-100%); - opacity: 0; - } +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local/source.css", + "._abc ._def { + color: red; } -._lsxqMblJFYa6nZ8sXDT { - animation-name: _lsxqMblJFYa6nZ8sXDT; - animation: sIIp7oFeXQELGxwT4KPH 1s ease; +._ghi ._jkl { + color: blue; } +", + "", + ], +] +`; -.sIIp7oFeXQELGxwT4KPH { - color: green; - animation: _lsxqMblJFYa6nZ8sXDT 1s ease; - animation-name: sIIp7oFeXQELGxwT4KPH; +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; + +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`local\` (\`modules\` value 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, \`.NWiVmamP0EXJI3eRccJs .vcjMmLDjQoheuo3iKNVq { + color: red; } -.OT0bjljnxdwZhf6GnY26 { - animation: _lsxqMblJFYa6nZ8sXDT 1s ease, sIIp7oFeXQELGxwT4KPH +.MYhjYB7o8ivNsNDLAOhX .xw5pDaTSZyFc0_NgQcy_ { + color: blue; } +\`, ""]); +// Exports +export var abc = \`NWiVmamP0EXJI3eRccJs\`; +export var def = \`vcjMmLDjQoheuo3iKNVq\`; +export var ghi = \`MYhjYB7o8ivNsNDLAOhX\`; +export var jkl = \`xw5pDaTSZyFc0_NgQcy_\`; +export default ___CSS_LOADER_EXPORT___; +" +`; -.p3ZQnXleLEGuzjeF3lxC { - animation: _lsxqMblJFYa6nZ8sXDT 1s ease, sIIp7oFeXQELGxwT4KPH; +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local/source.css", + ".NWiVmamP0EXJI3eRccJs .vcjMmLDjQoheuo3iKNVq { + color: red; } -.cnxaG2hfQc06nE9GxVvg { - color: green; +.MYhjYB7o8ivNsNDLAOhX .xw5pDaTSZyFc0_NgQcy_ { + color: blue; } ", "", @@ -8067,235 +17593,298 @@ Array [ ] `; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`local\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".a {\\\\n\\\\tcolor: green;\\\\n}\\\\n\\\\n@keyframes bounce {\\\\n\\\\t0% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n\\\\t5% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n}\\\\n\\\\n@-webkit-keyframes bounce2 {\\\\n\\\\t0% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n\\\\t5% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n}\\\\n\\\\n.bounce {\\\\n\\\\tanimation-name: bounce;\\\\n\\\\tanimation: bounce2 1s ease;\\\\n}\\\\n\\\\n.bounce2 {\\\\n\\\\tcolor: green;\\\\n\\\\tanimation: bounce 1s ease;\\\\n\\\\tanimation-name: bounce2;\\\\n}\\\\n\\\\n.bounce3 {\\\\n\\\\tanimation: bounce 1s ease, bounce2\\\\n}\\\\n\\\\n.bounce4 {\\\\n\\\\tanimation: bounce 1s ease, bounce2;\\\\n}\\\\n\\\\n.b {\\\\n\\\\tcolor: green;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`:local(.className) { background: red; } +:local(#someId) { background: green; } +:local(.className .subClass) { color: green; } +:local(#someId .subClass) { color: blue; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = {}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/keyframes-and-animation/source.css", - ".a { - color: green; -} +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local-2/source.css", + ":local(.className) { background: red; } +:local(#someId) { background: green; } +:local(.className .subClass) { color: green; } +:local(#someId .subClass) { color: blue; } +", + "", + ], +] +`; -@keyframes bounce { - 0% { - transform: translateY(-100%); - opacity: 0; - } - 5% { - transform: translateY(-100%); - opacity: 0; - } -} +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -@-webkit-keyframes bounce2 { - 0% { - transform: translateY(-100%); - opacity: 0; - } - 5% { - transform: translateY(-100%); - opacity: 0; - } -} +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -.bounce { - animation-name: bounce; - animation: bounce2 1s ease; -} +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`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"; +var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___); +// Module +___CSS_LOADER_EXPORT___.push([module.id, \`.jotOJZSbbizwn2e2eYUC { background: red; } +#o3QZi9k_raViYTvAIAQg { background: green; } +.jotOJZSbbizwn2e2eYUC .h_NDKB3lEt6iXL9hQybC { color: green; } +#o3QZi9k_raViYTvAIAQg .h_NDKB3lEt6iXL9hQybC { color: blue; } +\`, ""]); +// Exports +export var className = \`jotOJZSbbizwn2e2eYUC\`; +export var someId = \`o3QZi9k_raViYTvAIAQg\`; +export var subClass = \`h_NDKB3lEt6iXL9hQybC\`; +export default ___CSS_LOADER_EXPORT___; +" +`; -.bounce2 { - color: green; - animation: bounce 1s ease; - animation-name: bounce2; -} +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local-2/source.css", + ".jotOJZSbbizwn2e2eYUC { background: red; } +#o3QZi9k_raViYTvAIAQg { background: green; } +.jotOJZSbbizwn2e2eYUC .h_NDKB3lEt6iXL9hQybC { color: green; } +#o3QZi9k_raViYTvAIAQg .h_NDKB3lEt6iXL9hQybC { color: blue; } +", + "", + ], +] +`; -.bounce3 { - animation: bounce 1s ease, bounce2 -} +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -.bounce4 { - animation: bounce 1s ease, bounce2; -} +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -.b { - color: green; -} +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`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, \`.jotOJZSbbizwn2e2eYUC { background: red; } +#o3QZi9k_raViYTvAIAQg { background: green; } +.jotOJZSbbizwn2e2eYUC .h_NDKB3lEt6iXL9hQybC { color: green; } +#o3QZi9k_raViYTvAIAQg .h_NDKB3lEt6iXL9hQybC { color: blue; } +\`, ""]); +// Exports +export var className = \`jotOJZSbbizwn2e2eYUC\`; +export var someId = \`o3QZi9k_raViYTvAIAQg\`; +export var subClass = \`h_NDKB3lEt6iXL9hQybC\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local-2/source.css", + ".jotOJZSbbizwn2e2eYUC { background: red; } +#o3QZi9k_raViYTvAIAQg { background: green; } +.jotOJZSbbizwn2e2eYUC .h_NDKB3lEt6iXL9hQybC { color: green; } +#o3QZi9k_raViYTvAIAQg .h_NDKB3lEt6iXL9hQybC { color: blue; } ", "", ], ] `; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"._a {\\\\n\\\\tcolor: green;\\\\n}\\\\n\\\\n@keyframes _bounce {\\\\n\\\\t0% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n\\\\t5% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n}\\\\n\\\\n@-webkit-keyframes _bounce2 {\\\\n\\\\t0% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n\\\\t5% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n}\\\\n\\\\n._bounce {\\\\n\\\\tanimation-name: _bounce;\\\\n\\\\tanimation: _bounce2 1s ease;\\\\n}\\\\n\\\\n._bounce2 {\\\\n\\\\tcolor: green;\\\\n\\\\tanimation: _bounce 1s ease;\\\\n\\\\tanimation-name: _bounce2;\\\\n}\\\\n\\\\n._bounce3 {\\\\n\\\\tanimation: _bounce 1s ease, _bounce2\\\\n}\\\\n\\\\n._bounce4 {\\\\n\\\\tanimation: _bounce 1s ease, _bounce2;\\\\n}\\\\n\\\\n._b {\\\\n\\\\tcolor: green;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._className { background: red; } +#_someId { background: green; } +._className ._subClass { color: green; } +#_someId ._subClass { color: blue; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"a\\": \\"_a\\", - \\"bounce\\": \\"_bounce\\", - \\"bounce2\\": \\"_bounce2\\", - \\"bounce3\\": \\"_bounce3\\", - \\"bounce4\\": \\"_bounce4\\", - \\"b\\": \\"_b\\" -}; +export var className = \`_className\`; +export var someId = \`_someId\`; +export var subClass = \`_subClass\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/keyframes-and-animation/source.css", - "._a { - color: green; -} +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local-2/source.css", + "._className { background: red; } +#_someId { background: green; } +._className ._subClass { color: green; } +#_someId ._subClass { color: blue; } +", + "", + ], +] +`; -@keyframes _bounce { - 0% { - transform: translateY(-100%); - opacity: 0; - } - 5% { - transform: translateY(-100%); - opacity: 0; - } -} +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -@-webkit-keyframes _bounce2 { - 0% { - transform: translateY(-100%); - opacity: 0; - } - 5% { - transform: translateY(-100%); - opacity: 0; - } -} +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -._bounce { - animation-name: _bounce; - animation: _bounce2 1s ease; -} +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`object with mode 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, \`._className { background: red; } +#_someId { background: green; } +._className ._subClass { color: green; } +#_someId ._subClass { color: blue; } +\`, ""]); +// Exports +export var className = \`_className\`; +export var someId = \`_someId\`; +export var subClass = \`_subClass\`; +export default ___CSS_LOADER_EXPORT___; +" +`; -._bounce2 { - color: green; - animation: _bounce 1s ease; - animation-name: _bounce2; -} +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local-2/source.css", + "._className { background: red; } +#_someId { background: green; } +._className ._subClass { color: green; } +#_someId ._subClass { color: blue; } +", + "", + ], +] +`; -._bounce3 { - animation: _bounce 1s ease, _bounce2 -} +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -._bounce4 { - animation: _bounce 1s ease, _bounce2; -} +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -._b { - color: green; -} +exports[`"modules" option should work with case \`local-2\` (\`modules\` value 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, \`.jotOJZSbbizwn2e2eYUC { background: red; } +#o3QZi9k_raViYTvAIAQg { background: green; } +.jotOJZSbbizwn2e2eYUC .h_NDKB3lEt6iXL9hQybC { color: green; } +#o3QZi9k_raViYTvAIAQg .h_NDKB3lEt6iXL9hQybC { color: blue; } +\`, ""]); +// Exports +export var className = \`jotOJZSbbizwn2e2eYUC\`; +export var someId = \`o3QZi9k_raViYTvAIAQg\`; +export var subClass = \`h_NDKB3lEt6iXL9hQybC\`; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local-2/source.css", + ".jotOJZSbbizwn2e2eYUC { background: red; } +#o3QZi9k_raViYTvAIAQg { background: green; } +.jotOJZSbbizwn2e2eYUC .h_NDKB3lEt6iXL9hQybC { color: green; } +#o3QZi9k_raViYTvAIAQg .h_NDKB3lEt6iXL9hQybC { color: blue; } ", "", ], ] `; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".feOrqjQscHZz0nJjh2vh {\\\\n\\\\tcolor: green;\\\\n}\\\\n\\\\n@keyframes _lsxqMblJFYa6nZ8sXDT {\\\\n\\\\t0% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n\\\\t5% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n}\\\\n\\\\n@-webkit-keyframes sIIp7oFeXQELGxwT4KPH {\\\\n\\\\t0% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n\\\\t5% {\\\\n\\\\t\\\\ttransform: translateY(-100%);\\\\n\\\\t\\\\topacity: 0;\\\\n\\\\t}\\\\n}\\\\n\\\\n._lsxqMblJFYa6nZ8sXDT {\\\\n\\\\tanimation-name: _lsxqMblJFYa6nZ8sXDT;\\\\n\\\\tanimation: sIIp7oFeXQELGxwT4KPH 1s ease;\\\\n}\\\\n\\\\n.sIIp7oFeXQELGxwT4KPH {\\\\n\\\\tcolor: green;\\\\n\\\\tanimation: _lsxqMblJFYa6nZ8sXDT 1s ease;\\\\n\\\\tanimation-name: sIIp7oFeXQELGxwT4KPH;\\\\n}\\\\n\\\\n.OT0bjljnxdwZhf6GnY26 {\\\\n\\\\tanimation: _lsxqMblJFYa6nZ8sXDT 1s ease, sIIp7oFeXQELGxwT4KPH\\\\n}\\\\n\\\\n.p3ZQnXleLEGuzjeF3lxC {\\\\n\\\\tanimation: _lsxqMblJFYa6nZ8sXDT 1s ease, sIIp7oFeXQELGxwT4KPH;\\\\n}\\\\n\\\\n.cnxaG2hfQc06nE9GxVvg {\\\\n\\\\tcolor: green;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`:local(.abc) { + color: red; +} +:local(.def) { + composes: abc; + background: green; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"a\\": \\"feOrqjQscHZz0nJjh2vh\\", - \\"bounce\\": \\"_lsxqMblJFYa6nZ8sXDT\\", - \\"bounce2\\": \\"sIIp7oFeXQELGxwT4KPH\\", - \\"bounce3\\": \\"OT0bjljnxdwZhf6GnY26\\", - \\"bounce4\\": \\"p3ZQnXleLEGuzjeF3lxC\\", - \\"b\\": \\"cnxaG2hfQc06nE9GxVvg\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/keyframes-and-animation/source.css", - ".feOrqjQscHZz0nJjh2vh { - color: green; +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local-and-composes/source.css", + ":local(.abc) { + color: red; } - -@keyframes _lsxqMblJFYa6nZ8sXDT { - 0% { - transform: translateY(-100%); - opacity: 0; - } - 5% { - transform: translateY(-100%); - opacity: 0; - } +:local(.def) { + composes: abc; + background: green; } +", + "", + ], +] +`; -@-webkit-keyframes sIIp7oFeXQELGxwT4KPH { - 0% { - transform: translateY(-100%); - opacity: 0; - } - 5% { - transform: translateY(-100%); - opacity: 0; - } -} +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -._lsxqMblJFYa6nZ8sXDT { - animation-name: _lsxqMblJFYa6nZ8sXDT; - animation: sIIp7oFeXQELGxwT4KPH 1s ease; -} +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -.sIIp7oFeXQELGxwT4KPH { - color: green; - animation: _lsxqMblJFYa6nZ8sXDT 1s ease; - animation-name: sIIp7oFeXQELGxwT4KPH; +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`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"; +var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___); +// Module +___CSS_LOADER_EXPORT___.push([module.id, \`.m87Db3osF0tlFc7iCMdW { + color: red; } - -.OT0bjljnxdwZhf6GnY26 { - animation: _lsxqMblJFYa6nZ8sXDT 1s ease, sIIp7oFeXQELGxwT4KPH +.TxP75aC0tOZDmszQbtBj { + background: green; } +\`, ""]); +// Exports +export var abc = \`m87Db3osF0tlFc7iCMdW\`; +export var def = \`TxP75aC0tOZDmszQbtBj m87Db3osF0tlFc7iCMdW\`; +export default ___CSS_LOADER_EXPORT___; +" +`; -.p3ZQnXleLEGuzjeF3lxC { - animation: _lsxqMblJFYa6nZ8sXDT 1s ease, sIIp7oFeXQELGxwT4KPH; +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local-and-composes/source.css", + ".m87Db3osF0tlFc7iCMdW { + color: red; } - -.cnxaG2hfQc06nE9GxVvg { - color: green; +.TxP75aC0tOZDmszQbtBj { + background: green; } ", "", @@ -8303,61 +17892,79 @@ Array [ ] `; -exports[`"modules" option should work with case \`keyframes-and-animation\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".a {\\\\n\\\\tcolor: green;\\\\n\\\\tanimation: a;\\\\n}\\\\n\\\\n@keyframes b {\\\\n\\\\t0% { left: 10px; }\\\\n\\\\t100% { left: 20px; }\\\\n}\\\\n\\\\n.b {\\\\n\\\\tanimation: b;\\\\n}\\\\n\\\\n@keyframes :global(c) {\\\\n\\\\t0% { left: 10px; }\\\\n\\\\t100% { left: 20px; }\\\\n}\\\\n\\\\n.c {\\\\n\\\\tanimation: c1;\\\\n\\\\tanimation: c2, c3, c4;\\\\n}\\\\n\\\\n@keyframes :global(d) {\\\\n\\\\t0% { left: 10px; }\\\\n\\\\t100% { left: 20px; }\\\\n}\\\\n\\\\n:global .d1 {\\\\n\\\\tanimation: d1;\\\\n\\\\tanimation: d2, d3, d4;\\\\n}\\\\n\\\\n:global(.d2) {\\\\n\\\\tanimation: d2;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.m87Db3osF0tlFc7iCMdW { + color: red; +} +.TxP75aC0tOZDmszQbtBj { + background: green; +} +\`, ""]); // Exports +export var abc = \`m87Db3osF0tlFc7iCMdW\`; +export var def = \`TxP75aC0tOZDmszQbtBj m87Db3osF0tlFc7iCMdW\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/leak-scope/source.css", - ".a { - color: green; - animation: a; +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local-and-composes/source.css", + ".m87Db3osF0tlFc7iCMdW { + color: red; } - -@keyframes b { - 0% { left: 10px; } - 100% { left: 20px; } +.TxP75aC0tOZDmszQbtBj { + background: green; } +", + "", + ], +] +`; -.b { - animation: b; -} +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -@keyframes :global(c) { - 0% { left: 10px; } - 100% { left: 20px; } -} +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -.c { - animation: c1; - animation: c2, c3, c4; +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`object with mode 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"; +var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___); +// Module +___CSS_LOADER_EXPORT___.push([module.id, \`._abc { + color: red; } - -@keyframes :global(d) { - 0% { left: 10px; } - 100% { left: 20px; } +._def { + background: green; } +\`, ""]); +// Exports +export var abc = \`_abc\`; +export var def = \`_def _abc\`; +export default ___CSS_LOADER_EXPORT___; +" +`; -:global .d1 { - animation: d1; - animation: d2, d3, d4; +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local-and-composes/source.css", + "._abc { + color: red; } - -:global(.d2) { - animation: d2; +._def { + background: green; } ", "", @@ -8365,62 +17972,79 @@ Array [ ] `; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".a {\\\\n\\\\tcolor: green;\\\\n\\\\tanimation: a;\\\\n}\\\\n\\\\n@keyframes b {\\\\n\\\\t0% { left: 10px; }\\\\n\\\\t100% { left: 20px; }\\\\n}\\\\n\\\\n.b {\\\\n\\\\tanimation: b;\\\\n}\\\\n\\\\n@keyframes c {\\\\n\\\\t0% { left: 10px; }\\\\n\\\\t100% { left: 20px; }\\\\n}\\\\n\\\\n.c {\\\\n\\\\tanimation: c1;\\\\n\\\\tanimation: c2, c3, c4;\\\\n}\\\\n\\\\n@keyframes d {\\\\n\\\\t0% { left: 10px; }\\\\n\\\\t100% { left: 20px; }\\\\n}\\\\n\\\\n.d1 {\\\\n\\\\tanimation: d1;\\\\n\\\\tanimation: d2, d3, d4;\\\\n}\\\\n\\\\n.d2 {\\\\n\\\\tanimation: d2;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._abc { + color: red; +} +._def { + background: green; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = {}; +export var abc = \`_abc\`; +export var def = \`_def _abc\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/leak-scope/source.css", - ".a { - color: green; - animation: a; +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local-and-composes/source.css", + "._abc { + color: red; } - -@keyframes b { - 0% { left: 10px; } - 100% { left: 20px; } +._def { + background: green; } +", + "", + ], +] +`; -.b { - animation: b; -} +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -@keyframes c { - 0% { left: 10px; } - 100% { left: 20px; } -} +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -.c { - animation: c1; - animation: c2, c3, c4; +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value 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, \`.m87Db3osF0tlFc7iCMdW { + color: red; } - -@keyframes d { - 0% { left: 10px; } - 100% { left: 20px; } +.TxP75aC0tOZDmszQbtBj { + background: green; } +\`, ""]); +// Exports +export var abc = \`m87Db3osF0tlFc7iCMdW\`; +export var def = \`TxP75aC0tOZDmszQbtBj m87Db3osF0tlFc7iCMdW\`; +export default ___CSS_LOADER_EXPORT___; +" +`; -.d1 { - animation: d1; - animation: d2, d3, d4; +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local-and-composes/source.css", + ".m87Db3osF0tlFc7iCMdW { + color: red; } - -.d2 { - animation: d2; +.TxP75aC0tOZDmszQbtBj { + background: green; } ", "", @@ -8428,71 +18052,31 @@ Array [ ] `; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".ltwERIQcd6lurmE4fbOl {\\\\n\\\\tcolor: green;\\\\n\\\\tanimation: ltwERIQcd6lurmE4fbOl;\\\\n}\\\\n\\\\n@keyframes nTGQjTn_HTYqzs7vgon_ {\\\\n\\\\t0% { left: 10px; }\\\\n\\\\t100% { left: 20px; }\\\\n}\\\\n\\\\n.nTGQjTn_HTYqzs7vgon_ {\\\\n\\\\tanimation: nTGQjTn_HTYqzs7vgon_;\\\\n}\\\\n\\\\n@keyframes c {\\\\n\\\\t0% { left: 10px; }\\\\n\\\\t100% { left: 20px; }\\\\n}\\\\n\\\\n.NKUqSWQXAKBmz6i09Jms {\\\\n\\\\tanimation: SrQZKY_LjBaRqJWYCQCC;\\\\n\\\\tanimation: XnvCALozNzYGdFNuxcmm, swzuvX5_VWURj72l75Qs, _Md5TM4KI1AFyzml2xaa;\\\\n}\\\\n\\\\n@keyframes d {\\\\n\\\\t0% { left: 10px; }\\\\n\\\\t100% { left: 20px; }\\\\n}\\\\n\\\\n.d1 {\\\\n\\\\tanimation: d1;\\\\n\\\\tanimation: d2, d3, d4;\\\\n}\\\\n\\\\n.d2 {\\\\n\\\\tanimation: t_7395fSNCEOOSMbhvnA;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`:local(.c1[data-attr=".c2)]'"]:not(.c3):not(.c4)) { + background: red; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"a\\": \\"ltwERIQcd6lurmE4fbOl\\", - \\"b\\": \\"nTGQjTn_HTYqzs7vgon_\\", - \\"c\\": \\"NKUqSWQXAKBmz6i09Jms\\", - \\"c1\\": \\"SrQZKY_LjBaRqJWYCQCC\\", - \\"c2\\": \\"XnvCALozNzYGdFNuxcmm\\", - \\"c3\\": \\"swzuvX5_VWURj72l75Qs\\", - \\"c4\\": \\"_Md5TM4KI1AFyzml2xaa\\", - \\"d2\\": \\"t_7395fSNCEOOSMbhvnA\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/leak-scope/source.css", - ".ltwERIQcd6lurmE4fbOl { - color: green; - animation: ltwERIQcd6lurmE4fbOl; -} - -@keyframes nTGQjTn_HTYqzs7vgon_ { - 0% { left: 10px; } - 100% { left: 20px; } -} - -.nTGQjTn_HTYqzs7vgon_ { - animation: nTGQjTn_HTYqzs7vgon_; -} - -@keyframes c { - 0% { left: 10px; } - 100% { left: 20px; } -} - -.NKUqSWQXAKBmz6i09Jms { - animation: SrQZKY_LjBaRqJWYCQCC; - animation: XnvCALozNzYGdFNuxcmm, swzuvX5_VWURj72l75Qs, _Md5TM4KI1AFyzml2xaa; -} - -@keyframes d { - 0% { left: 10px; } - 100% { left: 20px; } -} - -.d1 { - animation: d1; - animation: d2, d3, d4; -} - -.d2 { - animation: t_7395fSNCEOOSMbhvnA; +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local-with-string/source.css", + ":local(.c1[data-attr=".c2)]'"]:not(.c3):not(.c4)) { + background: red; } ", "", @@ -8500,62 +18084,34 @@ Array [ ] `; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".a {\\\\n\\\\tcolor: green;\\\\n\\\\tanimation: a;\\\\n}\\\\n\\\\n@keyframes b {\\\\n\\\\t0% { left: 10px; }\\\\n\\\\t100% { left: 20px; }\\\\n}\\\\n\\\\n.b {\\\\n\\\\tanimation: b;\\\\n}\\\\n\\\\n@keyframes c {\\\\n\\\\t0% { left: 10px; }\\\\n\\\\t100% { left: 20px; }\\\\n}\\\\n\\\\n.c {\\\\n\\\\tanimation: c1;\\\\n\\\\tanimation: c2, c3, c4;\\\\n}\\\\n\\\\n@keyframes d {\\\\n\\\\t0% { left: 10px; }\\\\n\\\\t100% { left: 20px; }\\\\n}\\\\n\\\\n.d1 {\\\\n\\\\tanimation: d1;\\\\n\\\\tanimation: d2, d3, d4;\\\\n}\\\\n\\\\n.d2 {\\\\n\\\\tanimation: d2;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.Ms7rUEEZj7e2OVP2ihQX[data-attr=".c2)]'"]:not(.bbQR5lX5X8jm0LSaC_kj):not(.w7sEmdNn7fYHw9xep5OO) { + background: red; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = {}; +export var c1 = \`Ms7rUEEZj7e2OVP2ihQX\`; +export var c3 = \`bbQR5lX5X8jm0LSaC_kj\`; +export var c4 = \`w7sEmdNn7fYHw9xep5OO\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/leak-scope/source.css", - ".a { - color: green; - animation: a; -} - -@keyframes b { - 0% { left: 10px; } - 100% { left: 20px; } -} - -.b { - animation: b; -} - -@keyframes c { - 0% { left: 10px; } - 100% { left: 20px; } -} - -.c { - animation: c1; - animation: c2, c3, c4; -} - -@keyframes d { - 0% { left: 10px; } - 100% { left: 20px; } -} - -.d1 { - animation: d1; - animation: d2, d3, d4; -} - -.d2 { - animation: d2; +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local-with-string/source.css", + ".Ms7rUEEZj7e2OVP2ihQX[data-attr=".c2)]'"]:not(.bbQR5lX5X8jm0LSaC_kj):not(.w7sEmdNn7fYHw9xep5OO) { + background: red; } ", "", @@ -8563,71 +18119,69 @@ Array [ ] `; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"._a {\\\\n\\\\tcolor: green;\\\\n\\\\tanimation: _a;\\\\n}\\\\n\\\\n@keyframes _b {\\\\n\\\\t0% { left: 10px; }\\\\n\\\\t100% { left: 20px; }\\\\n}\\\\n\\\\n._b {\\\\n\\\\tanimation: _b;\\\\n}\\\\n\\\\n@keyframes c {\\\\n\\\\t0% { left: 10px; }\\\\n\\\\t100% { left: 20px; }\\\\n}\\\\n\\\\n._c {\\\\n\\\\tanimation: _c1;\\\\n\\\\tanimation: _c2, _c3, _c4;\\\\n}\\\\n\\\\n@keyframes d {\\\\n\\\\t0% { left: 10px; }\\\\n\\\\t100% { left: 20px; }\\\\n}\\\\n\\\\n.d1 {\\\\n\\\\tanimation: d1;\\\\n\\\\tanimation: d2, d3, d4;\\\\n}\\\\n\\\\n.d2 {\\\\n\\\\tanimation: _d2;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.Ms7rUEEZj7e2OVP2ihQX[data-attr=".c2)]'"]:not(.bbQR5lX5X8jm0LSaC_kj):not(.w7sEmdNn7fYHw9xep5OO) { + background: red; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"a\\": \\"_a\\", - \\"b\\": \\"_b\\", - \\"c\\": \\"_c\\", - \\"c1\\": \\"_c1\\", - \\"c2\\": \\"_c2\\", - \\"c3\\": \\"_c3\\", - \\"c4\\": \\"_c4\\", - \\"d2\\": \\"_d2\\" -}; +export var c1 = \`Ms7rUEEZj7e2OVP2ihQX\`; +export var c3 = \`bbQR5lX5X8jm0LSaC_kj\`; +export var c4 = \`w7sEmdNn7fYHw9xep5OO\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/leak-scope/source.css", - "._a { - color: green; - animation: _a; -} - -@keyframes _b { - 0% { left: 10px; } - 100% { left: 20px; } -} - -._b { - animation: _b; -} - -@keyframes c { - 0% { left: 10px; } - 100% { left: 20px; } +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local-with-string/source.css", + ".Ms7rUEEZj7e2OVP2ihQX[data-attr=".c2)]'"]:not(.bbQR5lX5X8jm0LSaC_kj):not(.w7sEmdNn7fYHw9xep5OO) { + background: red; } +", + "", + ], +] +`; -._c { - animation: _c1; - animation: _c2, _c3, _c4; -} +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -@keyframes d { - 0% { left: 10px; } - 100% { left: 20px; } -} +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -.d1 { - animation: d1; - animation: d2, d3, d4; +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`object with mode 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"; +var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___); +// Module +___CSS_LOADER_EXPORT___.push([module.id, \`._c1[data-attr=".c2)]'"]:not(._c3):not(._c4) { + background: red; } +\`, ""]); +// Exports +export var c1 = \`_c1\`; +export var c3 = \`_c3\`; +export var c4 = \`_c4\`; +export default ___CSS_LOADER_EXPORT___; +" +`; -.d2 { - animation: _d2; +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local-with-string/source.css", + "._c1[data-attr=".c2)]'"]:not(._c3):not(._c4) { + background: red; } ", "", @@ -8635,71 +18189,109 @@ Array [ ] `; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".ltwERIQcd6lurmE4fbOl {\\\\n\\\\tcolor: green;\\\\n\\\\tanimation: ltwERIQcd6lurmE4fbOl;\\\\n}\\\\n\\\\n@keyframes nTGQjTn_HTYqzs7vgon_ {\\\\n\\\\t0% { left: 10px; }\\\\n\\\\t100% { left: 20px; }\\\\n}\\\\n\\\\n.nTGQjTn_HTYqzs7vgon_ {\\\\n\\\\tanimation: nTGQjTn_HTYqzs7vgon_;\\\\n}\\\\n\\\\n@keyframes c {\\\\n\\\\t0% { left: 10px; }\\\\n\\\\t100% { left: 20px; }\\\\n}\\\\n\\\\n.NKUqSWQXAKBmz6i09Jms {\\\\n\\\\tanimation: SrQZKY_LjBaRqJWYCQCC;\\\\n\\\\tanimation: XnvCALozNzYGdFNuxcmm, swzuvX5_VWURj72l75Qs, _Md5TM4KI1AFyzml2xaa;\\\\n}\\\\n\\\\n@keyframes d {\\\\n\\\\t0% { left: 10px; }\\\\n\\\\t100% { left: 20px; }\\\\n}\\\\n\\\\n.d1 {\\\\n\\\\tanimation: d1;\\\\n\\\\tanimation: d2, d3, d4;\\\\n}\\\\n\\\\n.d2 {\\\\n\\\\tanimation: t_7395fSNCEOOSMbhvnA;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._c1[data-attr=".c2)]'"]:not(._c3):not(._c4) { + background: red; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"a\\": \\"ltwERIQcd6lurmE4fbOl\\", - \\"b\\": \\"nTGQjTn_HTYqzs7vgon_\\", - \\"c\\": \\"NKUqSWQXAKBmz6i09Jms\\", - \\"c1\\": \\"SrQZKY_LjBaRqJWYCQCC\\", - \\"c2\\": \\"XnvCALozNzYGdFNuxcmm\\", - \\"c3\\": \\"swzuvX5_VWURj72l75Qs\\", - \\"c4\\": \\"_Md5TM4KI1AFyzml2xaa\\", - \\"d2\\": \\"t_7395fSNCEOOSMbhvnA\\" -}; +export var c1 = \`_c1\`; +export var c3 = \`_c3\`; +export var c4 = \`_c4\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/leak-scope/source.css", - ".ltwERIQcd6lurmE4fbOl { - color: green; - animation: ltwERIQcd6lurmE4fbOl; +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local-with-string/source.css", + "._c1[data-attr=".c2)]'"]:not(._c3):not(._c4) { + background: red; } +", + "", + ], +] +`; -@keyframes nTGQjTn_HTYqzs7vgon_ { - 0% { left: 10px; } - 100% { left: 20px; } -} +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -.nTGQjTn_HTYqzs7vgon_ { - animation: nTGQjTn_HTYqzs7vgon_; -} +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -@keyframes c { - 0% { left: 10px; } - 100% { left: 20px; } +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value 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, \`.Ms7rUEEZj7e2OVP2ihQX[data-attr=".c2)]'"]:not(.bbQR5lX5X8jm0LSaC_kj):not(.w7sEmdNn7fYHw9xep5OO) { + background: red; } +\`, ""]); +// Exports +export var c1 = \`Ms7rUEEZj7e2OVP2ihQX\`; +export var c3 = \`bbQR5lX5X8jm0LSaC_kj\`; +export var c4 = \`w7sEmdNn7fYHw9xep5OO\`; +export default ___CSS_LOADER_EXPORT___; +" +`; -.NKUqSWQXAKBmz6i09Jms { - animation: SrQZKY_LjBaRqJWYCQCC; - animation: XnvCALozNzYGdFNuxcmm, swzuvX5_VWURj72l75Qs, _Md5TM4KI1AFyzml2xaa; +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/local-with-string/source.css", + ".Ms7rUEEZj7e2OVP2ihQX[data-attr=".c2)]'"]:not(.bbQR5lX5X8jm0LSaC_kj):not(.w7sEmdNn7fYHw9xep5OO) { + background: red; } +", + "", + ], +] +`; -@keyframes d { - 0% { left: 10px; } - 100% { left: 20px; } -} +exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -.d1 { - animation: d1; - animation: d2, d3, d4; +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; + +exports[`"modules" option should work with case \`media\` (\`modules\` value 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, \`@value small: (max-width: 599px); + +@media small { + .header { + box-shadow: 0 0 4px #1F4F7F; + } } +\`, ""]); +// Exports +export default ___CSS_LOADER_EXPORT___; +" +`; -.d2 { - animation: t_7395fSNCEOOSMbhvnA; +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/media/source.css", + "@value small: (max-width: 599px); + +@media small { + .header { + box-shadow: 0 0 4px #1F4F7F; + } } ", "", @@ -8707,31 +18299,36 @@ Array [ ] `; -exports[`"modules" option should work with case \`leak-scope\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".abc :local(.def) {\\\\n color: red;\\\\n}\\\\n\\\\n:local .ghi .jkl {\\\\n color: blue;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@media (max-width: 599px) { + .header { + box-shadow: 0 0 4px #1F4F7F; + } +} +\`, ""]); // Exports +export var small = \`(max-width: 599px)\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local/source.css", - ".abc :local(.def) { - color: red; -} - -:local .ghi .jkl { - color: blue; +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/media/source.css", + "@media (max-width: 599px) { + .header { + box-shadow: 0 0 4px #1F4F7F; + } } ", "", @@ -8739,36 +18336,37 @@ Array [ ] `; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".abc .OajGidt54eDBm48T7D0O {\\\\n color: red;\\\\n}\\\\n\\\\n.Qt_FjxZggI85_6ekLN7Y ._VuU6BErY70vQ0tSS3aC {\\\\n color: blue;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@media (max-width: 599px) { + .roWR_NnfBdMMmj23aQo2 { + box-shadow: 0 0 4px #1F4F7F; + } +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"OajGidt54eDBm48T7D0O\\", - \\"ghi\\": \\"Qt_FjxZggI85_6ekLN7Y\\", - \\"jkl\\": \\"_VuU6BErY70vQ0tSS3aC\\" -}; +export var small = \`(max-width: 599px)\`; +export var header = \`roWR_NnfBdMMmj23aQo2\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local/source.css", - ".abc .OajGidt54eDBm48T7D0O { - color: red; -} - -.Qt_FjxZggI85_6ekLN7Y ._VuU6BErY70vQ0tSS3aC { - color: blue; +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/media/source.css", + "@media (max-width: 599px) { + .roWR_NnfBdMMmj23aQo2 { + box-shadow: 0 0 4px #1F4F7F; + } } ", "", @@ -8776,37 +18374,36 @@ Array [ ] `; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"._sYjn4TsYEXoS28iVDZc .OajGidt54eDBm48T7D0O {\\\\n color: red;\\\\n}\\\\n\\\\n.Qt_FjxZggI85_6ekLN7Y ._VuU6BErY70vQ0tSS3aC {\\\\n color: blue;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@media (max-width: 599px) { + .header { + box-shadow: 0 0 4px #1F4F7F; + } +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"abc\\": \\"_sYjn4TsYEXoS28iVDZc\\", - \\"def\\": \\"OajGidt54eDBm48T7D0O\\", - \\"ghi\\": \\"Qt_FjxZggI85_6ekLN7Y\\", - \\"jkl\\": \\"_VuU6BErY70vQ0tSS3aC\\" -}; +export var small = \`(max-width: 599px)\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local/source.css", - "._sYjn4TsYEXoS28iVDZc .OajGidt54eDBm48T7D0O { - color: red; -} - -.Qt_FjxZggI85_6ekLN7Y ._VuU6BErY70vQ0tSS3aC { - color: blue; +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/media/source.css", + "@media (max-width: 599px) { + .header { + box-shadow: 0 0 4px #1F4F7F; + } } ", "", @@ -8814,36 +18411,37 @@ Array [ ] `; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".abc ._def {\\\\n color: red;\\\\n}\\\\n\\\\n._ghi ._jkl {\\\\n color: blue;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@media (max-width: 599px) { + ._header { + box-shadow: 0 0 4px #1F4F7F; + } +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"_def\\", - \\"ghi\\": \\"_ghi\\", - \\"jkl\\": \\"_jkl\\" -}; +export var small = \`(max-width: 599px)\`; +export var header = \`_header\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local/source.css", - ".abc ._def { - color: red; -} - -._ghi ._jkl { - color: blue; +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/media/source.css", + "@media (max-width: 599px) { + ._header { + box-shadow: 0 0 4px #1F4F7F; + } } ", "", @@ -8851,37 +18449,37 @@ Array [ ] `; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"._abc ._def {\\\\n color: red;\\\\n}\\\\n\\\\n._ghi ._jkl {\\\\n color: blue;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@media (max-width: 599px) { + .roWR_NnfBdMMmj23aQo2 { + box-shadow: 0 0 4px #1F4F7F; + } +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"abc\\": \\"_abc\\", - \\"def\\": \\"_def\\", - \\"ghi\\": \\"_ghi\\", - \\"jkl\\": \\"_jkl\\" -}; +export var small = \`(max-width: 599px)\`; +export var header = \`roWR_NnfBdMMmj23aQo2\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local/source.css", - "._abc ._def { - color: red; -} - -._ghi ._jkl { - color: blue; +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/media/source.css", + "@media (max-width: 599px) { + .roWR_NnfBdMMmj23aQo2 { + box-shadow: 0 0 4px #1F4F7F; + } } ", "", @@ -8889,37 +18487,37 @@ Array [ ] `; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`media\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"._sYjn4TsYEXoS28iVDZc .OajGidt54eDBm48T7D0O {\\\\n color: red;\\\\n}\\\\n\\\\n.Qt_FjxZggI85_6ekLN7Y ._VuU6BErY70vQ0tSS3aC {\\\\n color: blue;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@value small from './file.css'; +@media small { + .header { + box-shadow: 0 0 4px #1F4F7F; + } +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"abc\\": \\"_sYjn4TsYEXoS28iVDZc\\", - \\"def\\": \\"OajGidt54eDBm48T7D0O\\", - \\"ghi\\": \\"Qt_FjxZggI85_6ekLN7Y\\", - \\"jkl\\": \\"_VuU6BErY70vQ0tSS3aC\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local/source.css", - "._sYjn4TsYEXoS28iVDZc .OajGidt54eDBm48T7D0O { - color: red; -} - -.Qt_FjxZggI85_6ekLN7Y ._VuU6BErY70vQ0tSS3aC { - color: blue; +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/media-2/source.css", + "@value small from './file.css'; +@media small { + .header { + box-shadow: 0 0 4px #1F4F7F; + } } ", "", @@ -8927,405 +18525,484 @@ Array [ ] `; -exports[`"modules" option should work with case \`local\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file.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, \\":local(.className) { background: red; }\\\\n:local(#someId) { background: green; }\\\\n:local(.className .subClass) { color: green; }\\\\n:local(#someId .subClass) { color: blue; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@media \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["small"] } { + .header { + box-shadow: 0 0 4px #1F4F7F; + } +} +\`, ""]); // Exports +export var small = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["small"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local-2/source.css", - ":local(.className) { background: red; } -:local(#someId) { background: green; } -:local(.className .subClass) { color: green; } -:local(#someId .subClass) { color: blue; } +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/media-2/file.css", + " +", + "", + ], + [ + "./modules/tests-cases/media-2/source.css", + "@media (max-width: 599px) { + .header { + box-shadow: 0 0 4px #1F4F7F; + } +} ", "", ], ] `; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file.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, \\".AxypVHMQn0wH0DNtrrpJ { background: red; }\\\\n#PpmEIBoXX_rtzq7419O3 { background: green; }\\\\n.AxypVHMQn0wH0DNtrrpJ .N4KP3ELzaqlr2dXphIji { color: green; }\\\\n#PpmEIBoXX_rtzq7419O3 .N4KP3ELzaqlr2dXphIji { color: blue; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@media \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["small"] } { + .iScd4OsSf4X8zd78mkg4 { + box-shadow: 0 0 4px #1F4F7F; + } +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"className\\": \\"AxypVHMQn0wH0DNtrrpJ\\", - \\"someId\\": \\"PpmEIBoXX_rtzq7419O3\\", - \\"subClass\\": \\"N4KP3ELzaqlr2dXphIji\\" -}; +export var small = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["small"]}\`; +export var header = \`iScd4OsSf4X8zd78mkg4\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local-2/source.css", - ".AxypVHMQn0wH0DNtrrpJ { background: red; } -#PpmEIBoXX_rtzq7419O3 { background: green; } -.AxypVHMQn0wH0DNtrrpJ .N4KP3ELzaqlr2dXphIji { color: green; } -#PpmEIBoXX_rtzq7419O3 .N4KP3ELzaqlr2dXphIji { color: blue; } +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/media-2/file.css", + " +", + "", + ], + [ + "./modules/tests-cases/media-2/source.css", + "@media (max-width: 599px) { + .iScd4OsSf4X8zd78mkg4 { + box-shadow: 0 0 4px #1F4F7F; + } +} ", "", ], ] `; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file.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, \\".AxypVHMQn0wH0DNtrrpJ { background: red; }\\\\n#PpmEIBoXX_rtzq7419O3 { background: green; }\\\\n.AxypVHMQn0wH0DNtrrpJ .N4KP3ELzaqlr2dXphIji { color: green; }\\\\n#PpmEIBoXX_rtzq7419O3 .N4KP3ELzaqlr2dXphIji { color: blue; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@media \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["small"] } { + .header { + box-shadow: 0 0 4px #1F4F7F; + } +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"className\\": \\"AxypVHMQn0wH0DNtrrpJ\\", - \\"someId\\": \\"PpmEIBoXX_rtzq7419O3\\", - \\"subClass\\": \\"N4KP3ELzaqlr2dXphIji\\" -}; +export var small = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["small"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local-2/source.css", - ".AxypVHMQn0wH0DNtrrpJ { background: red; } -#PpmEIBoXX_rtzq7419O3 { background: green; } -.AxypVHMQn0wH0DNtrrpJ .N4KP3ELzaqlr2dXphIji { color: green; } -#PpmEIBoXX_rtzq7419O3 .N4KP3ELzaqlr2dXphIji { color: blue; } +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/media-2/file.css", + " +", + "", + ], + [ + "./modules/tests-cases/media-2/source.css", + "@media (max-width: 599px) { + .header { + box-shadow: 0 0 4px #1F4F7F; + } +} ", "", ], ] `; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file.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, \\"._className { background: red; }\\\\n#_someId { background: green; }\\\\n._className ._subClass { color: green; }\\\\n#_someId ._subClass { color: blue; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@media \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["small"] } { + ._header { + box-shadow: 0 0 4px #1F4F7F; + } +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"className\\": \\"_className\\", - \\"someId\\": \\"_someId\\", - \\"subClass\\": \\"_subClass\\" -}; +export var small = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["small"]}\`; +export var header = \`_header\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local-2/source.css", - "._className { background: red; } -#_someId { background: green; } -._className ._subClass { color: green; } -#_someId ._subClass { color: blue; } +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/media-2/file.css", + " +", + "", + ], + [ + "./modules/tests-cases/media-2/source.css", + "@media (max-width: 599px) { + ._header { + box-shadow: 0 0 4px #1F4F7F; + } +} ", "", ], ] `; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file.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, \\"._className { background: red; }\\\\n#_someId { background: green; }\\\\n._className ._subClass { color: green; }\\\\n#_someId ._subClass { color: blue; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@media \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["small"] } { + .iScd4OsSf4X8zd78mkg4 { + box-shadow: 0 0 4px #1F4F7F; + } +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"className\\": \\"_className\\", - \\"someId\\": \\"_someId\\", - \\"subClass\\": \\"_subClass\\" -}; +export var small = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["small"]}\`; +export var header = \`iScd4OsSf4X8zd78mkg4\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local-2/source.css", - "._className { background: red; } -#_someId { background: green; } -._className ._subClass { color: green; } -#_someId ._subClass { color: blue; } +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/media-2/file.css", + " +", + "", + ], + [ + "./modules/tests-cases/media-2/source.css", + "@media (max-width: 599px) { + .iScd4OsSf4X8zd78mkg4 { + box-shadow: 0 0 4px #1F4F7F; + } +} ", "", ], ] `; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".AxypVHMQn0wH0DNtrrpJ { background: red; }\\\\n#PpmEIBoXX_rtzq7419O3 { background: green; }\\\\n.AxypVHMQn0wH0DNtrrpJ .N4KP3ELzaqlr2dXphIji { color: green; }\\\\n#PpmEIBoXX_rtzq7419O3 .N4KP3ELzaqlr2dXphIji { color: blue; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.c1 :local .c2 .c3 :global .c4 :local .c5, .c6 :local .c7 { background: red; } +.c8 { background: red; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"className\\": \\"AxypVHMQn0wH0DNtrrpJ\\", - \\"someId\\": \\"PpmEIBoXX_rtzq7419O3\\", - \\"subClass\\": \\"N4KP3ELzaqlr2dXphIji\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local-2/source.css", - ".AxypVHMQn0wH0DNtrrpJ { background: red; } -#PpmEIBoXX_rtzq7419O3 { background: green; } -.AxypVHMQn0wH0DNtrrpJ .N4KP3ELzaqlr2dXphIji { color: green; } -#PpmEIBoXX_rtzq7419O3 .N4KP3ELzaqlr2dXphIji { color: blue; } +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/mode-switching/source.css", + ".c1 :local .c2 .c3 :global .c4 :local .c5, .c6 :local .c7 { background: red; } +.c8 { background: red; } ", "", ], ] `; -exports[`"modules" option should work with case \`local-2\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\":local(.abc) {\\\\n color: red;\\\\n}\\\\n:local(.def) {\\\\n composes: abc;\\\\n background: green;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.c1 .cvvzkfUNxHw6Ysfh0h0d .gvTN07vHvS1K7HmlyjaS .c4 .iEEgMt69hRvFqKd3Ixjk, .c6 .HE5tPJwJMZ659vvaAnkn { background: red; } +.c8 { background: red; } +\`, ""]); // Exports +export var c2 = \`cvvzkfUNxHw6Ysfh0h0d\`; +export var c3 = \`gvTN07vHvS1K7HmlyjaS\`; +export var c5 = \`iEEgMt69hRvFqKd3Ixjk\`; +export var c7 = \`HE5tPJwJMZ659vvaAnkn\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local-and-composes/source.css", - ":local(.abc) { - color: red; -} -:local(.def) { - composes: abc; - background: green; -} +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/mode-switching/source.css", + ".c1 .cvvzkfUNxHw6Ysfh0h0d .gvTN07vHvS1K7HmlyjaS .c4 .iEEgMt69hRvFqKd3Ixjk, .c6 .HE5tPJwJMZ659vvaAnkn { background: red; } +.c8 { background: red; } ", "", ], ] `; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".U6VNM0jdiL1zmflwNtYZ {\\\\n color: red;\\\\n}\\\\n.hbqF554cADwiunEI87Nw {\\\\n background: green;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._9J5UqLXdth6c988_Wsj .cvvzkfUNxHw6Ysfh0h0d .gvTN07vHvS1K7HmlyjaS .c4 .iEEgMt69hRvFqKd3Ixjk, .fapGzC9Gd0DKiPGjJBJ9 .HE5tPJwJMZ659vvaAnkn { background: red; } +.Q8APr3CWlPrVofeBAgdS { background: red; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"abc\\": \\"U6VNM0jdiL1zmflwNtYZ\\", - \\"def\\": \\"hbqF554cADwiunEI87Nw U6VNM0jdiL1zmflwNtYZ\\" -}; +export var c1 = \`_9J5UqLXdth6c988_Wsj\`; +export var c2 = \`cvvzkfUNxHw6Ysfh0h0d\`; +export var c3 = \`gvTN07vHvS1K7HmlyjaS\`; +export var c5 = \`iEEgMt69hRvFqKd3Ixjk\`; +export var c6 = \`fapGzC9Gd0DKiPGjJBJ9\`; +export var c7 = \`HE5tPJwJMZ659vvaAnkn\`; +export var c8 = \`Q8APr3CWlPrVofeBAgdS\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local-and-composes/source.css", - ".U6VNM0jdiL1zmflwNtYZ { - color: red; -} -.hbqF554cADwiunEI87Nw { - background: green; -} +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/mode-switching/source.css", + "._9J5UqLXdth6c988_Wsj .cvvzkfUNxHw6Ysfh0h0d .gvTN07vHvS1K7HmlyjaS .c4 .iEEgMt69hRvFqKd3Ixjk, .fapGzC9Gd0DKiPGjJBJ9 .HE5tPJwJMZ659vvaAnkn { background: red; } +.Q8APr3CWlPrVofeBAgdS { background: red; } ", "", ], ] `; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".U6VNM0jdiL1zmflwNtYZ {\\\\n color: red;\\\\n}\\\\n.hbqF554cADwiunEI87Nw {\\\\n background: green;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.c1 ._c2 ._c3 .c4 ._c5, .c6 ._c7 { background: red; } +.c8 { background: red; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"abc\\": \\"U6VNM0jdiL1zmflwNtYZ\\", - \\"def\\": \\"hbqF554cADwiunEI87Nw U6VNM0jdiL1zmflwNtYZ\\" -}; +export var c2 = \`_c2\`; +export var c3 = \`_c3\`; +export var c5 = \`_c5\`; +export var c7 = \`_c7\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local-and-composes/source.css", - ".U6VNM0jdiL1zmflwNtYZ { - color: red; -} -.hbqF554cADwiunEI87Nw { - background: green; -} +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/mode-switching/source.css", + ".c1 ._c2 ._c3 .c4 ._c5, .c6 ._c7 { background: red; } +.c8 { background: red; } ", "", ], ] `; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"._abc {\\\\n color: red;\\\\n}\\\\n._def {\\\\n background: green;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._c1 ._c2 ._c3 .c4 ._c5, ._c6 ._c7 { background: red; } +._c8 { background: red; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"abc\\": \\"_abc\\", - \\"def\\": \\"_def _abc\\" -}; +export var c1 = \`_c1\`; +export var c2 = \`_c2\`; +export var c3 = \`_c3\`; +export var c5 = \`_c5\`; +export var c6 = \`_c6\`; +export var c7 = \`_c7\`; +export var c8 = \`_c8\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local-and-composes/source.css", - "._abc { - color: red; -} -._def { - background: green; -} +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/mode-switching/source.css", + "._c1 ._c2 ._c3 .c4 ._c5, ._c6 ._c7 { background: red; } +._c8 { background: red; } ", "", ], ] `; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"._abc {\\\\n color: red;\\\\n}\\\\n._def {\\\\n background: green;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._9J5UqLXdth6c988_Wsj .cvvzkfUNxHw6Ysfh0h0d .gvTN07vHvS1K7HmlyjaS .c4 .iEEgMt69hRvFqKd3Ixjk, .fapGzC9Gd0DKiPGjJBJ9 .HE5tPJwJMZ659vvaAnkn { background: red; } +.Q8APr3CWlPrVofeBAgdS { background: red; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"abc\\": \\"_abc\\", - \\"def\\": \\"_def _abc\\" -}; +export var c1 = \`_9J5UqLXdth6c988_Wsj\`; +export var c2 = \`cvvzkfUNxHw6Ysfh0h0d\`; +export var c3 = \`gvTN07vHvS1K7HmlyjaS\`; +export var c5 = \`iEEgMt69hRvFqKd3Ixjk\`; +export var c6 = \`fapGzC9Gd0DKiPGjJBJ9\`; +export var c7 = \`HE5tPJwJMZ659vvaAnkn\`; +export var c8 = \`Q8APr3CWlPrVofeBAgdS\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local-and-composes/source.css", - "._abc { - color: red; -} -._def { - background: green; -} +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/mode-switching/source.css", + "._9J5UqLXdth6c988_Wsj .cvvzkfUNxHw6Ysfh0h0d .gvTN07vHvS1K7HmlyjaS .c4 .iEEgMt69hRvFqKd3Ixjk, .fapGzC9Gd0DKiPGjJBJ9 .HE5tPJwJMZ659vvaAnkn { background: red; } +.Q8APr3CWlPrVofeBAgdS { background: red; } ", "", ], ] `; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".U6VNM0jdiL1zmflwNtYZ {\\\\n color: red;\\\\n}\\\\n.hbqF554cADwiunEI87Nw {\\\\n background: green;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.a .b, .c .d, #id { + color: green; + font-size: 1.5pt; +} +a[href="#b.c"].x.y { + color: green; + font-size: 1.5pt; +} +@keyframes z { + 2.5% {color: green;} +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"abc\\": \\"U6VNM0jdiL1zmflwNtYZ\\", - \\"def\\": \\"hbqF554cADwiunEI87Nw U6VNM0jdiL1zmflwNtYZ\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local-and-composes/source.css", - ".U6VNM0jdiL1zmflwNtYZ { - color: red; +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/simple/source.css", + ".a .b, .c .d, #id { + color: green; + font-size: 1.5pt; } -.hbqF554cADwiunEI87Nw { - background: green; +a[href="#b.c"].x.y { + color: green; + font-size: 1.5pt; +} +@keyframes z { + 2.5% {color: green;} } ", "", @@ -9333,27 +19010,47 @@ Array [ ] `; -exports[`"modules" option should work with case \`local-and-composes\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\":local(.c1[data-attr=\\\\\\".c2)]'\\\\\\"]:not(.c3):not(.c4)) {\\\\n background: red;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.a .b, .c .d, #id { + color: green; + font-size: 1.5pt; +} +a[href="#b.c"].x.y { + color: green; + font-size: 1.5pt; +} +@keyframes z { + 2.5% {color: green;} +} +\`, ""]); // Exports export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local-with-string/source.css", - ":local(.c1[data-attr=\\".c2)]'\\"]:not(.c3):not(.c4)) { - background: red; +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/simple/source.css", + ".a .b, .c .d, #id { + color: green; + font-size: 1.5pt; +} +a[href="#b.c"].x.y { + color: green; + font-size: 1.5pt; +} +@keyframes z { + 2.5% {color: green;} } ", "", @@ -9361,32 +19058,55 @@ Array [ ] `; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"._IUz7OzNhJAeG3QxLebh[data-attr=\\\\\\".c2)]'\\\\\\"]:not(.TpoTIBmE5bAZBPJDt5IK):not(._FrVjwbF4lEUSJdwwAfe) {\\\\n background: red;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.uiqHVPgSE7ScgC5LaMwc .trJwkiX5blwzqE3odcWL, .yFvz26Bw51zC99_k6bLx .a67Lx0rqkltZzYDvWEbg, #a5nTtYhJTLvvczPx6zE6 { + color: green; + font-size: 1.5pt; +} +a[href="#b.c"].rkAmGkC9BqIFFpX1aCrb.AagZJBgZTXpEPmx6TUWE { + color: green; + font-size: 1.5pt; +} +@keyframes KCqij5E_FHOsKFHTyHBp { + 2.5% {color: green;} +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"_IUz7OzNhJAeG3QxLebh\\", - \\"c3\\": \\"TpoTIBmE5bAZBPJDt5IK\\", - \\"c4\\": \\"_FrVjwbF4lEUSJdwwAfe\\" -}; +export var a = \`uiqHVPgSE7ScgC5LaMwc\`; +export var b = \`trJwkiX5blwzqE3odcWL\`; +export var c = \`yFvz26Bw51zC99_k6bLx\`; +export var d = \`a67Lx0rqkltZzYDvWEbg\`; +export var id = \`a5nTtYhJTLvvczPx6zE6\`; +export var x = \`rkAmGkC9BqIFFpX1aCrb\`; +export var y = \`AagZJBgZTXpEPmx6TUWE\`; +export var z = \`KCqij5E_FHOsKFHTyHBp\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local-with-string/source.css", - "._IUz7OzNhJAeG3QxLebh[data-attr=\\".c2)]'\\"]:not(.TpoTIBmE5bAZBPJDt5IK):not(._FrVjwbF4lEUSJdwwAfe) { - background: red; +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/simple/source.css", + ".uiqHVPgSE7ScgC5LaMwc .trJwkiX5blwzqE3odcWL, .yFvz26Bw51zC99_k6bLx .a67Lx0rqkltZzYDvWEbg, #a5nTtYhJTLvvczPx6zE6 { + color: green; + font-size: 1.5pt; +} +a[href="#b.c"].rkAmGkC9BqIFFpX1aCrb.AagZJBgZTXpEPmx6TUWE { + color: green; + font-size: 1.5pt; +} +@keyframes KCqij5E_FHOsKFHTyHBp { + 2.5% {color: green;} } ", "", @@ -9394,32 +19114,47 @@ Array [ ] `; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"._IUz7OzNhJAeG3QxLebh[data-attr=\\\\\\".c2)]'\\\\\\"]:not(.TpoTIBmE5bAZBPJDt5IK):not(._FrVjwbF4lEUSJdwwAfe) {\\\\n background: red;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.a .b, .c .d, #id { + color: green; + font-size: 1.5pt; +} +a[href="#b.c"].x.y { + color: green; + font-size: 1.5pt; +} +@keyframes z { + 2.5% {color: green;} +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"_IUz7OzNhJAeG3QxLebh\\", - \\"c3\\": \\"TpoTIBmE5bAZBPJDt5IK\\", - \\"c4\\": \\"_FrVjwbF4lEUSJdwwAfe\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local-with-string/source.css", - "._IUz7OzNhJAeG3QxLebh[data-attr=\\".c2)]'\\"]:not(.TpoTIBmE5bAZBPJDt5IK):not(._FrVjwbF4lEUSJdwwAfe) { - background: red; +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/simple/source.css", + ".a .b, .c .d, #id { + color: green; + font-size: 1.5pt; +} +a[href="#b.c"].x.y { + color: green; + font-size: 1.5pt; +} +@keyframes z { + 2.5% {color: green;} } ", "", @@ -9427,32 +19162,55 @@ Array [ ] `; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"._c1[data-attr=\\\\\\".c2)]'\\\\\\"]:not(._c3):not(._c4) {\\\\n background: red;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._a ._b, ._c ._d, #_id { + color: green; + font-size: 1.5pt; +} +a[href="#b.c"]._x._y { + color: green; + font-size: 1.5pt; +} +@keyframes _z { + 2.5% {color: green;} +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"_c1\\", - \\"c3\\": \\"_c3\\", - \\"c4\\": \\"_c4\\" -}; +export var a = \`_a\`; +export var b = \`_b\`; +export var c = \`_c\`; +export var d = \`_d\`; +export var id = \`_id\`; +export var x = \`_x\`; +export var y = \`_y\`; +export var z = \`_z\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local-with-string/source.css", - "._c1[data-attr=\\".c2)]'\\"]:not(._c3):not(._c4) { - background: red; +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/simple/source.css", + "._a ._b, ._c ._d, #_id { + color: green; + font-size: 1.5pt; +} +a[href="#b.c"]._x._y { + color: green; + font-size: 1.5pt; +} +@keyframes _z { + 2.5% {color: green;} } ", "", @@ -9460,32 +19218,55 @@ Array [ ] `; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"._c1[data-attr=\\\\\\".c2)]'\\\\\\"]:not(._c3):not(._c4) {\\\\n background: red;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.uiqHVPgSE7ScgC5LaMwc .trJwkiX5blwzqE3odcWL, .yFvz26Bw51zC99_k6bLx .a67Lx0rqkltZzYDvWEbg, #a5nTtYhJTLvvczPx6zE6 { + color: green; + font-size: 1.5pt; +} +a[href="#b.c"].rkAmGkC9BqIFFpX1aCrb.AagZJBgZTXpEPmx6TUWE { + color: green; + font-size: 1.5pt; +} +@keyframes KCqij5E_FHOsKFHTyHBp { + 2.5% {color: green;} +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"_c1\\", - \\"c3\\": \\"_c3\\", - \\"c4\\": \\"_c4\\" -}; +export var a = \`uiqHVPgSE7ScgC5LaMwc\`; +export var b = \`trJwkiX5blwzqE3odcWL\`; +export var c = \`yFvz26Bw51zC99_k6bLx\`; +export var d = \`a67Lx0rqkltZzYDvWEbg\`; +export var id = \`a5nTtYhJTLvvczPx6zE6\`; +export var x = \`rkAmGkC9BqIFFpX1aCrb\`; +export var y = \`AagZJBgZTXpEPmx6TUWE\`; +export var z = \`KCqij5E_FHOsKFHTyHBp\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local-with-string/source.css", - "._c1[data-attr=\\".c2)]'\\"]:not(._c3):not(._c4) { - background: red; +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/simple/source.css", + ".uiqHVPgSE7ScgC5LaMwc .trJwkiX5blwzqE3odcWL, .yFvz26Bw51zC99_k6bLx .a67Lx0rqkltZzYDvWEbg, #a5nTtYhJTLvvczPx6zE6 { + color: green; + font-size: 1.5pt; +} +a[href="#b.c"].rkAmGkC9BqIFFpX1aCrb.AagZJBgZTXpEPmx6TUWE { + color: green; + font-size: 1.5pt; +} +@keyframes KCqij5E_FHOsKFHTyHBp { + 2.5% {color: green;} } ", "", @@ -9493,32 +19274,61 @@ Array [ ] `; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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("./img img.png", import.meta.url); +var ___CSS_LOADER_URL_IMPORT_2___ = new URL("data:image/png;base64,AAA", 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___); +var ___CSS_LOADER_URL_REPLACEMENT_2___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___, { hash: "#?iefix" }); +var ___CSS_LOADER_URL_REPLACEMENT_3___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___); // Module -___CSS_LOADER_EXPORT___.push([module.id, \\"._IUz7OzNhJAeG3QxLebh[data-attr=\\\\\\".c2)]'\\\\\\"]:not(.TpoTIBmE5bAZBPJDt5IK):not(._FrVjwbF4lEUSJdwwAfe) {\\\\n background: red;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.a { + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_1___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_1___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_2___%7D); + background: url("#hash"); + background: url("#"); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_3___%7D); + background: url(http://example.com/image.jpg); + background: url(http://example.com/image.png); + background: green url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_3___%7D) url(http://example.com/image.jpg) url(http://example.com/image.png) url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D) url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_1___%7D) xyz; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"_IUz7OzNhJAeG3QxLebh\\", - \\"c3\\": \\"TpoTIBmE5bAZBPJDt5IK\\", - \\"c4\\": \\"_FrVjwbF4lEUSJdwwAfe\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/local-with-string/source.css", - "._IUz7OzNhJAeG3QxLebh[data-attr=\\".c2)]'\\"]:not(.TpoTIBmE5bAZBPJDt5IK):not(._FrVjwbF4lEUSJdwwAfe) { - background: red; +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/urls/source.css", + ".a { + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); + background: url("http://github.com/replaced_file_protocol_/webpack/public/path/img%20img.png"); + background: url("http://github.com/replaced_file_protocol_/webpack/public/path/img%20img.png"); + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png#?iefix); + background: url("#hash"); + background: url("#"); + background: url(data:image/png;base64,AAA); + background: url(http://example.com/image.jpg); + background: url(http://example.com/image.png); + background: green url(data:image/png;base64,AAA) url(http://example.com/image.jpg) url(http://example.com/image.png) url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png) url("http://github.com/replaced_file_protocol_/webpack/public/path/img%20img.png") xyz; } ", "", @@ -9526,31 +19336,61 @@ Array [ ] `; -exports[`"modules" option should work with case \`local-with-string\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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("./img img.png", import.meta.url); +var ___CSS_LOADER_URL_IMPORT_2___ = new URL("data:image/png;base64,AAA", 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___); +var ___CSS_LOADER_URL_REPLACEMENT_2___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___, { hash: "#?iefix" }); +var ___CSS_LOADER_URL_REPLACEMENT_3___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___); // Module -___CSS_LOADER_EXPORT___.push([module.id, \\"@value small: (max-width: 599px);\\\\n\\\\n@media small {\\\\n .header {\\\\n box-shadow: 0 0 4px #1F4F7F;\\\\n }\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.a { + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_1___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_1___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_2___%7D); + background: url("#hash"); + background: url("#"); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_3___%7D); + background: url(http://example.com/image.jpg); + background: url(http://example.com/image.png); + background: green url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_3___%7D) url(http://example.com/image.jpg) url(http://example.com/image.png) url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D) url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_1___%7D) xyz; +} +\`, ""]); // Exports export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/media/source.css", - "@value small: (max-width: 599px); - -@media small { - .header { - box-shadow: 0 0 4px #1F4F7F; - } +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/urls/source.css", + ".a { + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); + background: url("http://github.com/replaced_file_protocol_/webpack/public/path/img%20img.png"); + background: url("http://github.com/replaced_file_protocol_/webpack/public/path/img%20img.png"); + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png#?iefix); + background: url("#hash"); + background: url("#"); + background: url(data:image/png;base64,AAA); + background: url(http://example.com/image.jpg); + background: url(http://example.com/image.png); + background: green url(data:image/png;base64,AAA) url(http://example.com/image.jpg) url(http://example.com/image.png) url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png) url("http://github.com/replaced_file_protocol_/webpack/public/path/img%20img.png") xyz; } ", "", @@ -9558,32 +19398,62 @@ Array [ ] `; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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("./img img.png", import.meta.url); +var ___CSS_LOADER_URL_IMPORT_2___ = new URL("data:image/png;base64,AAA", 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___); +var ___CSS_LOADER_URL_REPLACEMENT_2___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___, { hash: "#?iefix" }); +var ___CSS_LOADER_URL_REPLACEMENT_3___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___); // Module -___CSS_LOADER_EXPORT___.push([module.id, \\"@media (max-width: 599px) {\\\\n .header {\\\\n box-shadow: 0 0 4px #1F4F7F;\\\\n }\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.Z6VGQ34mz98OPjBRd02i { + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_1___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_1___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_2___%7D); + background: url("#hash"); + background: url("#"); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_3___%7D); + background: url(http://example.com/image.jpg); + background: url(http://example.com/image.png); + background: green url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_3___%7D) url(http://example.com/image.jpg) url(http://example.com/image.png) url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D) url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_1___%7D) xyz; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"small\\": \\"(max-width: 599px)\\" -}; +export var a = \`Z6VGQ34mz98OPjBRd02i\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/media/source.css", - "@media (max-width: 599px) { - .header { - box-shadow: 0 0 4px #1F4F7F; - } +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/urls/source.css", + ".Z6VGQ34mz98OPjBRd02i { + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); + background: url("http://github.com/replaced_file_protocol_/webpack/public/path/img%20img.png"); + background: url("http://github.com/replaced_file_protocol_/webpack/public/path/img%20img.png"); + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png#?iefix); + background: url("#hash"); + background: url("#"); + background: url(data:image/png;base64,AAA); + background: url(http://example.com/image.jpg); + background: url(http://example.com/image.png); + background: green url(data:image/png;base64,AAA) url(http://example.com/image.jpg) url(http://example.com/image.png) url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png) url("http://github.com/replaced_file_protocol_/webpack/public/path/img%20img.png") xyz; } ", "", @@ -9591,33 +19461,61 @@ Array [ ] `; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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("./img img.png", import.meta.url); +var ___CSS_LOADER_URL_IMPORT_2___ = new URL("data:image/png;base64,AAA", 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___); +var ___CSS_LOADER_URL_REPLACEMENT_2___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___, { hash: "#?iefix" }); +var ___CSS_LOADER_URL_REPLACEMENT_3___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___); // Module -___CSS_LOADER_EXPORT___.push([module.id, \\"@media (max-width: 599px) {\\\\n .rjWbByS7EyX2_1_bFIu9 {\\\\n box-shadow: 0 0 4px #1F4F7F;\\\\n }\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.a { + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_1___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_1___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_2___%7D); + background: url("#hash"); + background: url("#"); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_3___%7D); + background: url(http://example.com/image.jpg); + background: url(http://example.com/image.png); + background: green url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_3___%7D) url(http://example.com/image.jpg) url(http://example.com/image.png) url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D) url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_1___%7D) xyz; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"small\\": \\"(max-width: 599px)\\", - \\"header\\": \\"rjWbByS7EyX2_1_bFIu9\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/media/source.css", - "@media (max-width: 599px) { - .rjWbByS7EyX2_1_bFIu9 { - box-shadow: 0 0 4px #1F4F7F; - } +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/urls/source.css", + ".a { + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); + background: url("http://github.com/replaced_file_protocol_/webpack/public/path/img%20img.png"); + background: url("http://github.com/replaced_file_protocol_/webpack/public/path/img%20img.png"); + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png#?iefix); + background: url("#hash"); + background: url("#"); + background: url(data:image/png;base64,AAA); + background: url(http://example.com/image.jpg); + background: url(http://example.com/image.png); + background: green url(data:image/png;base64,AAA) url(http://example.com/image.jpg) url(http://example.com/image.png) url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png) url("http://github.com/replaced_file_protocol_/webpack/public/path/img%20img.png") xyz; } ", "", @@ -9625,32 +19523,62 @@ Array [ ] `; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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("./img img.png", import.meta.url); +var ___CSS_LOADER_URL_IMPORT_2___ = new URL("data:image/png;base64,AAA", 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___); +var ___CSS_LOADER_URL_REPLACEMENT_2___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___, { hash: "#?iefix" }); +var ___CSS_LOADER_URL_REPLACEMENT_3___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___); // Module -___CSS_LOADER_EXPORT___.push([module.id, \\"@media (max-width: 599px) {\\\\n .header {\\\\n box-shadow: 0 0 4px #1F4F7F;\\\\n }\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._a { + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_1___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_1___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_2___%7D); + background: url("#hash"); + background: url("#"); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_3___%7D); + background: url(http://example.com/image.jpg); + background: url(http://example.com/image.png); + background: green url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_3___%7D) url(http://example.com/image.jpg) url(http://example.com/image.png) url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D) url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_1___%7D) xyz; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"small\\": \\"(max-width: 599px)\\" -}; +export var a = \`_a\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/media/source.css", - "@media (max-width: 599px) { - .header { - box-shadow: 0 0 4px #1F4F7F; - } +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/urls/source.css", + "._a { + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); + background: url("http://github.com/replaced_file_protocol_/webpack/public/path/img%20img.png"); + background: url("http://github.com/replaced_file_protocol_/webpack/public/path/img%20img.png"); + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png#?iefix); + background: url("#hash"); + background: url("#"); + background: url(data:image/png;base64,AAA); + background: url(http://example.com/image.jpg); + background: url(http://example.com/image.png); + background: green url(data:image/png;base64,AAA) url(http://example.com/image.jpg) url(http://example.com/image.png) url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png) url("http://github.com/replaced_file_protocol_/webpack/public/path/img%20img.png") xyz; } ", "", @@ -9658,33 +19586,62 @@ Array [ ] `; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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("./img img.png", import.meta.url); +var ___CSS_LOADER_URL_IMPORT_2___ = new URL("data:image/png;base64,AAA", 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___); +var ___CSS_LOADER_URL_REPLACEMENT_2___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___, { hash: "#?iefix" }); +var ___CSS_LOADER_URL_REPLACEMENT_3___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___); // Module -___CSS_LOADER_EXPORT___.push([module.id, \\"@media (max-width: 599px) {\\\\n ._header {\\\\n box-shadow: 0 0 4px #1F4F7F;\\\\n }\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.Z6VGQ34mz98OPjBRd02i { + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_1___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_1___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_2___%7D); + background: url("#hash"); + background: url("#"); + background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_3___%7D); + background: url(http://example.com/image.jpg); + background: url(http://example.com/image.png); + background: green url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_3___%7D) url(http://example.com/image.jpg) url(http://example.com/image.png) url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D) url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_1___%7D) xyz; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"small\\": \\"(max-width: 599px)\\", - \\"header\\": \\"_header\\" -}; +export var a = \`Z6VGQ34mz98OPjBRd02i\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/media/source.css", - "@media (max-width: 599px) { - ._header { - box-shadow: 0 0 4px #1F4F7F; - } +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/urls/source.css", + ".Z6VGQ34mz98OPjBRd02i { + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); + background: url("http://github.com/replaced_file_protocol_/webpack/public/path/img%20img.png"); + background: url("http://github.com/replaced_file_protocol_/webpack/public/path/img%20img.png"); + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); + background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png#?iefix); + background: url("#hash"); + background: url("#"); + background: url(data:image/png;base64,AAA); + background: url(http://example.com/image.jpg); + background: url(http://example.com/image.png); + background: green url(data:image/png;base64,AAA) url(http://example.com/image.jpg) url(http://example.com/image.png) url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png) url("http://github.com/replaced_file_protocol_/webpack/public/path/img%20img.png") xyz; } ", "", @@ -9692,33 +19649,43 @@ Array [ ] `; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"@media (max-width: 599px) {\\\\n .rjWbByS7EyX2_1_bFIu9 {\\\\n box-shadow: 0 0 4px #1F4F7F;\\\\n }\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@value aaa: red; +@value bbb: green; +@value ccc: aaa; + +.a { + background: aaa; + background: bbb; + background: ccc; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"small\\": \\"(max-width: 599px)\\", - \\"header\\": \\"rjWbByS7EyX2_1_bFIu9\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/media/source.css", - "@media (max-width: 599px) { - .rjWbByS7EyX2_1_bFIu9 { - box-shadow: 0 0 4px #1F4F7F; - } +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values/source.css", + "@value aaa: red; +@value bbb: green; +@value ccc: aaa; + +.a { + background: aaa; + background: bbb; + background: ccc; } ", "", @@ -9726,30 +19693,38 @@ Array [ ] `; -exports[`"modules" option should work with case \`media\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"@value small from './file.css';\\\\n@media small {\\\\n .header {\\\\n box-shadow: 0 0 4px #1F4F7F;\\\\n }\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.a { + background: red; + background: green; + background: red; +} +\`, ""]); // Exports +export var aaa = \`red\`; +export var bbb = \`green\`; +export var ccc = \`red\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/media-2/source.css", - "@value small from './file.css'; -@media small { - .header { - box-shadow: 0 0 4px #1F4F7F; - } +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values/source.css", + ".a { + background: red; + background: green; + background: red; } ", "", @@ -9757,40 +19732,39 @@ Array [ ] `; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\"@media \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"small\\"] + \\" {\\\\n .header {\\\\n box-shadow: 0 0 4px #1F4F7F;\\\\n }\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.QaTQMnRk7y0su2jo0kZZ { + background: red; + background: green; + background: red; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"small\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"small\\"] + \\"\\" -}; +export var aaa = \`red\`; +export var bbb = \`green\`; +export var ccc = \`red\`; +export var a = \`QaTQMnRk7y0su2jo0kZZ\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/media-2/file.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/media-2/source.css", - "@media (max-width: 599px) { - .header { - box-shadow: 0 0 4px #1F4F7F; - } +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values/source.css", + ".QaTQMnRk7y0su2jo0kZZ { + background: red; + background: green; + background: red; } ", "", @@ -9798,41 +19772,38 @@ Array [ ] `; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\"@media \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"small\\"] + \\" {\\\\n .qYoPiNBOzhIsxUNh711O {\\\\n box-shadow: 0 0 4px #1F4F7F;\\\\n }\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.a { + background: red; + background: green; + background: red; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"small\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"small\\"] + \\"\\", - \\"header\\": \\"qYoPiNBOzhIsxUNh711O\\" -}; +export var aaa = \`red\`; +export var bbb = \`green\`; +export var ccc = \`red\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/media-2/file.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/media-2/source.css", - "@media (max-width: 599px) { - .qYoPiNBOzhIsxUNh711O { - box-shadow: 0 0 4px #1F4F7F; - } +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values/source.css", + ".a { + background: red; + background: green; + background: red; } ", "", @@ -9840,40 +19811,39 @@ Array [ ] `; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\"@media \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"small\\"] + \\" {\\\\n .header {\\\\n box-shadow: 0 0 4px #1F4F7F;\\\\n }\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._a { + background: red; + background: green; + background: red; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"small\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"small\\"] + \\"\\" -}; +export var aaa = \`red\`; +export var bbb = \`green\`; +export var ccc = \`red\`; +export var a = \`_a\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/media-2/file.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/media-2/source.css", - "@media (max-width: 599px) { - .header { - box-shadow: 0 0 4px #1F4F7F; - } +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values/source.css", + "._a { + background: red; + background: green; + background: red; } ", "", @@ -9881,41 +19851,39 @@ Array [ ] `; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\"@media \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"small\\"] + \\" {\\\\n ._header {\\\\n box-shadow: 0 0 4px #1F4F7F;\\\\n }\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.QaTQMnRk7y0su2jo0kZZ { + background: red; + background: green; + background: red; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"small\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"small\\"] + \\"\\", - \\"header\\": \\"_header\\" -}; +export var aaa = \`red\`; +export var bbb = \`green\`; +export var ccc = \`red\`; +export var a = \`QaTQMnRk7y0su2jo0kZZ\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/media-2/file.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/media-2/source.css", - "@media (max-width: 599px) { - ._header { - box-shadow: 0 0 4px #1F4F7F; - } +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values/source.css", + ".QaTQMnRk7y0su2jo0kZZ { + background: red; + background: green; + background: red; } ", "", @@ -9923,2517 +19891,2788 @@ Array [ ] `; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\"@media \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"small\\"] + \\" {\\\\n .qYoPiNBOzhIsxUNh711O {\\\\n box-shadow: 0 0 4px #1F4F7F;\\\\n }\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@value def: red; +@value ghi: 1px solid black; +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"small\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"small\\"] + \\"\\", - \\"header\\": \\"qYoPiNBOzhIsxUNh711O\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/media-2/file.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/media-2/source.css", - "@media (max-width: 599px) { - .qYoPiNBOzhIsxUNh711O { - box-shadow: 0 0 4px #1F4F7F; - } -} +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-1/source.css", + "@value def: red; +@value ghi: 1px solid black; ", "", ], ] `; -exports[`"modules" option should work with case \`media-2\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".c1 :local .c2 .c3 :global .c4 :local .c5, .c6 :local .c7 { background: red; }\\\\n.c8 { background: red; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \` +\`, ""]); // Exports +export var def = \`red\`; +export var ghi = \`1px solid black\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/mode-switching/source.css", - ".c1 :local .c2 .c3 :global .c4 :local .c5, .c6 :local .c7 { background: red; } -.c8 { background: red; } +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-1/source.css", + " ", "", ], ] `; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".c1 .UwW_ZdiYTqJuoyKffA_2 ._KJdsOVe4DxlYDnOGj0x .c4 .ZLOPe_TYfvl7f_zoGyIF, .c6 .vwgm2W60OzC9LSv1iF15 { background: red; }\\\\n.c8 { background: red; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \` +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c2\\": \\"UwW_ZdiYTqJuoyKffA_2\\", - \\"c3\\": \\"_KJdsOVe4DxlYDnOGj0x\\", - \\"c5\\": \\"ZLOPe_TYfvl7f_zoGyIF\\", - \\"c7\\": \\"vwgm2W60OzC9LSv1iF15\\" -}; +export var def = \`red\`; +export var ghi = \`1px solid black\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/mode-switching/source.css", - ".c1 .UwW_ZdiYTqJuoyKffA_2 ._KJdsOVe4DxlYDnOGj0x .c4 .ZLOPe_TYfvl7f_zoGyIF, .c6 .vwgm2W60OzC9LSv1iF15 { background: red; } -.c8 { background: red; } +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-1/source.css", + " ", "", ], ] `; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".gEWgZ1c5eQP_FzfPcJY7 .UwW_ZdiYTqJuoyKffA_2 ._KJdsOVe4DxlYDnOGj0x .c4 .ZLOPe_TYfvl7f_zoGyIF, .OZs4_2P9qIicmpWKZCBl .vwgm2W60OzC9LSv1iF15 { background: red; }\\\\n.BIAg3yPnBcP4daR5DnKB { background: red; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \` +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"gEWgZ1c5eQP_FzfPcJY7\\", - \\"c2\\": \\"UwW_ZdiYTqJuoyKffA_2\\", - \\"c3\\": \\"_KJdsOVe4DxlYDnOGj0x\\", - \\"c5\\": \\"ZLOPe_TYfvl7f_zoGyIF\\", - \\"c6\\": \\"OZs4_2P9qIicmpWKZCBl\\", - \\"c7\\": \\"vwgm2W60OzC9LSv1iF15\\", - \\"c8\\": \\"BIAg3yPnBcP4daR5DnKB\\" -}; +export var def = \`red\`; +export var ghi = \`1px solid black\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/mode-switching/source.css", - ".gEWgZ1c5eQP_FzfPcJY7 .UwW_ZdiYTqJuoyKffA_2 ._KJdsOVe4DxlYDnOGj0x .c4 .ZLOPe_TYfvl7f_zoGyIF, .OZs4_2P9qIicmpWKZCBl .vwgm2W60OzC9LSv1iF15 { background: red; } -.BIAg3yPnBcP4daR5DnKB { background: red; } +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-1/source.css", + " ", "", ], ] `; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".c1 ._c2 ._c3 .c4 ._c5, .c6 ._c7 { background: red; }\\\\n.c8 { background: red; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \` +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c2\\": \\"_c2\\", - \\"c3\\": \\"_c3\\", - \\"c5\\": \\"_c5\\", - \\"c7\\": \\"_c7\\" -}; +export var def = \`red\`; +export var ghi = \`1px solid black\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/mode-switching/source.css", - ".c1 ._c2 ._c3 .c4 ._c5, .c6 ._c7 { background: red; } -.c8 { background: red; } +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-1/source.css", + " ", "", ], ] `; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"._c1 ._c2 ._c3 .c4 ._c5, ._c6 ._c7 { background: red; }\\\\n._c8 { background: red; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \` +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"_c1\\", - \\"c2\\": \\"_c2\\", - \\"c3\\": \\"_c3\\", - \\"c5\\": \\"_c5\\", - \\"c6\\": \\"_c6\\", - \\"c7\\": \\"_c7\\", - \\"c8\\": \\"_c8\\" -}; +export var def = \`red\`; +export var ghi = \`1px solid black\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/mode-switching/source.css", - "._c1 ._c2 ._c3 .c4 ._c5, ._c6 ._c7 { background: red; } -._c8 { background: red; } +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-1/source.css", + " ", "", ], ] `; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".gEWgZ1c5eQP_FzfPcJY7 .UwW_ZdiYTqJuoyKffA_2 ._KJdsOVe4DxlYDnOGj0x .c4 .ZLOPe_TYfvl7f_zoGyIF, .OZs4_2P9qIicmpWKZCBl .vwgm2W60OzC9LSv1iF15 { background: red; }\\\\n.BIAg3yPnBcP4daR5DnKB { background: red; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@value def: red; +.ghi { color: def; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"c1\\": \\"gEWgZ1c5eQP_FzfPcJY7\\", - \\"c2\\": \\"UwW_ZdiYTqJuoyKffA_2\\", - \\"c3\\": \\"_KJdsOVe4DxlYDnOGj0x\\", - \\"c5\\": \\"ZLOPe_TYfvl7f_zoGyIF\\", - \\"c6\\": \\"OZs4_2P9qIicmpWKZCBl\\", - \\"c7\\": \\"vwgm2W60OzC9LSv1iF15\\", - \\"c8\\": \\"BIAg3yPnBcP4daR5DnKB\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/mode-switching/source.css", - ".gEWgZ1c5eQP_FzfPcJY7 .UwW_ZdiYTqJuoyKffA_2 ._KJdsOVe4DxlYDnOGj0x .c4 .ZLOPe_TYfvl7f_zoGyIF, .OZs4_2P9qIicmpWKZCBl .vwgm2W60OzC9LSv1iF15 { background: red; } -.BIAg3yPnBcP4daR5DnKB { background: red; } +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-2/source.css", + "@value def: red; +.ghi { color: def; } ", "", ], ] `; -exports[`"modules" option should work with case \`mode-switching\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".a .b, .c .d, #id {\\\\n\\\\tcolor: green;\\\\n\\\\tfont-size: 1.5pt;\\\\n}\\\\na[href=\\\\\\"#b.c\\\\\\"].x.y {\\\\n\\\\tcolor: green;\\\\n\\\\tfont-size: 1.5pt;\\\\n}\\\\n@keyframes z {\\\\n 2.5% {color: green;}\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.ghi { color: red; } +\`, ""]); // Exports +export var def = \`red\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/simple/source.css", - ".a .b, .c .d, #id { - color: green; - font-size: 1.5pt; -} -a[href=\\"#b.c\\"].x.y { - color: green; - font-size: 1.5pt; -} -@keyframes z { - 2.5% {color: green;} -} +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-2/source.css", + ".ghi { color: red; } ", "", ], ] `; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".a .b, .c .d, #id {\\\\n\\\\tcolor: green;\\\\n\\\\tfont-size: 1.5pt;\\\\n}\\\\na[href=\\\\\\"#b.c\\\\\\"].x.y {\\\\n\\\\tcolor: green;\\\\n\\\\tfont-size: 1.5pt;\\\\n}\\\\n@keyframes z {\\\\n 2.5% {color: green;}\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.fOVNjOTD3GCGlScVbMZj { color: red; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = {}; +export var def = \`red\`; +export var ghi = \`fOVNjOTD3GCGlScVbMZj\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/simple/source.css", - ".a .b, .c .d, #id { - color: green; - font-size: 1.5pt; -} -a[href=\\"#b.c\\"].x.y { - color: green; - font-size: 1.5pt; -} -@keyframes z { - 2.5% {color: green;} -} +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-2/source.css", + ".fOVNjOTD3GCGlScVbMZj { color: red; } ", "", ], ] `; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".osJN4D_6JKjz440G1liY .yT06j2a6_YCqD067gkLl, ._5uJaSwQF_fmUhS0VltL .FuXGvG5ERVyecE1JlVhU, #_8CMEMjMI_AhwbXF_x1h {\\\\n\\\\tcolor: green;\\\\n\\\\tfont-size: 1.5pt;\\\\n}\\\\na[href=\\\\\\"#b.c\\\\\\"].qYcraGCHAAsr13FMoxHf.VaMep0IUcS74heg_U1oL {\\\\n\\\\tcolor: green;\\\\n\\\\tfont-size: 1.5pt;\\\\n}\\\\n@keyframes hAVSJ2rPYAeiVhXnKVC2 {\\\\n 2.5% {color: green;}\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.ghi { color: red; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"a\\": \\"osJN4D_6JKjz440G1liY\\", - \\"b\\": \\"yT06j2a6_YCqD067gkLl\\", - \\"c\\": \\"_5uJaSwQF_fmUhS0VltL\\", - \\"d\\": \\"FuXGvG5ERVyecE1JlVhU\\", - \\"id\\": \\"_8CMEMjMI_AhwbXF_x1h\\", - \\"x\\": \\"qYcraGCHAAsr13FMoxHf\\", - \\"y\\": \\"VaMep0IUcS74heg_U1oL\\", - \\"z\\": \\"hAVSJ2rPYAeiVhXnKVC2\\" -}; +export var def = \`red\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/simple/source.css", - ".osJN4D_6JKjz440G1liY .yT06j2a6_YCqD067gkLl, ._5uJaSwQF_fmUhS0VltL .FuXGvG5ERVyecE1JlVhU, #_8CMEMjMI_AhwbXF_x1h { - color: green; - font-size: 1.5pt; -} -a[href=\\"#b.c\\"].qYcraGCHAAsr13FMoxHf.VaMep0IUcS74heg_U1oL { - color: green; - font-size: 1.5pt; -} -@keyframes hAVSJ2rPYAeiVhXnKVC2 { - 2.5% {color: green;} -} +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-2/source.css", + ".ghi { color: red; } ", "", ], ] `; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".a .b, .c .d, #id {\\\\n\\\\tcolor: green;\\\\n\\\\tfont-size: 1.5pt;\\\\n}\\\\na[href=\\\\\\"#b.c\\\\\\"].x.y {\\\\n\\\\tcolor: green;\\\\n\\\\tfont-size: 1.5pt;\\\\n}\\\\n@keyframes z {\\\\n 2.5% {color: green;}\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._ghi { color: red; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = {}; +export var def = \`red\`; +export var ghi = \`_ghi\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/simple/source.css", - ".a .b, .c .d, #id { - color: green; - font-size: 1.5pt; -} -a[href=\\"#b.c\\"].x.y { - color: green; - font-size: 1.5pt; -} -@keyframes z { - 2.5% {color: green;} -} +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-2/source.css", + "._ghi { color: red; } ", "", ], ] `; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"._a ._b, ._c ._d, #_id {\\\\n\\\\tcolor: green;\\\\n\\\\tfont-size: 1.5pt;\\\\n}\\\\na[href=\\\\\\"#b.c\\\\\\"]._x._y {\\\\n\\\\tcolor: green;\\\\n\\\\tfont-size: 1.5pt;\\\\n}\\\\n@keyframes _z {\\\\n 2.5% {color: green;}\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.fOVNjOTD3GCGlScVbMZj { color: red; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"a\\": \\"_a\\", - \\"b\\": \\"_b\\", - \\"c\\": \\"_c\\", - \\"d\\": \\"_d\\", - \\"id\\": \\"_id\\", - \\"x\\": \\"_x\\", - \\"y\\": \\"_y\\", - \\"z\\": \\"_z\\" -}; +export var def = \`red\`; +export var ghi = \`fOVNjOTD3GCGlScVbMZj\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/simple/source.css", - "._a ._b, ._c ._d, #_id { - color: green; - font-size: 1.5pt; -} -a[href=\\"#b.c\\"]._x._y { - color: green; - font-size: 1.5pt; -} -@keyframes _z { - 2.5% {color: green;} -} +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-2/source.css", + ".fOVNjOTD3GCGlScVbMZj { color: red; } ", "", ], ] `; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".osJN4D_6JKjz440G1liY .yT06j2a6_YCqD067gkLl, ._5uJaSwQF_fmUhS0VltL .FuXGvG5ERVyecE1JlVhU, #_8CMEMjMI_AhwbXF_x1h {\\\\n\\\\tcolor: green;\\\\n\\\\tfont-size: 1.5pt;\\\\n}\\\\na[href=\\\\\\"#b.c\\\\\\"].qYcraGCHAAsr13FMoxHf.VaMep0IUcS74heg_U1oL {\\\\n\\\\tcolor: green;\\\\n\\\\tfont-size: 1.5pt;\\\\n}\\\\n@keyframes hAVSJ2rPYAeiVhXnKVC2 {\\\\n 2.5% {color: green;}\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@value def from './file.css'; +.ghi { color: def; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"a\\": \\"osJN4D_6JKjz440G1liY\\", - \\"b\\": \\"yT06j2a6_YCqD067gkLl\\", - \\"c\\": \\"_5uJaSwQF_fmUhS0VltL\\", - \\"d\\": \\"FuXGvG5ERVyecE1JlVhU\\", - \\"id\\": \\"_8CMEMjMI_AhwbXF_x1h\\", - \\"x\\": \\"qYcraGCHAAsr13FMoxHf\\", - \\"y\\": \\"VaMep0IUcS74heg_U1oL\\", - \\"z\\": \\"hAVSJ2rPYAeiVhXnKVC2\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/simple/source.css", - ".osJN4D_6JKjz440G1liY .yT06j2a6_YCqD067gkLl, ._5uJaSwQF_fmUhS0VltL .FuXGvG5ERVyecE1JlVhU, #_8CMEMjMI_AhwbXF_x1h { - color: green; - font-size: 1.5pt; -} -a[href=\\"#b.c\\"].qYcraGCHAAsr13FMoxHf.VaMep0IUcS74heg_U1oL { - color: green; - font-size: 1.5pt; -} -@keyframes hAVSJ2rPYAeiVhXnKVC2 { - 2.5% {color: green;} -} +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-3/source.css", + "@value def from './file.css'; +.ghi { color: def; } ", "", ], ] `; -exports[`"modules" option should work with case \`simple\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -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(\\"./img img.png\\", import.meta.url); -var ___CSS_LOADER_URL_IMPORT_2___ = new URL(\\"data:image/png;base64,AAA\\", import.meta.url); -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -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_0___, { hash: \\"#?iefix\\" }); -var ___CSS_LOADER_URL_REPLACEMENT_3___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___); +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]!./file.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, \\".a {\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_2___ + \\");\\\\n\\\\tbackground: url(http://"/#hash\\\\\\");\\\\n\\\\tbackground: url(http://"/#\\\\\\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_3___ + \\");\\\\n\\\\tbackground: url(http://example.com/image.jpg);\\\\n\\\\tbackground: url(http://example.com/image.png);\\\\n\\\\tbackground: green url(\\" + ___CSS_LOADER_URL_REPLACEMENT_3___ + \\") url(http://example.com/image.jpg) url(http://example.com/image.png) url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\") url(\\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \\") xyz;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.ghi { color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"] }; } +\`, ""]); // Exports +export var def = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/urls/source.css", - ".a { - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); - background: url(http://"replaced_file_protocol_/webpack/public/path/img%20img.png//"); - background: url(http://"replaced_file_protocol_/webpack/public/path/img%20img.png//"); - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png#?iefix); - background: url(http://"/#hash\\"); - background: url(http://"/#\\"); - background: url(data:image/png;base64,AAA=); - background: url(http://example.com/image.jpg); - background: url(http://example.com/image.png); - background: green url(data:image/png;base64,AAA=) url(http://example.com/image.jpg) url(http://example.com/image.png) url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png) url(http://"replaced_file_protocol_/webpack/public/path/img%20img.png//") xyz; -} +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-3/file.css", + " +", + "", + ], + [ + "./modules/tests-cases/values-3/source.css", + ".ghi { color: red; } ", "", ], ] `; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -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(\\"./img img.png\\", import.meta.url); -var ___CSS_LOADER_URL_IMPORT_2___ = new URL(\\"data:image/png;base64,AAA\\", import.meta.url); -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -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_0___, { hash: \\"#?iefix\\" }); -var ___CSS_LOADER_URL_REPLACEMENT_3___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___); +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]!./file.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, \\".a {\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_2___ + \\");\\\\n\\\\tbackground: url(http://"/#hash\\\\\\");\\\\n\\\\tbackground: url(http://"/#\\\\\\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_3___ + \\");\\\\n\\\\tbackground: url(http://example.com/image.jpg);\\\\n\\\\tbackground: url(http://example.com/image.png);\\\\n\\\\tbackground: green url(\\" + ___CSS_LOADER_URL_REPLACEMENT_3___ + \\") url(http://example.com/image.jpg) url(http://example.com/image.png) url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\") url(\\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \\") xyz;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.VUQMHk3kLc4m4rfrSqYC { color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"] }; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = {}; +export var def = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"]}\`; +export var ghi = \`VUQMHk3kLc4m4rfrSqYC\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/urls/source.css", - ".a { - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); - background: url(http://"replaced_file_protocol_/webpack/public/path/img%20img.png//"); - background: url(http://"replaced_file_protocol_/webpack/public/path/img%20img.png//"); - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png#?iefix); - background: url(http://"/#hash\\"); - background: url(http://"/#\\"); - background: url(data:image/png;base64,AAA=); - background: url(http://example.com/image.jpg); - background: url(http://example.com/image.png); - background: green url(data:image/png;base64,AAA=) url(http://example.com/image.jpg) url(http://example.com/image.png) url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png) url(http://"replaced_file_protocol_/webpack/public/path/img%20img.png//") xyz; -} +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-3/file.css", + " +", + "", + ], + [ + "./modules/tests-cases/values-3/source.css", + ".VUQMHk3kLc4m4rfrSqYC { color: red; } ", "", ], ] `; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -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(\\"./img img.png\\", import.meta.url); -var ___CSS_LOADER_URL_IMPORT_2___ = new URL(\\"data:image/png;base64,AAA\\", import.meta.url); -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -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_0___, { hash: \\"#?iefix\\" }); -var ___CSS_LOADER_URL_REPLACEMENT_3___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___); +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]!./file.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, \\".__9_1uQzEGzbh7h_Z_D1 {\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_2___ + \\");\\\\n\\\\tbackground: url(http://"/#hash\\\\\\");\\\\n\\\\tbackground: url(http://"/#\\\\\\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_3___ + \\");\\\\n\\\\tbackground: url(http://example.com/image.jpg);\\\\n\\\\tbackground: url(http://example.com/image.png);\\\\n\\\\tbackground: green url(\\" + ___CSS_LOADER_URL_REPLACEMENT_3___ + \\") url(http://example.com/image.jpg) url(http://example.com/image.png) url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\") url(\\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \\") xyz;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.ghi { color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"] }; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"a\\": \\"__9_1uQzEGzbh7h_Z_D1\\" -}; +export var def = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/urls/source.css", - ".__9_1uQzEGzbh7h_Z_D1 { - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); - background: url(http://"replaced_file_protocol_/webpack/public/path/img%20img.png//"); - background: url(http://"replaced_file_protocol_/webpack/public/path/img%20img.png//"); - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png#?iefix); - background: url(http://"/#hash\\"); - background: url(http://"/#\\"); - background: url(data:image/png;base64,AAA=); - background: url(http://example.com/image.jpg); - background: url(http://example.com/image.png); - background: green url(data:image/png;base64,AAA=) url(http://example.com/image.jpg) url(http://example.com/image.png) url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png) url(http://"replaced_file_protocol_/webpack/public/path/img%20img.png//") xyz; -} +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-3/file.css", + " +", + "", + ], + [ + "./modules/tests-cases/values-3/source.css", + ".ghi { color: red; } ", "", ], ] `; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -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(\\"./img img.png\\", import.meta.url); -var ___CSS_LOADER_URL_IMPORT_2___ = new URL(\\"data:image/png;base64,AAA\\", import.meta.url); -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -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_0___, { hash: \\"#?iefix\\" }); -var ___CSS_LOADER_URL_REPLACEMENT_3___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___); +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]!./file.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, \\".a {\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_2___ + \\");\\\\n\\\\tbackground: url(http://"/#hash\\\\\\");\\\\n\\\\tbackground: url(http://"/#\\\\\\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_3___ + \\");\\\\n\\\\tbackground: url(http://example.com/image.jpg);\\\\n\\\\tbackground: url(http://example.com/image.png);\\\\n\\\\tbackground: green url(\\" + ___CSS_LOADER_URL_REPLACEMENT_3___ + \\") url(http://example.com/image.jpg) url(http://example.com/image.png) url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\") url(\\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \\") xyz;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._ghi { color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"] }; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = {}; +export var def = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"]}\`; +export var ghi = \`_ghi\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/urls/source.css", - ".a { - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); - background: url(http://"replaced_file_protocol_/webpack/public/path/img%20img.png//"); - background: url(http://"replaced_file_protocol_/webpack/public/path/img%20img.png//"); - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png#?iefix); - background: url(http://"/#hash\\"); - background: url(http://"/#\\"); - background: url(data:image/png;base64,AAA=); - background: url(http://example.com/image.jpg); - background: url(http://example.com/image.png); - background: green url(data:image/png;base64,AAA=) url(http://example.com/image.jpg) url(http://example.com/image.png) url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png) url(http://"replaced_file_protocol_/webpack/public/path/img%20img.png//") xyz; -} +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-3/file.css", + " +", + "", + ], + [ + "./modules/tests-cases/values-3/source.css", + "._ghi { color: red; } ", "", ], ] `; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -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(\\"./img img.png\\", import.meta.url); -var ___CSS_LOADER_URL_IMPORT_2___ = new URL(\\"data:image/png;base64,AAA\\", import.meta.url); -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -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_0___, { hash: \\"#?iefix\\" }); -var ___CSS_LOADER_URL_REPLACEMENT_3___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___); +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]!./file.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, \\"._a {\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_2___ + \\");\\\\n\\\\tbackground: url(http://"/#hash\\\\\\");\\\\n\\\\tbackground: url(http://"/#\\\\\\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_3___ + \\");\\\\n\\\\tbackground: url(http://example.com/image.jpg);\\\\n\\\\tbackground: url(http://example.com/image.png);\\\\n\\\\tbackground: green url(\\" + ___CSS_LOADER_URL_REPLACEMENT_3___ + \\") url(http://example.com/image.jpg) url(http://example.com/image.png) url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\") url(\\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \\") xyz;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.VUQMHk3kLc4m4rfrSqYC { color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"] }; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"a\\": \\"_a\\" -}; +export var def = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"]}\`; +export var ghi = \`VUQMHk3kLc4m4rfrSqYC\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/urls/source.css", - "._a { - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); - background: url(http://"replaced_file_protocol_/webpack/public/path/img%20img.png//"); - background: url(http://"replaced_file_protocol_/webpack/public/path/img%20img.png//"); - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png#?iefix); - background: url(http://"/#hash\\"); - background: url(http://"/#\\"); - background: url(data:image/png;base64,AAA=); - background: url(http://example.com/image.jpg); - background: url(http://example.com/image.png); - background: green url(data:image/png;base64,AAA=) url(http://example.com/image.jpg) url(http://example.com/image.png) url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png) url(http://"replaced_file_protocol_/webpack/public/path/img%20img.png//") xyz; -} +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-3/file.css", + " +", + "", + ], + [ + "./modules/tests-cases/values-3/source.css", + ".VUQMHk3kLc4m4rfrSqYC { color: red; } ", "", ], ] `; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -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(\\"./img img.png\\", import.meta.url); -var ___CSS_LOADER_URL_IMPORT_2___ = new URL(\\"data:image/png;base64,AAA\\", import.meta.url); -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -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_0___, { hash: \\"#?iefix\\" }); -var ___CSS_LOADER_URL_REPLACEMENT_3___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___); +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, \\".__9_1uQzEGzbh7h_Z_D1 {\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_2___ + \\");\\\\n\\\\tbackground: url(http://"/#hash\\\\\\");\\\\n\\\\tbackground: url(http://"/#\\\\\\");\\\\n\\\\tbackground: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_3___ + \\");\\\\n\\\\tbackground: url(http://example.com/image.jpg);\\\\n\\\\tbackground: url(http://example.com/image.png);\\\\n\\\\tbackground: green url(\\" + ___CSS_LOADER_URL_REPLACEMENT_3___ + \\") url(http://example.com/image.jpg) url(http://example.com/image.png) url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\") url(\\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \\") xyz;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@value def as aaa from './file1.css'; +@value def as bbb from './file2.css'; +.ghi { background: aaa, bbb, def; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"a\\": \\"__9_1uQzEGzbh7h_Z_D1\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/urls/source.css", - ".__9_1uQzEGzbh7h_Z_D1 { - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); - background: url(http://"replaced_file_protocol_/webpack/public/path/img%20img.png//"); - background: url(http://"replaced_file_protocol_/webpack/public/path/img%20img.png//"); - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png); - background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png#?iefix); - background: url(http://"/#hash\\"); - background: url(http://"/#\\"); - background: url(data:image/png;base64,AAA=); - background: url(http://example.com/image.jpg); - background: url(http://example.com/image.png); - background: green url(data:image/png;base64,AAA=) url(http://example.com/image.jpg) url(http://example.com/image.png) url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png) url(http://"replaced_file_protocol_/webpack/public/path/img%20img.png//") xyz; -} +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-4/source.css", + "@value def as aaa from './file1.css'; +@value def as bbb from './file2.css'; +.ghi { background: aaa, bbb, def; } ", "", ], ] `; -exports[`"modules" option should work with case \`urls\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.css"; +import ___CSS_LOADER_ICSS_IMPORT_1___, * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.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, \\"@value aaa: red;\\\\n@value bbb: green;\\\\n@value ccc: aaa;\\\\n\\\\n.a {\\\\n\\\\tbackground: aaa;\\\\n\\\\tbackground: bbb;\\\\n\\\\tbackground: ccc;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.ghi { background: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"] }, \${ ___CSS_LOADER_ICSS_IMPORT_1____NAMED___["def"] }, def; } +\`, ""]); // Exports +export var aaa = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"]}\`; +export var bbb = \`\${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["def"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values/source.css", - "@value aaa: red; -@value bbb: green; -@value ccc: aaa; - -.a { - background: aaa; - background: bbb; - background: ccc; -} +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file1.css", + " +", + "", + ], + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file2.css", + " +", + "", + ], + [ + "./modules/tests-cases/values-4/source.css", + ".ghi { background: red, green, def; } ", "", ], ] `; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.css"; +import ___CSS_LOADER_ICSS_IMPORT_1___, * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.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, \\".a {\\\\n\\\\tbackground: red;\\\\n\\\\tbackground: green;\\\\n\\\\tbackground: red;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.rsNT8TnMggKcBaCKV134 { background: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"] }, \${ ___CSS_LOADER_ICSS_IMPORT_1____NAMED___["def"] }, def; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"aaa\\": \\"red\\", - \\"bbb\\": \\"green\\", - \\"ccc\\": \\"red\\" -}; +export var aaa = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"]}\`; +export var bbb = \`\${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["def"]}\`; +export var ghi = \`rsNT8TnMggKcBaCKV134\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values/source.css", - ".a { - background: red; - background: green; - background: red; -} +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file1.css", + " +", + "", + ], + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file2.css", + " +", + "", + ], + [ + "./modules/tests-cases/values-4/source.css", + ".rsNT8TnMggKcBaCKV134 { background: red, green, def; } ", "", ], ] `; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.css"; +import ___CSS_LOADER_ICSS_IMPORT_1___, * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.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, \\".nS3JMgOOlM_qYXRUQaFX {\\\\n\\\\tbackground: red;\\\\n\\\\tbackground: green;\\\\n\\\\tbackground: red;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.ghi { background: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"] }, \${ ___CSS_LOADER_ICSS_IMPORT_1____NAMED___["def"] }, def; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"aaa\\": \\"red\\", - \\"bbb\\": \\"green\\", - \\"ccc\\": \\"red\\", - \\"a\\": \\"nS3JMgOOlM_qYXRUQaFX\\" -}; +export var aaa = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"]}\`; +export var bbb = \`\${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["def"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values/source.css", - ".nS3JMgOOlM_qYXRUQaFX { - background: red; - background: green; - background: red; -} +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file1.css", + " +", + "", + ], + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file2.css", + " +", + "", + ], + [ + "./modules/tests-cases/values-4/source.css", + ".ghi { background: red, green, def; } ", "", ], ] `; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.css"; +import ___CSS_LOADER_ICSS_IMPORT_1___, * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.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, \\".a {\\\\n\\\\tbackground: red;\\\\n\\\\tbackground: green;\\\\n\\\\tbackground: red;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._ghi { background: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"] }, \${ ___CSS_LOADER_ICSS_IMPORT_1____NAMED___["def"] }, def; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"aaa\\": \\"red\\", - \\"bbb\\": \\"green\\", - \\"ccc\\": \\"red\\" -}; +export var aaa = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"]}\`; +export var bbb = \`\${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["def"]}\`; +export var ghi = \`_ghi\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values/source.css", - ".a { - background: red; - background: green; - background: red; -} +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file1.css", + " +", + "", + ], + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file2.css", + " +", + "", + ], + [ + "./modules/tests-cases/values-4/source.css", + "._ghi { background: red, green, def; } ", "", ], ] `; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.css"; +import ___CSS_LOADER_ICSS_IMPORT_1___, * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.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, \\"._a {\\\\n\\\\tbackground: red;\\\\n\\\\tbackground: green;\\\\n\\\\tbackground: red;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.rsNT8TnMggKcBaCKV134 { background: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"] }, \${ ___CSS_LOADER_ICSS_IMPORT_1____NAMED___["def"] }, def; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"aaa\\": \\"red\\", - \\"bbb\\": \\"green\\", - \\"ccc\\": \\"red\\", - \\"a\\": \\"_a\\" -}; +export var aaa = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["def"]}\`; +export var bbb = \`\${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["def"]}\`; +export var ghi = \`rsNT8TnMggKcBaCKV134\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values/source.css", - "._a { - background: red; - background: green; - background: red; -} +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file1.css", + " +", + "", + ], + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file2.css", + " +", + "", + ], + [ + "./modules/tests-cases/values-4/source.css", + ".rsNT8TnMggKcBaCKV134 { background: red, green, def; } ", "", ], ] `; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".nS3JMgOOlM_qYXRUQaFX {\\\\n\\\\tbackground: red;\\\\n\\\\tbackground: green;\\\\n\\\\tbackground: red;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@value color from './file1.css'; +@value shadow: 0 0 color,0 0 color; +.ghi { box-shadow: shadow; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"aaa\\": \\"red\\", - \\"bbb\\": \\"green\\", - \\"ccc\\": \\"red\\", - \\"a\\": \\"nS3JMgOOlM_qYXRUQaFX\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values/source.css", - ".nS3JMgOOlM_qYXRUQaFX { - background: red; - background: green; - background: red; -} +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-5/source.css", + "@value color from './file1.css'; +@value shadow: 0 0 color,0 0 color; +.ghi { box-shadow: shadow; } ", "", ], ] `; -exports[`"modules" option should work with case \`values\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.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, \\"@value def: red;\\\\n@value ghi: 1px solid black;\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.ghi { box-shadow: 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] },0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }; } +\`, ""]); // Exports +export var color = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var shadow = \`0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]},0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-1/source.css", - "@value def: red; -@value ghi: 1px solid black; +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-5/file1.css", + " +", + "", + ], + [ + "./modules/tests-cases/values-5/source.css", + ".ghi { box-shadow: 0 0 red,0 0 red; } ", "", ], ] `; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.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, \\"\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.q03A1lSGWTDBD3Wsg0ZK { box-shadow: 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] },0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"red\\", - \\"ghi\\": \\"1px solid black\\" -}; +export var color = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var shadow = \`0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]},0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var ghi = \`q03A1lSGWTDBD3Wsg0ZK\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-1/source.css", +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-5/file1.css", " +", + "", + ], + [ + "./modules/tests-cases/values-5/source.css", + ".q03A1lSGWTDBD3Wsg0ZK { box-shadow: 0 0 red,0 0 red; } ", "", ], ] `; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.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, \\"\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.ghi { box-shadow: 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] },0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"red\\", - \\"ghi\\": \\"1px solid black\\" -}; +export var color = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var shadow = \`0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]},0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-1/source.css", +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-5/file1.css", " +", + "", + ], + [ + "./modules/tests-cases/values-5/source.css", + ".ghi { box-shadow: 0 0 red,0 0 red; } ", "", ], ] `; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.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, \\"\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._ghi { box-shadow: 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] },0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"red\\", - \\"ghi\\": \\"1px solid black\\" -}; +export var color = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var shadow = \`0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]},0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var ghi = \`_ghi\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-1/source.css", +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-5/file1.css", " +", + "", + ], + [ + "./modules/tests-cases/values-5/source.css", + "._ghi { box-shadow: 0 0 red,0 0 red; } ", "", ], ] `; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.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, \\"\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.q03A1lSGWTDBD3Wsg0ZK { box-shadow: 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] },0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"red\\", - \\"ghi\\": \\"1px solid black\\" -}; +export var color = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var shadow = \`0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]},0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var ghi = \`q03A1lSGWTDBD3Wsg0ZK\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-1/source.css", +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-5/file1.css", " +", + "", + ], + [ + "./modules/tests-cases/values-5/source.css", + ".q03A1lSGWTDBD3Wsg0ZK { box-shadow: 0 0 red,0 0 red; } ", "", ], ] `; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@value color from './file1.css'; +@value shadow: 0 0 color ,0 0 color; +.ghi { box-shadow: shadow; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"red\\", - \\"ghi\\": \\"1px solid black\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-1/source.css", - " +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-6/source.css", + "@value color from './file1.css'; +@value shadow: 0 0 color ,0 0 color; +.ghi { box-shadow: shadow; } ", "", ], ] `; -exports[`"modules" option should work with case \`values-1\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.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, \\"@value def: red;\\\\n.ghi { color: def; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.ghi { box-shadow: 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] } ,0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }; } +\`, ""]); // Exports +export var color = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var shadow = \`0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]} ,0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-2/source.css", - "@value def: red; -.ghi { color: def; } +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-6/file1.css", + " +", + "", + ], + [ + "./modules/tests-cases/values-6/source.css", + ".ghi { box-shadow: 0 0 red ,0 0 red; } ", "", ], ] `; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.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, \\".ghi { color: red; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.V_Ent02K4ZsheHy2GQIo { box-shadow: 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] } ,0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"red\\" -}; +export var color = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var shadow = \`0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]} ,0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var ghi = \`V_Ent02K4ZsheHy2GQIo\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-2/source.css", - ".ghi { color: red; } +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-6/file1.css", + " +", + "", + ], + [ + "./modules/tests-cases/values-6/source.css", + ".V_Ent02K4ZsheHy2GQIo { box-shadow: 0 0 red ,0 0 red; } ", "", ], ] `; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.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, \\".B1LcBg7fxmeHv5aafRfd { color: red; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.ghi { box-shadow: 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] } ,0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"red\\", - \\"ghi\\": \\"B1LcBg7fxmeHv5aafRfd\\" -}; +export var color = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var shadow = \`0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]} ,0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-2/source.css", - ".B1LcBg7fxmeHv5aafRfd { color: red; } +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-6/file1.css", + " +", + "", + ], + [ + "./modules/tests-cases/values-6/source.css", + ".ghi { box-shadow: 0 0 red ,0 0 red; } ", "", ], ] `; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.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, \\".ghi { color: red; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._ghi { box-shadow: 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] } ,0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"red\\" -}; +export var color = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var shadow = \`0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]} ,0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var ghi = \`_ghi\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-2/source.css", - ".ghi { color: red; } +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-6/file1.css", + " +", + "", + ], + [ + "./modules/tests-cases/values-6/source.css", + "._ghi { box-shadow: 0 0 red ,0 0 red; } ", "", ], ] `; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.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, \\"._ghi { color: red; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.V_Ent02K4ZsheHy2GQIo { box-shadow: 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] } ,0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"red\\", - \\"ghi\\": \\"_ghi\\" -}; +export var color = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var shadow = \`0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]} ,0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var ghi = \`V_Ent02K4ZsheHy2GQIo\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-2/source.css", - "._ghi { color: red; } +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-6/file1.css", + " +", + "", + ], + [ + "./modules/tests-cases/values-6/source.css", + ".V_Ent02K4ZsheHy2GQIo { box-shadow: 0 0 red ,0 0 red; } ", "", ], ] `; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".B1LcBg7fxmeHv5aafRfd { color: red; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@value color from './file1.css'; +@value shadow: 0 0 color, 0 0 color; +.ghi { box-shadow: shadow; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"red\\", - \\"ghi\\": \\"B1LcBg7fxmeHv5aafRfd\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-2/source.css", - ".B1LcBg7fxmeHv5aafRfd { color: red; } +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-7/source.css", + "@value color from './file1.css'; +@value shadow: 0 0 color, 0 0 color; +.ghi { box-shadow: shadow; } ", "", ], ] `; -exports[`"modules" option should work with case \`values-2\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./file1.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, \\"@value def from './file.css';\\\\n.ghi { color: def; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.ghi { box-shadow: 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }, 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }; } +\`, ""]); // Exports +export var color = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var shadow = \`0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}, 0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-3/source.css", - "@value def from './file.css'; -.ghi { color: def; } +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-7/file1.css", + " +", + "", + ], + [ + "./modules/tests-cases/values-7/source.css", + ".ghi { box-shadow: 0 0 red, 0 0 red; } ", "", ], ] `; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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]!./file1.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, \\".ghi { color: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.NdqQvq9Qv3h5i5PuoI9a { box-shadow: 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }, 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"\\" -}; +export var color = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var shadow = \`0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}, 0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var ghi = \`NdqQvq9Qv3h5i5PuoI9a\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-3/file.css", +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-7/file1.css", " ", "", ], - Array [ - "./modules/tests-cases/values-3/source.css", - ".ghi { color: red; } + [ + "./modules/tests-cases/values-7/source.css", + ".NdqQvq9Qv3h5i5PuoI9a { box-shadow: 0 0 red, 0 0 red; } ", "", ], ] `; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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]!./file1.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, \\".uyz7f942lKF5jEP9x4Na { color: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.ghi { box-shadow: 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }, 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"\\", - \\"ghi\\": \\"uyz7f942lKF5jEP9x4Na\\" -}; +export var color = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var shadow = \`0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}, 0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-3/file.css", +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-7/file1.css", " ", "", ], - Array [ - "./modules/tests-cases/values-3/source.css", - ".uyz7f942lKF5jEP9x4Na { color: red; } + [ + "./modules/tests-cases/values-7/source.css", + ".ghi { box-shadow: 0 0 red, 0 0 red; } ", "", ], ] `; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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]!./file1.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, \\".ghi { color: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._ghi { box-shadow: 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }, 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"\\" -}; +export var color = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var shadow = \`0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}, 0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var ghi = \`_ghi\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-3/file.css", +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-7/file1.css", " ", "", ], - Array [ - "./modules/tests-cases/values-3/source.css", - ".ghi { color: red; } + [ + "./modules/tests-cases/values-7/source.css", + "._ghi { box-shadow: 0 0 red, 0 0 red; } ", "", ], ] `; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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]!./file1.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, \\"._ghi { color: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.NdqQvq9Qv3h5i5PuoI9a { box-shadow: 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }, 0 0 \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"] }; } +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"\\", - \\"ghi\\": \\"_ghi\\" -}; +export var color = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var shadow = \`0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}, 0 0 \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["color"]}\`; +export var ghi = \`NdqQvq9Qv3h5i5PuoI9a\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-3/file.css", +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-7/file1.css", " ", "", ], - Array [ - "./modules/tests-cases/values-3/source.css", - "._ghi { color: red; } + [ + "./modules/tests-cases/values-7/source.css", + ".NdqQvq9Qv3h5i5PuoI9a { box-shadow: 0 0 red, 0 0 red; } ", "", ], ] `; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\".uyz7f942lKF5jEP9x4Na { color: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@value shadow-color: rgba(0, 0, 0, 0.5); + +.shadow { + box-shadow: 0 10px 10px shadow-color, + 10px 0px 5px shadow-color; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"\\", - \\"ghi\\": \\"uyz7f942lKF5jEP9x4Na\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-3/file.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/values-3/source.css", - ".uyz7f942lKF5jEP9x4Na { color: red; } +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-8/source.css", + "@value shadow-color: rgba(0, 0, 0, 0.5); + +.shadow { + box-shadow: 0 10px 10px shadow-color, + 10px 0px 5px shadow-color; +} ", "", ], ] `; -exports[`"modules" option should work with case \`values-3\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"@value def as aaa from './file1.css';\\\\n@value def as bbb from './file2.css';\\\\n.ghi { background: aaa, bbb, def; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.shadow { + box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5), + 10px 0px 5px rgba(0, 0, 0, 0.5); +} +\`, ""]); // Exports +var _1 = \`rgba(0, 0, 0, 0.5)\`; +export { _1 as "shadow-color" }; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-4/source.css", - "@value def as aaa from './file1.css'; -@value def as bbb from './file2.css'; -.ghi { background: aaa, bbb, def; } +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-8/source.css", + ".shadow { + box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5), + 10px 0px 5px rgba(0, 0, 0, 0.5); +} ", "", ], ] `; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_1___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_1___, \\"\\", true); +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, \\".ghi { background: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\", \\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"def\\"] + \\", def; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.HAk1S0I5p94SIOdr6jjs { + box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5), + 10px 0px 5px rgba(0, 0, 0, 0.5); +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"aaa\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"\\", - \\"bbb\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"def\\"] + \\"\\" -}; +var _1 = \`rgba(0, 0, 0, 0.5)\`; +export { _1 as "shadow-color" }; +export var shadow = \`HAk1S0I5p94SIOdr6jjs\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file1.css", - " -", - "", - ], - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file2.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/values-4/source.css", - ".ghi { background: red, green, def; } +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-8/source.css", + ".HAk1S0I5p94SIOdr6jjs { + box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5), + 10px 0px 5px rgba(0, 0, 0, 0.5); +} ", "", ], ] `; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_1___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_1___, \\"\\", true); +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, \\".D2lFbRN47aqjnvIrSPR5 { background: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\", \\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"def\\"] + \\", def; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.shadow { + box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5), + 10px 0px 5px rgba(0, 0, 0, 0.5); +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"aaa\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"\\", - \\"bbb\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"def\\"] + \\"\\", - \\"ghi\\": \\"D2lFbRN47aqjnvIrSPR5\\" -}; +var _1 = \`rgba(0, 0, 0, 0.5)\`; +export { _1 as "shadow-color" }; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file1.css", - " -", - "", - ], - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file2.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/values-4/source.css", - ".D2lFbRN47aqjnvIrSPR5 { background: red, green, def; } +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-8/source.css", + ".shadow { + box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5), + 10px 0px 5px rgba(0, 0, 0, 0.5); +} ", "", ], ] `; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_1___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_1___, \\"\\", true); +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, \\".ghi { background: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\", \\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"def\\"] + \\", def; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._shadow { + box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5), + 10px 0px 5px rgba(0, 0, 0, 0.5); +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"aaa\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"\\", - \\"bbb\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"def\\"] + \\"\\" -}; +var _1 = \`rgba(0, 0, 0, 0.5)\`; +export { _1 as "shadow-color" }; +export var shadow = \`_shadow\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file1.css", - " -", - "", - ], - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file2.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/values-4/source.css", - ".ghi { background: red, green, def; } +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-8/source.css", + "._shadow { + box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5), + 10px 0px 5px rgba(0, 0, 0, 0.5); +} ", "", ], ] `; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_1___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_1___, \\"\\", true); +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, \\"._ghi { background: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\", \\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"def\\"] + \\", def; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.HAk1S0I5p94SIOdr6jjs { + box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5), + 10px 0px 5px rgba(0, 0, 0, 0.5); +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"aaa\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"\\", - \\"bbb\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"def\\"] + \\"\\", - \\"ghi\\": \\"_ghi\\" -}; +var _1 = \`rgba(0, 0, 0, 0.5)\`; +export { _1 as "shadow-color" }; +export var shadow = \`HAk1S0I5p94SIOdr6jjs\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file1.css", - " -", - "", - ], - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file2.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/values-4/source.css", - "._ghi { background: red, green, def; } +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-8/source.css", + ".HAk1S0I5p94SIOdr6jjs { + box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5), + 10px 0px 5px rgba(0, 0, 0, 0.5); +} ", "", ], ] `; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -import ___CSS_LOADER_ICSS_IMPORT_1___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file2.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_1___, \\"\\", true); +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, \\".D2lFbRN47aqjnvIrSPR5 { background: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\", \\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"def\\"] + \\", def; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@value def: red; + +.foo1 { + prop: func(def); +} + +.foo2 { + prop: func(10px def); +} + +.foo3 { + prop: func(def 10px); +} + +.foo4 { + prop: func(10px def 10px); +} + +.foo5 { + prop: func(10px, def); +} + +.foo6 { + prop: func(def, 10px); +} + +.foo7 { + prop: func(10px, def, 10px); +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"aaa\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"def\\"] + \\"\\", - \\"bbb\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"def\\"] + \\"\\", - \\"ghi\\": \\"D2lFbRN47aqjnvIrSPR5\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file1.css", - " -", - "", - ], - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-4/file2.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/values-4/source.css", - ".D2lFbRN47aqjnvIrSPR5 { background: red, green, def; } +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-9/source.css", + "@value def: red; + +.foo1 { + prop: func(def); +} + +.foo2 { + prop: func(10px def); +} + +.foo3 { + prop: func(def 10px); +} + +.foo4 { + prop: func(10px def 10px); +} + +.foo5 { + prop: func(10px, def); +} + +.foo6 { + prop: func(def, 10px); +} + +.foo7 { + prop: func(10px, def, 10px); +} ", "", ], ] `; -exports[`"modules" option should work with case \`values-4\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"@value color from './file1.css';\\\\n@value shadow: 0 0 color,0 0 color;\\\\n.ghi { box-shadow: shadow; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.foo1 { + prop: func(red); +} + +.foo2 { + prop: func(10px red); +} + +.foo3 { + prop: func(red 10px); +} + +.foo4 { + prop: func(10px red 10px); +} + +.foo5 { + prop: func(10px, red); +} + +.foo6 { + prop: func(red, 10px); +} + +.foo7 { + prop: func(10px, red, 10px); +} +\`, ""]); // Exports +export var def = \`red\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-5/source.css", - "@value color from './file1.css'; -@value shadow: 0 0 color,0 0 color; -.ghi { box-shadow: shadow; } +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-9/source.css", + ".foo1 { + prop: func(red); +} + +.foo2 { + prop: func(10px red); +} + +.foo3 { + prop: func(red 10px); +} + +.foo4 { + prop: func(10px red 10px); +} + +.foo5 { + prop: func(10px, red); +} + +.foo6 { + prop: func(red, 10px); +} + +.foo7 { + prop: func(10px, red, 10px); +} ", "", ], ] `; -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\".ghi { box-shadow: 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\",0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"; }\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"shadow\\": \\"0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\",0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +___CSS_LOADER_EXPORT___.push([module.id, \`.ZvuqVeHpT6aCHWqFAu2f { + prop: func(red); +} -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-5/file1.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/values-5/source.css", - ".ghi { box-shadow: 0 0 red,0 0 red; } -", - "", - ], -] -`; +.f39Vxt5z6yWZyiBmSI8q { + prop: func(10px red); +} -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +.N2rTWiOTweQNy_yqiobw { + prop: func(red 10px); +} -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +.Y2IxteAYbAyr5oHBwv_D { + prop: func(10px red 10px); +} -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`local)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".iKLMtzmE3svTzWvKFmpP { box-shadow: 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\",0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"; }\\\\n\\", \\"\\"]); +.mFXyX1EHM3gJQAwPYoF3 { + prop: func(10px, red); +} + +.QZNou1uAcIzl8Kay3GcX { + prop: func(red, 10px); +} + +.K981tNSbpt3XzAxxqWNd { + prop: func(10px, red, 10px); +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"shadow\\": \\"0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\",0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"ghi\\": \\"iKLMtzmE3svTzWvKFmpP\\" -}; +export var def = \`red\`; +export var foo1 = \`ZvuqVeHpT6aCHWqFAu2f\`; +export var foo2 = \`f39Vxt5z6yWZyiBmSI8q\`; +export var foo3 = \`N2rTWiOTweQNy_yqiobw\`; +export var foo4 = \`Y2IxteAYbAyr5oHBwv_D\`; +export var foo5 = \`mFXyX1EHM3gJQAwPYoF3\`; +export var foo6 = \`QZNou1uAcIzl8Kay3GcX\`; +export var foo7 = \`K981tNSbpt3XzAxxqWNd\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-5/file1.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/values-5/source.css", - ".iKLMtzmE3svTzWvKFmpP { box-shadow: 0 0 red,0 0 red; } -", - "", - ], -] -`; +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-9/source.css", + ".ZvuqVeHpT6aCHWqFAu2f { + prop: func(red); +} -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +.f39Vxt5z6yWZyiBmSI8q { + prop: func(10px red); +} -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +.N2rTWiOTweQNy_yqiobw { + prop: func(red 10px); +} -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".ghi { box-shadow: 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\",0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"; }\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"shadow\\": \\"0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\",0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +.Y2IxteAYbAyr5oHBwv_D { + prop: func(10px red 10px); +} -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-5/file1.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/values-5/source.css", - ".ghi { box-shadow: 0 0 red,0 0 red; } +.mFXyX1EHM3gJQAwPYoF3 { + prop: func(10px, red); +} + +.QZNou1uAcIzl8Kay3GcX { + prop: func(red, 10px); +} + +.K981tNSbpt3XzAxxqWNd { + prop: func(10px, red, 10px); +} ", "", ], ] `; -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\"._ghi { box-shadow: 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\",0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"; }\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"shadow\\": \\"0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\",0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"ghi\\": \\"_ghi\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +___CSS_LOADER_EXPORT___.push([module.id, \`.foo1 { + prop: func(red); +} -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-5/file1.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/values-5/source.css", - "._ghi { box-shadow: 0 0 red,0 0 red; } -", - "", - ], -] -`; +.foo2 { + prop: func(10px red); +} + +.foo3 { + prop: func(red 10px); +} -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +.foo4 { + prop: func(10px red 10px); +} -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +.foo5 { + prop: func(10px, red); +} -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`true)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".iKLMtzmE3svTzWvKFmpP { box-shadow: 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\",0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"; }\\\\n\\", \\"\\"]); +.foo6 { + prop: func(red, 10px); +} + +.foo7 { + prop: func(10px, red, 10px); +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"shadow\\": \\"0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\",0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"ghi\\": \\"iKLMtzmE3svTzWvKFmpP\\" -}; +export var def = \`red\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-5/file1.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/values-5/source.css", - ".iKLMtzmE3svTzWvKFmpP { box-shadow: 0 0 red,0 0 red; } -", - "", - ], -] -`; +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-9/source.css", + ".foo1 { + prop: func(red); +} -exports[`"modules" option should work with case \`values-5\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +.foo2 { + prop: func(10px red); +} -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +.foo3 { + prop: func(red 10px); +} -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`false)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"@value color from './file1.css';\\\\n@value shadow: 0 0 color ,0 0 color;\\\\n.ghi { box-shadow: shadow; }\\\\n\\", \\"\\"]); -// Exports -export default ___CSS_LOADER_EXPORT___; -" -`; +.foo4 { + prop: func(10px red 10px); +} -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-6/source.css", - "@value color from './file1.css'; -@value shadow: 0 0 color ,0 0 color; -.ghi { box-shadow: shadow; } +.foo5 { + prop: func(10px, red); +} + +.foo6 { + prop: func(red, 10px); +} + +.foo7 { + prop: func(10px, red, 10px); +} ", "", ], ] `; -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\".ghi { box-shadow: 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\" ,0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._foo1 { + prop: func(red); +} + +._foo2 { + prop: func(10px red); +} + +._foo3 { + prop: func(red 10px); +} + +._foo4 { + prop: func(10px red 10px); +} + +._foo5 { + prop: func(10px, red); +} + +._foo6 { + prop: func(red, 10px); +} + +._foo7 { + prop: func(10px, red, 10px); +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"shadow\\": \\"0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\" ,0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\" -}; +export var def = \`red\`; +export var foo1 = \`_foo1\`; +export var foo2 = \`_foo2\`; +export var foo3 = \`_foo3\`; +export var foo4 = \`_foo4\`; +export var foo5 = \`_foo5\`; +export var foo6 = \`_foo6\`; +export var foo7 = \`_foo7\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-6/file1.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/values-6/source.css", - ".ghi { box-shadow: 0 0 red ,0 0 red; } +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-9/source.css", + "._foo1 { + prop: func(red); +} + +._foo2 { + prop: func(10px red); +} + +._foo3 { + prop: func(red 10px); +} + +._foo4 { + prop: func(10px red 10px); +} + +._foo5 { + prop: func(10px, red); +} + +._foo6 { + prop: func(red, 10px); +} + +._foo7 { + prop: func(10px, red, 10px); +} ", "", ], ] `; -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\".bhhUzP_EbnClRTLWG5Om { box-shadow: 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\" ,0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"; }\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"shadow\\": \\"0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\" ,0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"ghi\\": \\"bhhUzP_EbnClRTLWG5Om\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +___CSS_LOADER_EXPORT___.push([module.id, \`.ZvuqVeHpT6aCHWqFAu2f { + prop: func(red); +} -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-6/file1.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/values-6/source.css", - ".bhhUzP_EbnClRTLWG5Om { box-shadow: 0 0 red ,0 0 red; } -", - "", - ], -] -`; +.f39Vxt5z6yWZyiBmSI8q { + prop: func(10px red); +} + +.N2rTWiOTweQNy_yqiobw { + prop: func(red 10px); +} -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +.Y2IxteAYbAyr5oHBwv_D { + prop: func(10px red 10px); +} -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +.mFXyX1EHM3gJQAwPYoF3 { + prop: func(10px, red); +} -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".ghi { box-shadow: 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\" ,0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"; }\\\\n\\", \\"\\"]); +.QZNou1uAcIzl8Kay3GcX { + prop: func(red, 10px); +} + +.K981tNSbpt3XzAxxqWNd { + prop: func(10px, red, 10px); +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"shadow\\": \\"0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\" ,0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\" -}; +export var def = \`red\`; +export var foo1 = \`ZvuqVeHpT6aCHWqFAu2f\`; +export var foo2 = \`f39Vxt5z6yWZyiBmSI8q\`; +export var foo3 = \`N2rTWiOTweQNy_yqiobw\`; +export var foo4 = \`Y2IxteAYbAyr5oHBwv_D\`; +export var foo5 = \`mFXyX1EHM3gJQAwPYoF3\`; +export var foo6 = \`QZNou1uAcIzl8Kay3GcX\`; +export var foo7 = \`K981tNSbpt3XzAxxqWNd\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-6/file1.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/values-6/source.css", - ".ghi { box-shadow: 0 0 red ,0 0 red; } +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-9/source.css", + ".ZvuqVeHpT6aCHWqFAu2f { + prop: func(red); +} + +.f39Vxt5z6yWZyiBmSI8q { + prop: func(10px red); +} + +.N2rTWiOTweQNy_yqiobw { + prop: func(red 10px); +} + +.Y2IxteAYbAyr5oHBwv_D { + prop: func(10px red 10px); +} + +.mFXyX1EHM3gJQAwPYoF3 { + prop: func(10px, red); +} + +.QZNou1uAcIzl8Kay3GcX { + prop: func(red, 10px); +} + +.K981tNSbpt3XzAxxqWNd { + prop: func(10px, red, 10px); +} ", "", ], ] `; -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`false)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`false)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\"._ghi { box-shadow: 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\" ,0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`@value v-primary: #BF4040; +@value s-black: black-selector; +@value m-large: (min-width: 960px); + +.header { + color: v-primary; + padding: 0 10px; +} + +.s-black { + color: black; +} + +@media m-large { + .header { + padding: 0 20px; + } +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"shadow\\": \\"0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\" ,0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"ghi\\": \\"_ghi\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-6/file1.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/values-6/source.css", - "._ghi { box-shadow: 0 0 red ,0 0 red; } +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`false)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-10/source.css", + "@value v-primary: #BF4040; +@value s-black: black-selector; +@value m-large: (min-width: 960px); + +.header { + color: v-primary; + padding: 0 10px; +} + +.s-black { + color: black; +} + +@media m-large { + .header { + padding: 0 20px; + } +} ", "", ], ] `; -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`false)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\".bhhUzP_EbnClRTLWG5Om { box-shadow: 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\" ,0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.header { + color: #BF4040; + padding: 0 10px; +} + +.black-selector { + color: black; +} + +@media (min-width: 960px) { + .header { + padding: 0 20px; + } +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"shadow\\": \\"0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\" ,0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"ghi\\": \\"bhhUzP_EbnClRTLWG5Om\\" -}; +var _1 = \`#BF4040\`; +export { _1 as "v-primary" }; +var _2 = \`black-selector\`; +export { _2 as "s-black" }; +var _3 = \`(min-width: 960px)\`; +export { _3 as "m-large" }; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-6/file1.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/values-6/source.css", - ".bhhUzP_EbnClRTLWG5Om { box-shadow: 0 0 red ,0 0 red; } +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-10/source.css", + ".header { + color: #BF4040; + padding: 0 10px; +} + +.black-selector { + color: black; +} + +@media (min-width: 960px) { + .header { + padding: 0 20px; + } +} ", "", ], ] `; -exports[`"modules" option should work with case \`values-6\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"@value color from './file1.css';\\\\n@value shadow: 0 0 color, 0 0 color;\\\\n.ghi { box-shadow: shadow; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.HXVfigEH1AdZfWYjyTCT { + color: #BF4040; + padding: 0 10px; +} + +.uryk2zLUOufAjMmsSFli { + color: black; +} + +@media (min-width: 960px) { + .HXVfigEH1AdZfWYjyTCT { + padding: 0 20px; + } +} +\`, ""]); // Exports +var _1 = \`#BF4040\`; +export { _1 as "v-primary" }; +var _2 = \`black-selector\`; +export { _2 as "s-black" }; +var _3 = \`(min-width: 960px)\`; +export { _3 as "m-large" }; +export var header = \`HXVfigEH1AdZfWYjyTCT\`; +var _4 = \`uryk2zLUOufAjMmsSFli\`; +export { _4 as "black-selector" }; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-7/source.css", - "@value color from './file1.css'; -@value shadow: 0 0 color, 0 0 color; -.ghi { box-shadow: shadow; } +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-10/source.css", + ".HXVfigEH1AdZfWYjyTCT { + color: #BF4040; + padding: 0 10px; +} + +.uryk2zLUOufAjMmsSFli { + color: black; +} + +@media (min-width: 960px) { + .HXVfigEH1AdZfWYjyTCT { + padding: 0 20px; + } +} ", "", ], ] `; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\".ghi { box-shadow: 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\", 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.header { + color: #BF4040; + padding: 0 10px; +} + +.black-selector { + color: black; +} + +@media (min-width: 960px) { + .header { + padding: 0 20px; + } +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"shadow\\": \\"0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\", 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\" -}; +var _1 = \`#BF4040\`; +export { _1 as "v-primary" }; +var _2 = \`black-selector\`; +export { _2 as "s-black" }; +var _3 = \`(min-width: 960px)\`; +export { _3 as "m-large" }; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-7/file1.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/values-7/source.css", - ".ghi { box-shadow: 0 0 red, 0 0 red; } +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-10/source.css", + ".header { + color: #BF4040; + padding: 0 10px; +} + +.black-selector { + color: black; +} + +@media (min-width: 960px) { + .header { + padding: 0 20px; + } +} ", "", ], ] `; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\".P4v8yj8XmjmeRxYDVRa0 { box-shadow: 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\", 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"; }\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"shadow\\": \\"0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\", 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"ghi\\": \\"P4v8yj8XmjmeRxYDVRa0\\" -}; +___CSS_LOADER_EXPORT___.push([module.id, \`._header { + color: #BF4040; + padding: 0 10px; +} + +._black-selector { + color: black; +} + +@media (min-width: 960px) { + ._header { + padding: 0 20px; + } +} +\`, ""]); +// Exports +var _1 = \`#BF4040\`; +export { _1 as "v-primary" }; +var _2 = \`black-selector\`; +export { _2 as "s-black" }; +var _3 = \`(min-width: 960px)\`; +export { _3 as "m-large" }; +export var header = \`_header\`; +var _4 = \`_black-selector\`; +export { _4 as "black-selector" }; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-7/file1.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/values-7/source.css", - ".P4v8yj8XmjmeRxYDVRa0 { box-shadow: 0 0 red, 0 0 red; } +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-10/source.css", + "._header { + color: #BF4040; + padding: 0 10px; +} + +._black-selector { + color: black; +} + +@media (min-width: 960px) { + ._header { + padding: 0 20px; + } +} ", "", ], ] `; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`true)\`: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`true)\`: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\".ghi { box-shadow: 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\", 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.HXVfigEH1AdZfWYjyTCT { + color: #BF4040; + padding: 0 10px; +} + +.uryk2zLUOufAjMmsSFli { + color: black; +} + +@media (min-width: 960px) { + .HXVfigEH1AdZfWYjyTCT { + padding: 0 20px; + } +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"shadow\\": \\"0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\", 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\" -}; +var _1 = \`#BF4040\`; +export { _1 as "v-primary" }; +var _2 = \`black-selector\`; +export { _2 as "s-black" }; +var _3 = \`(min-width: 960px)\`; +export { _3 as "m-large" }; +export var header = \`HXVfigEH1AdZfWYjyTCT\`; +var _4 = \`uryk2zLUOufAjMmsSFli\`; +export { _4 as "black-selector" }; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-7/file1.css", - " -", - "", - ], - Array [ - "./modules/tests-cases/values-7/source.css", - ".ghi { box-shadow: 0 0 red, 0 0 red; } +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`true)\`: result 1`] = ` +[ + [ + "./modules/tests-cases/values-10/source.css", + ".HXVfigEH1AdZfWYjyTCT { + color: #BF4040; + padding: 0 10px; +} + +.uryk2zLUOufAjMmsSFli { + color: black; +} + +@media (min-width: 960px) { + .HXVfigEH1AdZfWYjyTCT { + padding: 0 20px; + } +} ", "", ], ] `; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`true)\`: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with composes when the "exportLocalsConvention" is function and return array names: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with composes when the "exportLocalsConvention" is function and return array names: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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"; +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, \\"._ghi { box-shadow: 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\", 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.dcGmFwUwcWBvztsrYqwt { + color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v_def_TEST_1"] }; +} + +.kR62O3DAMXthKSEu8z1h { + color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["s_white_TEST_1"] }; +} + +.Q2kGq6pz9X8GILpQiRq4 { + display: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["m_small_TEST_1"] }; +} + +.KrXHuu1neE2dbFHl6qo_ { + width: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v_def_TEST_1"] }; +} + +.CN6MhKBceoVNiQz08bqw { + color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v_other_other_TEST_1"] }; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"shadow\\": \\"0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\", 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"ghi\\": \\"_ghi\\" -}; +export var v_def_TEST_1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v_def_TEST_1"]}\`; +export var v_def_TEST_3 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v_def_TEST_1"]}\`; +export var v_other_other_TEST_1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v_other_other_TEST_1"]}\`; +export var v_other_other_TEST_3 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v_other_other_TEST_1"]}\`; +export var s_white_TEST_1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["s_white_TEST_1"]}\`; +export var s_white_TEST_3 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["s_white_TEST_1"]}\`; +export var m_small_TEST_1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["m_small_TEST_1"]}\`; +export var m_small_TEST_3 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["m_small_TEST_1"]}\`; +export var ghi_TEST_1 = \`dcGmFwUwcWBvztsrYqwt\`; +export var ghi_TEST_3 = \`dcGmFwUwcWBvztsrYqwt\`; +export var my_class_TEST_1 = \`kR62O3DAMXthKSEu8z1h\`; +export var my_class_TEST_3 = \`kR62O3DAMXthKSEu8z1h\`; +export var other_TEST_1 = \`Q2kGq6pz9X8GILpQiRq4\`; +export var other_TEST_3 = \`Q2kGq6pz9X8GILpQiRq4\`; +export var other_other_TEST_1 = \`KrXHuu1neE2dbFHl6qo_\`; +export var other_other_TEST_3 = \`KrXHuu1neE2dbFHl6qo_\`; +export var green_TEST_1 = \`CN6MhKBceoVNiQz08bqw\`; +export var green_TEST_3 = \`CN6MhKBceoVNiQz08bqw\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-7/file1.css", +exports[`"modules" option should work with composes when the "exportLocalsConvention" is function and return array names: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/namedExport/composes/values.css", " ", "", ], - Array [ - "./modules/tests-cases/values-7/source.css", - "._ghi { box-shadow: 0 0 red, 0 0 red; } + [ + "./modules/namedExport/composes/composes.css", + ".dcGmFwUwcWBvztsrYqwt { + color: red; +} + +.kR62O3DAMXthKSEu8z1h { + color: white; +} + +.Q2kGq6pz9X8GILpQiRq4 { + display: (min-width: 320px); +} + +.KrXHuu1neE2dbFHl6qo_ { + width: red; +} + +.CN6MhKBceoVNiQz08bqw { + color: green; +} ", "", ], ] `; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with composes when the "exportLocalsConvention" is function and return array names: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with composes when the "exportLocalsConvention" is function: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with composes when the "exportLocalsConvention" is function: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./file1.css\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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"; +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, \\".P4v8yj8XmjmeRxYDVRa0 { box-shadow: 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\", 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"; }\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`._ghi { + color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v_def_TEST"] }; +} + +._my-class { + color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["s_white_TEST"] }; +} + +._other { + display: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["m_small_TEST"] }; +} + +._other-other { + width: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v_def_TEST"] }; +} + +._green { + color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v_other_other_TEST"] }; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"shadow\\": \\"0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\", 0 0 \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"color\\"] + \\"\\", - \\"ghi\\": \\"P4v8yj8XmjmeRxYDVRa0\\" -}; +export var v_def_TEST = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v_def_TEST"]}\`; +export var v_other_other_TEST = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v_other_other_TEST"]}\`; +export var s_white_TEST = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["s_white_TEST"]}\`; +export var m_small_TEST = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["m_small_TEST"]}\`; +export var ghi_TEST = \`_ghi\`; +export var my_class_TEST = \`_my-class\`; +export var other_TEST = \`_other\`; +export var other_other_TEST = \`_other-other\`; +export var green_TEST = \`_green\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/tests-cases/values-7/file1.css", +exports[`"modules" option should work with composes when the "exportLocalsConvention" is function: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/namedExport/composes/values.css", " ", "", ], - Array [ - "./modules/tests-cases/values-7/source.css", - ".P4v8yj8XmjmeRxYDVRa0 { box-shadow: 0 0 red, 0 0 red; } -", - "", - ], -] -`; - -exports[`"modules" option should work with case \`values-7\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; + [ + "./modules/namedExport/composes/composes.css", + "._ghi { + color: red; +} -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +._my-class { + color: white; +} -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`false)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"@value shadow-color: rgba(0, 0, 0, 0.5);\\\\n\\\\n.shadow {\\\\n box-shadow: 0 10px 10px shadow-color,\\\\n 10px 0px 5px shadow-color;\\\\n}\\\\n\\", \\"\\"]); -// Exports -export default ___CSS_LOADER_EXPORT___; -" -`; +._other { + display: (min-width: 320px); +} -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-8/source.css", - "@value shadow-color: rgba(0, 0, 0, 0.5); +._other-other { + width: red; +} -.shadow { - box-shadow: 0 10px 10px shadow-color, - 10px 0px 5px shadow-color; +._green { + color: green; } ", "", @@ -12441,96 +22680,80 @@ Array [ ] `; -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with composes when the "exportLocalsConvention" is function: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with composes when the "namedExport" is enabled and "exportLocalsConvention" options has "dashesOnly" value: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with composes when the "namedExport" is enabled and "exportLocalsConvention" options has "dashesOnly" value: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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"; +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, \\".shadow {\\\\n box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5),\\\\n 10px 0px 5px rgba(0, 0, 0, 0.5);\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"shadow-color\\": \\"rgba(0, 0, 0, 0.5)\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +___CSS_LOADER_EXPORT___.push([module.id, \`._ghi { + color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v_def"] }; +} -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-8/source.css", - ".shadow { - box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5), - 10px 0px 5px rgba(0, 0, 0, 0.5); +._my-class { + color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["sWhite"] }; } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +._other { + display: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["mSmall"] }; +} -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +._other-other { + width: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v_def"] }; +} -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`local)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"._gYftI2wkc7e4ZSsno3A {\\\\n box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5),\\\\n 10px 0px 5px rgba(0, 0, 0, 0.5);\\\\n}\\\\n\\", \\"\\"]); +._green { + color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v_otherOther"] }; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"shadow-color\\": \\"rgba(0, 0, 0, 0.5)\\", - \\"shadow\\": \\"_gYftI2wkc7e4ZSsno3A\\" -}; +export var v_def = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v_def"]}\`; +export var v_otherOther = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v_otherOther"]}\`; +export var sWhite = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["sWhite"]}\`; +export var mSmall = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["mSmall"]}\`; +export var ghi = \`_ghi\`; +export var myClass = \`_my-class\`; +export var other = \`_other\`; +export var otherOther = \`_other-other\`; +export var green = \`_green\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-8/source.css", - "._gYftI2wkc7e4ZSsno3A { - box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5), - 10px 0px 5px rgba(0, 0, 0, 0.5); -} +exports[`"modules" option should work with composes when the "namedExport" is enabled and "exportLocalsConvention" options has "dashesOnly" value: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/namedExport/composes/values.css", + " ", "", ], -] -`; + [ + "./modules/namedExport/composes/composes.css", + "._ghi { + color: red; +} -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +._my-class { + color: white; +} -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +._other { + display: (min-width: 320px); +} -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".shadow {\\\\n box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5),\\\\n 10px 0px 5px rgba(0, 0, 0, 0.5);\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"shadow-color\\": \\"rgba(0, 0, 0, 0.5)\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +._other-other { + width: red; +} -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-8/source.css", - ".shadow { - box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5), - 10px 0px 5px rgba(0, 0, 0, 0.5); +._green { + color: green; } ", "", @@ -12538,32 +22761,48 @@ Array [ ] `; -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with composes when the "namedExport" is enabled and "exportLocalsConvention" options has "dashesOnly" value: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with global compose: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with global compose: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\"._shadow {\\\\n box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5),\\\\n 10px 0px 5px rgba(0, 0, 0, 0.5);\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.global-class { + color: red; +} + +.other-global-class { + color: red; +} + +.oNDnA1BRHWFMyAdR4iF1 { + color: blue; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"shadow-color\\": \\"rgba(0, 0, 0, 0.5)\\", - \\"shadow\\": \\"_shadow\\" -}; +export var otherClassName = \`oNDnA1BRHWFMyAdR4iF1 global-class other-global-class\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-8/source.css", - "._shadow { - box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5), - 10px 0px 5px rgba(0, 0, 0, 0.5); +exports[`"modules" option should work with global compose: result 1`] = ` +[ + [ + "./modules/composes/global.css", + ".global-class { + color: red; +} + +.other-global-class { + color: red; +} + +.oNDnA1BRHWFMyAdR4iF1 { + color: blue; } ", "", @@ -12571,86 +22810,119 @@ Array [ ] `; -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with global compose: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with multiple compose: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with multiple compose: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./alias.css"; +import ___CSS_LOADER_ICSS_IMPORT_1___, * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./alias-1.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, \\"._gYftI2wkc7e4ZSsno3A {\\\\n box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5),\\\\n 10px 0px 5px rgba(0, 0, 0, 0.5);\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"shadow-color\\": \\"rgba(0, 0, 0, 0.5)\\", - \\"shadow\\": \\"_gYftI2wkc7e4ZSsno3A\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +___CSS_LOADER_EXPORT___.push([module.id, \`.RsClSIMkfTMmUvwYT4aD { + color: red; +} + +.OdpZEdUc2oHF96Xqdoba { + color: blue; +} + +.A3lCTIjOyIaMw91SUTt_ { + color: blue; +} + +.global-class { + padding: 10px; +} -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-8/source.css", - "._gYftI2wkc7e4ZSsno3A { - box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5), - 10px 0px 5px rgba(0, 0, 0, 0.5); +.global-class-1 { + padding: 10px; } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`values-8\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +.global-class-2 { + padding: 10px; +} -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +.BwiLdQraIwYyRAA53QEQ { + color: gainsboro; +} -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`false)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"@value def: red;\\\\n\\\\n.foo1 {\\\\n prop: func(def);\\\\n}\\\\n\\\\n.foo2 {\\\\n prop: func(10px def);\\\\n}\\\\n\\\\n.foo3 {\\\\n prop: func(def 10px);\\\\n}\\\\n\\\\n.foo4 {\\\\n prop: func(10px def 10px);\\\\n}\\\\n\\\\n.foo5 {\\\\n prop: func(10px, def);\\\\n}\\\\n\\\\n.foo6 {\\\\n prop: func(def, 10px);\\\\n}\\\\n\\\\n.foo7 {\\\\n prop: func(10px, def, 10px);\\\\n}\\\\n\\", \\"\\"]); +.DemABT8Zz2xVnnu848uO { +} +\`, ""]); // Exports +var _1 = \`RsClSIMkfTMmUvwYT4aD\`; +export { _1 as "other-class" }; +var _2 = \`OdpZEdUc2oHF96Xqdoba\`; +export { _2 as "class-1" }; +var _3 = \`A3lCTIjOyIaMw91SUTt_\`; +export { _3 as "class-2" }; +var _4 = \`BwiLdQraIwYyRAA53QEQ RsClSIMkfTMmUvwYT4aD OdpZEdUc2oHF96Xqdoba A3lCTIjOyIaMw91SUTt_ \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["imported-alias"]} \${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["imported-alias-2"]} \${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["imported-alias-3"]} global-class global-class-1 global-class-2\`; +export { _4 as "class" }; +var _5 = \`DemABT8Zz2xVnnu848uO RsClSIMkfTMmUvwYT4aD OdpZEdUc2oHF96Xqdoba\`; +export { _5 as "class-other" }; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-9/source.css", - "@value def: red; +exports[`"modules" option should work with multiple compose: result 1`] = ` +[ + [ + "../../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]!./modules/composes/alias-1.css", + ".Lg5UPByIZH1XWiASCk_q { + background: red; +} -.foo1 { - prop: func(def); +.QllkotlwlKJ4pFhiIzqP { + background: red; +} +", + "", + ], + [ + "./modules/composes/multiple.css", + ".RsClSIMkfTMmUvwYT4aD { + color: red; } -.foo2 { - prop: func(10px def); +.OdpZEdUc2oHF96Xqdoba { + color: blue; } -.foo3 { - prop: func(def 10px); +.A3lCTIjOyIaMw91SUTt_ { + color: blue; } -.foo4 { - prop: func(10px def 10px); +.global-class { + padding: 10px; } -.foo5 { - prop: func(10px, def); +.global-class-1 { + padding: 10px; } -.foo6 { - prop: func(def, 10px); +.global-class-2 { + padding: 10px; } -.foo7 { - prop: func(10px, def, 10px); +.BwiLdQraIwYyRAA53QEQ { + color: gainsboro; +} + +.DemABT8Zz2xVnnu848uO { } ", "", @@ -12658,233 +22930,343 @@ Array [ ] `; -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with multiple compose: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with the "[local]" placeholder for the "localIdentName" option: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with the "[local]" placeholder for the "localIdentName" option: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".foo1 {\\\\n prop: func(red);\\\\n}\\\\n\\\\n.foo2 {\\\\n prop: func(10px red);\\\\n}\\\\n\\\\n.foo3 {\\\\n prop: func(red 10px);\\\\n}\\\\n\\\\n.foo4 {\\\\n prop: func(10px red 10px);\\\\n}\\\\n\\\\n.foo5 {\\\\n prop: func(10px, red);\\\\n}\\\\n\\\\n.foo6 {\\\\n prop: func(red, 10px);\\\\n}\\\\n\\\\n.foo7 {\\\\n prop: func(10px, red, 10px);\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"red\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; - -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-9/source.css", - ".foo1 { - prop: func(red); +___CSS_LOADER_EXPORT___.push([module.id, \`.test { + background: red; } -.foo2 { - prop: func(10px red); +._test { + background: blue; } -.foo3 { - prop: func(red 10px); +.className { + background: red; } -.foo4 { - prop: func(10px red 10px); +#someId { + background: green; } -.foo5 { - prop: func(10px, red); +.className .subClass { + color: green; } -.foo6 { - prop: func(red, 10px); +#someId .subClass { + color: blue; } -.foo7 { - prop: func(10px, red, 10px); +.-a0-34a___f { + color: red; } -", - "", - ], -] -`; - -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; - -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`local)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".mFx0PQlWU7ZesVJ1dwnO {\\\\n prop: func(red);\\\\n}\\\\n\\\\n.iAKUPvHCcIKQx5T7Ig40 {\\\\n prop: func(10px red);\\\\n}\\\\n\\\\n.NproxcDVSA4OdnyzjOGx {\\\\n prop: func(red 10px);\\\\n}\\\\n\\\\n.x5hZgCsnAi0Wu4dVwa5F {\\\\n prop: func(10px red 10px);\\\\n}\\\\n\\\\n.N_CUtqESPW9OrCLeWpQU {\\\\n prop: func(10px, red);\\\\n}\\\\n\\\\n.SiA4RKQhLM9qB1bqRlp7 {\\\\n prop: func(red, 10px);\\\\n}\\\\n\\\\n.rSWhKBVyQ4jAu_cIBKQX {\\\\n prop: func(10px, red, 10px);\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"red\\", - \\"foo1\\": \\"mFx0PQlWU7ZesVJ1dwnO\\", - \\"foo2\\": \\"iAKUPvHCcIKQx5T7Ig40\\", - \\"foo3\\": \\"NproxcDVSA4OdnyzjOGx\\", - \\"foo4\\": \\"x5hZgCsnAi0Wu4dVwa5F\\", - \\"foo5\\": \\"N_CUtqESPW9OrCLeWpQU\\", - \\"foo6\\": \\"SiA4RKQhLM9qB1bqRlp7\\", - \\"foo7\\": \\"rSWhKBVyQ4jAu_cIBKQX\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +.m_x_\\\\@ { + margin-left: auto !important; + margin-right: auto !important; +} -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-9/source.css", - ".mFx0PQlWU7ZesVJ1dwnO { - prop: func(red); +.B\\\\&W\\\\? { + margin-left: auto !important; + margin-right: auto !important; } -.iAKUPvHCcIKQx5T7Ig40 { - prop: func(10px red); +/* matches elements with class=":\\\`(" */ +.\\\\3A \\\\\\\`\\\\( { + color: aqua; } -.NproxcDVSA4OdnyzjOGx { - prop: func(red 10px); +/* matches elements with class="1a2b3c" */ +.\\\\31 a2b3c { + color: aliceblue; } -.x5hZgCsnAi0Wu4dVwa5F { - prop: func(10px red 10px); +/* matches the element with id="#fake-id" */ +#\\\\#fake-id { + color: antiquewhite; } -.N_CUtqESPW9OrCLeWpQU { - prop: func(10px, red); +/* matches the element with id="-a-b-c-" */ +#-a-b-c- { + color: azure; } -.SiA4RKQhLM9qB1bqRlp7 { - prop: func(red, 10px); +/* matches the element with id="©" */ +#© { + color: black; } -.rSWhKBVyQ4jAu_cIBKQX { - prop: func(10px, red, 10px); +.♥ { 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; } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +.foo\\\\\\\\bar { + background: hotpink; +} -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +.foo\\\\/bar\\\\/baz { + background: hotpink; +} -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\".foo1 {\\\\n prop: func(red);\\\\n}\\\\n\\\\n.foo2 {\\\\n prop: func(10px red);\\\\n}\\\\n\\\\n.foo3 {\\\\n prop: func(red 10px);\\\\n}\\\\n\\\\n.foo4 {\\\\n prop: func(10px red 10px);\\\\n}\\\\n\\\\n.foo5 {\\\\n prop: func(10px, red);\\\\n}\\\\n\\\\n.foo6 {\\\\n prop: func(red, 10px);\\\\n}\\\\n\\\\n.foo7 {\\\\n prop: func(10px, red, 10px);\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"red\\" -}; +.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 work with case \`values-9\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-9/source.css", - ".foo1 { - prop: func(red); +exports[`"modules" option should work with the "[local]" placeholder for the "localIdentName" option: result 1`] = ` +[ + [ + "./modules/localIdentName/localIdentName.css", + ".test { + background: red; } -.foo2 { - prop: func(10px red); +._test { + background: blue; } -.foo3 { - prop: func(red 10px); +.className { + background: red; } -.foo4 { - prop: func(10px red 10px); +#someId { + background: green; } -.foo5 { - prop: func(10px, red); +.className .subClass { + color: green; } -.foo6 { - prop: func(red, 10px); +#someId .subClass { + color: blue; } -.foo7 { - prop: func(10px, red, 10px); +.-a0-34a___f { + color: red; } -", - "", - ], -] -`; -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +.m_x_\\@ { + margin-left: auto !important; + margin-right: auto !important; +} -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +.B\\&W\\? { + margin-left: auto !important; + margin-right: auto !important; +} -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` -"// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -// Module -___CSS_LOADER_EXPORT___.push([module.id, \\"._foo1 {\\\\n prop: func(red);\\\\n}\\\\n\\\\n._foo2 {\\\\n prop: func(10px red);\\\\n}\\\\n\\\\n._foo3 {\\\\n prop: func(red 10px);\\\\n}\\\\n\\\\n._foo4 {\\\\n prop: func(10px red 10px);\\\\n}\\\\n\\\\n._foo5 {\\\\n prop: func(10px, red);\\\\n}\\\\n\\\\n._foo6 {\\\\n prop: func(red, 10px);\\\\n}\\\\n\\\\n._foo7 {\\\\n prop: func(10px, red, 10px);\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"red\\", - \\"foo1\\": \\"_foo1\\", - \\"foo2\\": \\"_foo2\\", - \\"foo3\\": \\"_foo3\\", - \\"foo4\\": \\"_foo4\\", - \\"foo5\\": \\"_foo5\\", - \\"foo6\\": \\"_foo6\\", - \\"foo7\\": \\"_foo7\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; +/* matches elements with class=":\`(" */ +.\\3A \\\`\\( { + color: aqua; +} -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-9/source.css", - "._foo1 { - prop: func(red); +/* matches elements with class="1a2b3c" */ +.\\31 a2b3c { + color: aliceblue; } -._foo2 { - prop: func(10px red); +/* matches the element with id="#fake-id" */ +#\\#fake-id { + color: antiquewhite; } -._foo3 { - prop: func(red 10px); +/* matches the element with id="-a-b-c-" */ +#-a-b-c- { + color: azure; +} + +/* matches the element with id="©" */ +#© { + color: black; } -._foo4 { - prop: func(10px red 10px); +.♥ { 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; } -._foo5 { - prop: func(10px, red); +.foo\\\\bar { + background: hotpink; } -._foo6 { - prop: func(red, 10px); +.foo\\/bar\\/baz { + background: hotpink; } -._foo7 { - prop: func(10px, red, 10px); +.foo\\\\bar\\\\baz { + background: hotpink; } ", "", @@ -12892,104 +23274,109 @@ Array [ ] `; -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with the "[local]" placeholder for the "localIdentName" option: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with the "animation" : errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with the "animation" : module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".mFx0PQlWU7ZesVJ1dwnO {\\\\n prop: func(red);\\\\n}\\\\n\\\\n.iAKUPvHCcIKQx5T7Ig40 {\\\\n prop: func(10px red);\\\\n}\\\\n\\\\n.NproxcDVSA4OdnyzjOGx {\\\\n prop: func(red 10px);\\\\n}\\\\n\\\\n.x5hZgCsnAi0Wu4dVwa5F {\\\\n prop: func(10px red 10px);\\\\n}\\\\n\\\\n.N_CUtqESPW9OrCLeWpQU {\\\\n prop: func(10px, red);\\\\n}\\\\n\\\\n.SiA4RKQhLM9qB1bqRlp7 {\\\\n prop: func(red, 10px);\\\\n}\\\\n\\\\n.rSWhKBVyQ4jAu_cIBKQX {\\\\n prop: func(10px, red, 10px);\\\\n}\\\\n\\", \\"\\"]); -// Exports -___CSS_LOADER_EXPORT___.locals = { - \\"def\\": \\"red\\", - \\"foo1\\": \\"mFx0PQlWU7ZesVJ1dwnO\\", - \\"foo2\\": \\"iAKUPvHCcIKQx5T7Ig40\\", - \\"foo3\\": \\"NproxcDVSA4OdnyzjOGx\\", - \\"foo4\\": \\"x5hZgCsnAi0Wu4dVwa5F\\", - \\"foo5\\": \\"N_CUtqESPW9OrCLeWpQU\\", - \\"foo6\\": \\"SiA4RKQhLM9qB1bqRlp7\\", - \\"foo7\\": \\"rSWhKBVyQ4jAu_cIBKQX\\" -}; -export default ___CSS_LOADER_EXPORT___; -" -`; - -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-9/source.css", - ".mFx0PQlWU7ZesVJ1dwnO { - prop: func(red); +___CSS_LOADER_EXPORT___.push([module.id, \`.CO_BsG4X_CxEm7pKh56B { + animation: 3s L0PpMR_j7zEdqkCKdda1; } -.iAKUPvHCcIKQx5T7Ig40 { - prop: func(10px red); +.ce3LETkSqzCZfHUYAG4f { + animation: L0PpMR_j7zEdqkCKdda1 3s; } -.NproxcDVSA4OdnyzjOGx { - prop: func(red 10px); +.ReRYoRkvWZncufMfpZCY { + animation-name: L0PpMR_j7zEdqkCKdda1; } -.x5hZgCsnAi0Wu4dVwa5F { - prop: func(10px red 10px); -} +@keyframes L0PpMR_j7zEdqkCKdda1 { + 0% { + background: white; + } + 100% { + background: red; + } +}\`, ""]); +// Exports +export var a = \`CO_BsG4X_CxEm7pKh56B\`; +export var animationName = \`L0PpMR_j7zEdqkCKdda1\`; +export var b = \`ce3LETkSqzCZfHUYAG4f\`; +export var c = \`ReRYoRkvWZncufMfpZCY\`; +export default ___CSS_LOADER_EXPORT___; +" +`; -.N_CUtqESPW9OrCLeWpQU { - prop: func(10px, red); +exports[`"modules" option should work with the "animation" : result 1`] = ` +[ + [ + "./modules/issue-1228/source.css", + ".CO_BsG4X_CxEm7pKh56B { + animation: 3s L0PpMR_j7zEdqkCKdda1; } -.SiA4RKQhLM9qB1bqRlp7 { - prop: func(red, 10px); +.ce3LETkSqzCZfHUYAG4f { + animation: L0PpMR_j7zEdqkCKdda1 3s; } -.rSWhKBVyQ4jAu_cIBKQX { - prop: func(10px, red, 10px); +.ReRYoRkvWZncufMfpZCY { + animation-name: L0PpMR_j7zEdqkCKdda1; } -", + +@keyframes L0PpMR_j7zEdqkCKdda1 { + 0% { + background: white; + } + 100% { + background: red; + } +}", "", ], ] `; -exports[`"modules" option should work with case \`values-9\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with the "animation" : warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`false)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with the "auto" by default for icss: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`false)\`: module 1`] = ` +exports[`"modules" option should work with the "auto" by default for icss: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./vars.icss.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, \\"@value v-primary: #BF4040;\\\\n@value s-black: black-selector;\\\\n@value m-large: (min-width: 960px);\\\\n\\\\n.header {\\\\n color: v-primary;\\\\n padding: 0 10px;\\\\n}\\\\n\\\\n.s-black {\\\\n color: black;\\\\n}\\\\n\\\\n@media m-large {\\\\n .header {\\\\n padding: 0 20px;\\\\n }\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.className { + color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"] }; +} +\`, ""]); // Exports +var _1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"]}\`; +export { _1 as "primary-color" }; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`false)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-10/source.css", - "@value v-primary: #BF4040; -@value s-black: black-selector; -@value m-large: (min-width: 960px); - -.header { - color: v-primary; - padding: 0 10px; -} - -.s-black { - color: black; -} - -@media m-large { - .header { - padding: 0 20px; - } +exports[`"modules" option should work with the "auto" by default for icss: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/mode/icss/vars.icss.css", + " +", + "", + ], + [ + "./modules/mode/icss/relative.icss.css", + ".className { + color: red; } ", "", @@ -12997,43 +23384,47 @@ Array [ ] `; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`false)\`: warnings 1`] = `Array []`; - -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with the "auto" by default for icss: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`global)\`: module 1`] = ` +exports[`"modules" option should work with the "auto" by default when CSS file is entrypoint: entry 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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 {\\\\n color: #BF4040;\\\\n padding: 0 10px;\\\\n}\\\\n\\\\n.black-selector {\\\\n color: black;\\\\n}\\\\n\\\\n@media (min-width: 960px) {\\\\n .header {\\\\n padding: 0 20px;\\\\n }\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.class { + color: red; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"v-primary\\": \\"#BF4040\\", - \\"s-black\\": \\"black-selector\\", - \\"m-large\\": \\"(min-width: 960px)\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-10/source.css", - ".header { - color: #BF4040; - padding: 0 10px; -} +exports[`"modules" option should work with the "auto" by default when CSS file is entrypoint: errors 1`] = `[]`; -.black-selector { - color: black; +exports[`"modules" option should work with the "auto" by default when CSS file is entrypoint: 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, \`.cK4wjjU46XTRUXJefTb2 { + color: red; } +\`, ""]); +// Exports +export var relative = \`cK4wjjU46XTRUXJefTb2\`; +export default ___CSS_LOADER_EXPORT___; +" +`; -@media (min-width: 960px) { - .header { - padding: 0 20px; - } +exports[`"modules" option should work with the "auto" by default when CSS file is entrypoint: result 1`] = ` +[ + [ + "./modules/mode/relative.module.css", + ".cK4wjjU46XTRUXJefTb2 { + color: red; } ", "", @@ -13041,45 +23432,32 @@ Array [ ] `; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with the "auto" by default when CSS file is entrypoint: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with the "auto" by default with "modules" filename: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`local)\`: module 1`] = ` +exports[`"modules" option should work with the "auto" by default with "modules" filename: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".aOqgZg8G__gUwF2IA9sK {\\\\n color: #BF4040;\\\\n padding: 0 10px;\\\\n}\\\\n\\\\n.FZOYNEUILMAedhN8MRtv {\\\\n color: black;\\\\n}\\\\n\\\\n@media (min-width: 960px) {\\\\n .aOqgZg8G__gUwF2IA9sK {\\\\n padding: 0 20px;\\\\n }\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.PCLrbl4qH1GfltQbXSQw { + color: red; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"v-primary\\": \\"#BF4040\\", - \\"s-black\\": \\"black-selector\\", - \\"m-large\\": \\"(min-width: 960px)\\", - \\"header\\": \\"aOqgZg8G__gUwF2IA9sK\\", - \\"black-selector\\": \\"FZOYNEUILMAedhN8MRtv\\" -}; +export var relative = \`PCLrbl4qH1GfltQbXSQw\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-10/source.css", - ".aOqgZg8G__gUwF2IA9sK { - color: #BF4040; - padding: 0 10px; -} - -.FZOYNEUILMAedhN8MRtv { - color: black; -} - -@media (min-width: 960px) { - .aOqgZg8G__gUwF2IA9sK { - padding: 0 20px; - } +exports[`"modules" option should work with the "auto" by default with "modules" filename: result 1`] = ` +[ + [ + "./modules/mode/relative.modules.css", + ".PCLrbl4qH1GfltQbXSQw { + color: red; } ", "", @@ -13087,43 +23465,32 @@ Array [ ] `; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with the "auto" by default with "modules" filename: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`object with mode global)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with the "auto" by default: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`object with mode global)\`: module 1`] = ` +exports[`"modules" option should work with the "auto" by default: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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 {\\\\n color: #BF4040;\\\\n padding: 0 10px;\\\\n}\\\\n\\\\n.black-selector {\\\\n color: black;\\\\n}\\\\n\\\\n@media (min-width: 960px) {\\\\n .header {\\\\n padding: 0 20px;\\\\n }\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.cK4wjjU46XTRUXJefTb2 { + color: red; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"v-primary\\": \\"#BF4040\\", - \\"s-black\\": \\"black-selector\\", - \\"m-large\\": \\"(min-width: 960px)\\" -}; +export var relative = \`cK4wjjU46XTRUXJefTb2\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`object with mode global)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-10/source.css", - ".header { - color: #BF4040; - padding: 0 10px; -} - -.black-selector { - color: black; -} - -@media (min-width: 960px) { - .header { - padding: 0 20px; - } +exports[`"modules" option should work with the "auto" by default: result 1`] = ` +[ + [ + "./modules/mode/relative.module.css", + ".cK4wjjU46XTRUXJefTb2 { + color: red; } ", "", @@ -13131,45 +23498,41 @@ Array [ ] `; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`object with mode global)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with the "auto" by default: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`object with mode local)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with the "auto" option in the "modules" option for icss: errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`object with mode local)\`: module 1`] = ` +exports[`"modules" option should work with the "auto" option in the "modules" option for icss: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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]!./vars.icss.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, \\"._header {\\\\n color: #BF4040;\\\\n padding: 0 10px;\\\\n}\\\\n\\\\n._black-selector {\\\\n color: black;\\\\n}\\\\n\\\\n@media (min-width: 960px) {\\\\n ._header {\\\\n padding: 0 20px;\\\\n }\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.className { + color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"] }; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"v-primary\\": \\"#BF4040\\", - \\"s-black\\": \\"black-selector\\", - \\"m-large\\": \\"(min-width: 960px)\\", - \\"header\\": \\"_header\\", - \\"black-selector\\": \\"_black-selector\\" -}; +var _1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"]}\`; +export { _1 as "primary-color" }; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`object with mode local)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-10/source.css", - "._header { - color: #BF4040; - padding: 0 10px; -} - -._black-selector { - color: black; -} - -@media (min-width: 960px) { - ._header { - padding: 0 20px; - } +exports[`"modules" option should work with the "auto" option in the "modules" option for icss: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/mode/icss/vars.icss.css", + " +", + "", + ], + [ + "./modules/mode/icss/relative.icss.css", + ".className { + color: red; } ", "", @@ -13177,45 +23540,31 @@ Array [ ] `; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`object with mode local)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with the "auto" option in the "modules" option for icss: warnings 1`] = `[]`; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`true)\`: errors 1`] = `Array []`; +exports[`"modules" option should work with the "auto" option is "false": errors 1`] = `[]`; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`true)\`: module 1`] = ` +exports[`"modules" option should work with the "auto" option is "false": module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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, \\".aOqgZg8G__gUwF2IA9sK {\\\\n color: #BF4040;\\\\n padding: 0 10px;\\\\n}\\\\n\\\\n.FZOYNEUILMAedhN8MRtv {\\\\n color: black;\\\\n}\\\\n\\\\n@media (min-width: 960px) {\\\\n .aOqgZg8G__gUwF2IA9sK {\\\\n padding: 0 20px;\\\\n }\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.relative { + color: red; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"v-primary\\": \\"#BF4040\\", - \\"s-black\\": \\"black-selector\\", - \\"m-large\\": \\"(min-width: 960px)\\", - \\"header\\": \\"aOqgZg8G__gUwF2IA9sK\\", - \\"black-selector\\": \\"FZOYNEUILMAedhN8MRtv\\" -}; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`true)\`: result 1`] = ` -Array [ - Array [ - "./modules/tests-cases/values-10/source.css", - ".aOqgZg8G__gUwF2IA9sK { - color: #BF4040; - padding: 0 10px; -} - -.FZOYNEUILMAedhN8MRtv { - color: black; -} - -@media (min-width: 960px) { - .aOqgZg8G__gUwF2IA9sK { - padding: 0 20px; - } +exports[`"modules" option should work with the "auto" option is "false": result 1`] = ` +[ + [ + "./modules/mode/relative.module.css", + ".relative { + color: red; } ", "", @@ -13223,60 +23572,107 @@ Array [ ] `; -exports[`"modules" option should work with case \`values-10\` (\`modules\` value is \`true)\`: warnings 1`] = `Array []`; +exports[`"modules" option should work with the "auto" option is "false": warnings 1`] = `[]`; -exports[`"modules" option should work with composes when the "namedExport" is enabled and "exportLocalsConvention" options has "dashesOnly" value: errors 1`] = `Array []`; +exports[`"modules" option should work with the "auto" option is "true": errors 1`] = `[]`; -exports[`"modules" option should work with composes when the "namedExport" is enabled and "exportLocalsConvention" options has "dashesOnly" value: module 1`] = ` +exports[`"modules" option should work with the "auto" option is "true": module 1`] = ` "// Imports -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\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); -___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true); +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, \\"._ghi {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"v_def\\"] + \\";\\\\n}\\\\n\\\\n._my-class {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"sWhite\\"] + \\";\\\\n}\\\\n\\\\n._other {\\\\n display: \\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"mSmall\\"] + \\";\\\\n}\\\\n\\\\n._other-other {\\\\n width: \\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"v_def\\"] + \\";\\\\n}\\\\n\\\\n._green {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"v_otherOther\\"] + \\";\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.cK4wjjU46XTRUXJefTb2 { + color: red; +} +\`, ""]); // Exports -export var v_def = \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"v_def\\"] + \\"\\"; -export var v_otherOther = \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"v_otherOther\\"] + \\"\\"; -export var sWhite = \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"sWhite\\"] + \\"\\"; -export var mSmall = \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"mSmall\\"] + \\"\\"; -export var ghi = \\"_ghi\\"; -export var myClass = \\"_my-class\\"; -export var other = \\"_other\\"; -export var otherOther = \\"_other-other\\"; -export var green = \\"_green\\"; +export var relative = \`cK4wjjU46XTRUXJefTb2\`; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with composes when the "namedExport" is enabled and "exportLocalsConvention" options has "dashesOnly" value: result 1`] = ` -Array [ - Array [ - "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/namedExport/composes/values.css", - " +exports[`"modules" option should work with the "auto" option is "true": result 1`] = ` +[ + [ + "./modules/mode/relative.module.css", + ".cK4wjjU46XTRUXJefTb2 { + color: red; +} ", "", ], - Array [ - "./modules/namedExport/composes/composes.css", - "._ghi { - color: red; +] +`; + +exports[`"modules" option should work with the "auto" option is "true": warnings 1`] = `[]`; + +exports[`"modules" option should work with the "namedExport" option with nested import: errors 1`] = `[]`; + +exports[`"modules" option should work with the "namedExport" option with nested 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_ICSS_IMPORT_0___, * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!../../composes/values.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, \`.JWanYzEjzEiXBF1n6Nww { + color: #BF4040; + padding: 0 10px; } -._my-class { - color: white; +.dt0XYCcW_aRyvQtN2ZHa { + color: black; } -._other { - display: (min-width: 320px); +@media (min-width: 960px) and (max-width: 1024px) { + .JWanYzEjzEiXBF1n6Nww { + color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-def"] }; + padding: 0 20px; + } +} +\`, ""]); +// Exports +var _1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-def"]}\`; +export { _1 as "v-def" }; +var _2 = \`#BF4040\`; +export { _2 as "v-primary" }; +var _3 = \`black-selector\`; +export { _3 as "s-black" }; +var _4 = \`(min-width: 960px)\`; +export { _4 as "m-large" }; +export var header = \`JWanYzEjzEiXBF1n6Nww\`; +var _5 = \`dt0XYCcW_aRyvQtN2ZHa\`; +export { _5 as "black-selector" }; +export default ___CSS_LOADER_EXPORT___; +" +`; + +exports[`"modules" option should work with the "namedExport" option with nested import: result 1`] = ` +[ + [ + "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/values.css", + " +", + "", + ], + [ + "./modules/namedExport/nested/index.css", + ".JWanYzEjzEiXBF1n6Nww { + color: #BF4040; + padding: 0 10px; } -._other-other { - width: red; +.dt0XYCcW_aRyvQtN2ZHa { + color: black; } -._green { - color: green; +@media (min-width: 960px) and (max-width: 1024px) { + .JWanYzEjzEiXBF1n6Nww { + color: red; + padding: 0 20px; + } } ", "", @@ -13284,186 +23680,165 @@ Array [ ] `; -exports[`"modules" option should work with composes when the "namedExport" is enabled and "exportLocalsConvention" options has "dashesOnly" value: warnings 1`] = `Array []`; +exports[`"modules" option should work with the "namedExport" option with nested import: warnings 1`] = `[]`; -exports[`"modules" option should work with the "[local]" placeholder for the "localIdentName" option: errors 1`] = `Array []`; +exports[`"modules" option should work with the "namedExport" option: errors 1`] = `[]`; -exports[`"modules" option should work with the "[local]" placeholder for the "localIdentName" option: module 1`] = ` +exports[`"modules" option should work with the "namedExport" option: module 1`] = ` "// Imports -import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\"; -var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); +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 {\\\\n background: red;\\\\n}\\\\n\\\\n._test {\\\\n background: blue;\\\\n}\\\\n\\\\n.className {\\\\n background: red;\\\\n}\\\\n\\\\n#someId {\\\\n background: green;\\\\n}\\\\n\\\\n.className .subClass {\\\\n color: green;\\\\n}\\\\n\\\\n#someId .subClass {\\\\n color: blue;\\\\n}\\\\n\\\\n.-a0-34a___f {\\\\n color: red;\\\\n}\\\\n\\\\n.m_x_\\\\\\\\@ {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n.B\\\\\\\\&W\\\\\\\\? {\\\\n margin-left: auto !important;\\\\n margin-right: auto !important;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\":\`(\\\\\\" */\\\\n.\\\\\\\\3A \\\\\\\\\`\\\\\\\\( {\\\\n color: aqua;\\\\n}\\\\n\\\\n/* matches elements with class=\\\\\\"1a2b3c\\\\\\" */\\\\n.\\\\\\\\31 a2b3c {\\\\n color: aliceblue;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"#fake-id\\\\\\" */\\\\n#\\\\\\\\#fake-id {\\\\n color: antiquewhite;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"-a-b-c-\\\\\\" */\\\\n#-a-b-c- {\\\\n color: azure;\\\\n}\\\\n\\\\n/* matches the element with id=\\\\\\"©\\\\\\" */\\\\n#© {\\\\n color: black;\\\\n}\\\\n\\\\n.♥ { background: lime; }\\\\n.© { background: lime; }\\\\n.“‘’” { background: lime; }\\\\n.☺☃ { background: lime; }\\\\n.⌘⌥ { background: lime; }\\\\n.𝄞♪♩♫♬ { background: lime; }\\\\n.💩 { background: lime; }\\\\n.\\\\\\\\? { background: lime; }\\\\n.\\\\\\\\@ { background: lime; }\\\\n.\\\\\\\\. { background: lime; }\\\\n.\\\\\\\\3A \\\\\\\\) { background: lime; }\\\\n.\\\\\\\\3A \\\\\\\\\`\\\\\\\\( { background: lime; }\\\\n.\\\\\\\\31 23 { background: lime; }\\\\n.\\\\\\\\31 a2b3c { background: lime; }\\\\n.\\\\\\\\
{ background: lime; }\\\\n.\\\\\\\\<\\\\\\\\>\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\>\\\\\\\\>\\\\\\\\<\\\\\\\\> { background: lime; }\\\\n.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\[\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\>\\\\\\\\+\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\<\\\\\\\\-\\\\\\\\]\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\<\\\\\\\\<\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\.\\\\\\\\+\\\\\\\\+\\\\\\\\+\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\-\\\\\\\\.\\\\\\\\>\\\\\\\\+\\\\\\\\.\\\\\\\\>\\\\\\\\. { background: lime; }\\\\n.\\\\\\\\# { background: lime; }\\\\n.\\\\\\\\#\\\\\\\\# { background: lime; }\\\\n.\\\\\\\\#\\\\\\\\.\\\\\\\\#\\\\\\\\.\\\\\\\\# { background: lime; }\\\\n.\\\\\\\\_ { background: lime; }\\\\n.\\\\\\\\{\\\\\\\\} { background: lime; }\\\\n.\\\\\\\\#fake\\\\\\\\-id { background: lime; }\\\\n.foo\\\\\\\\.bar { background: lime; }\\\\n.\\\\\\\\3A hover { background: lime; }\\\\n.\\\\\\\\3A hover\\\\\\\\3A focus\\\\\\\\3A active { background: lime; }\\\\n.\\\\\\\\[attr\\\\\\\\=value\\\\\\\\] { background: lime; }\\\\n.f\\\\\\\\/o\\\\\\\\/o { background: lime; }\\\\n.f\\\\\\\\\\\\\\\\o\\\\\\\\\\\\\\\\o { background: lime; }\\\\n.f\\\\\\\\*o\\\\\\\\*o { background: lime; }\\\\n.f\\\\\\\\!o\\\\\\\\!o { background: lime; }\\\\n.f\\\\\\\\'o\\\\\\\\'o { background: lime; }\\\\n.f\\\\\\\\~o\\\\\\\\~o { background: lime; }\\\\n.f\\\\\\\\+o\\\\\\\\+o { background: lime; }\\\\n\\\\n.foo\\\\\\\\/bar {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo\\\\\\\\\\\\\\\\bar {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo\\\\\\\\/bar\\\\\\\\/baz {\\\\n background: hotpink;\\\\n}\\\\n\\\\n.foo\\\\\\\\\\\\\\\\bar\\\\\\\\\\\\\\\\baz {\\\\n background: hotpink;\\\\n}\\\\n\\", \\"\\"]); +___CSS_LOADER_EXPORT___.push([module.id, \`.B7aaCqeUPDUWjFbTGukt { + color: red; +} + +.bar { + color: red; +} +\`, ""]); // Exports -___CSS_LOADER_EXPORT___.locals = { - \\"123\\": \\"123\\", - \\"test\\": \\"test\\", - \\"_test\\": \\"_test\\", - \\"className\\": \\"className\\", - \\"someId\\": \\"someId\\", - \\"subClass\\": \\"subClass\\", - \\"-a0-34a___f\\": \\"-a0-34a___f\\", - \\"m_x_@\\": \\"m_x_@\\", - \\"B&W?\\": \\"B&W?\\", - \\":\`(\\": \\":\`(\\", - \\"1a2b3c\\": \\"1a2b3c\\", - \\"#fake-id\\": \\"#fake-id\\", - \\"-a-b-c-\\": \\"-a-b-c-\\", - \\"©\\": \\"©\\", - \\"♥\\": \\"♥\\", - \\"“‘’”\\": \\"“‘’”\\", - \\"☺☃\\": \\"☺☃\\", - \\"⌘⌥\\": \\"⌘⌥\\", - \\"𝄞♪♩♫♬\\": \\"𝄞♪♩♫♬\\", - \\"💩\\": \\"💩\\", - \\"?\\": \\"?\\", - \\"@\\": \\"@\\", - \\".\\": \\".\\", - \\":)\\": \\":)\\", - \\"
\\": \\"
\\", - \\"<><<<>><>\\": \\"<><<<>><>\\", - \\"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\\": \\"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.\\", - \\"#\\": \\"#\\", - \\"##\\": \\"##\\", - \\"#.#.#\\": \\"#.#.#\\", - \\"_\\": \\"_\\", - \\"{}\\": \\"{}\\", - \\"foo.bar\\": \\"foo.bar\\", - \\":hover\\": \\":hover\\", - \\":hover:focus:active\\": \\":hover:focus:active\\", - \\"[attr=value]\\": \\"[attr=value]\\", - \\"f/o/o\\": \\"f/o/o\\", - \\"f\\\\\\\\o\\\\\\\\o\\": \\"f\\\\\\\\o\\\\\\\\o\\", - \\"f*o*o\\": \\"f*o*o\\", - \\"f!o!o\\": \\"f!o!o\\", - \\"f'o'o\\": \\"f'o'o\\", - \\"f~o~o\\": \\"f~o~o\\", - \\"f+o+o\\": \\"f+o+o\\", - \\"foo/bar\\": \\"foo/bar\\", - \\"foo\\\\\\\\bar\\": \\"foo\\\\\\\\bar\\", - \\"foo/bar/baz\\": \\"foo/bar/baz\\", - \\"foo\\\\\\\\bar\\\\\\\\baz\\": \\"foo\\\\\\\\bar\\\\\\\\baz\\" -}; +var _1 = \`B7aaCqeUPDUWjFbTGukt\`; +export { _1 as "bar-baz" }; export default ___CSS_LOADER_EXPORT___; " `; -exports[`"modules" option should work with the "[local]" placeholder for the "localIdentName" option: result 1`] = ` -Array [ - Array [ - "./modules/localIdentName/localIdentName.css", - ".test { - background: red; +exports[`"modules" option should work with the "namedExport" option: result 1`] = ` +[ + [ + "./modules/namedExport/base/index.css", + ".B7aaCqeUPDUWjFbTGukt { + color: red; } -._test { - background: blue; +.bar { + color: red; } +", + "", + ], +] +`; -.className { - background: red; -} +exports[`"modules" option should work with the "namedExport" option: warnings 1`] = `[]`; -#someId { - background: green; +exports[`"modules" option should work with the 'auto' and extract CSS using mini-css-extract-plugin: css 1`] = ` +"/*!*****************************************************************!*\\ + !*** css ../../src/index.js!./modules/mode/relative.module.css ***! + \\*****************************************************************/ +.cK4wjjU46XTRUXJefTb2 { + color: red; } -.className .subClass { - color: green; -} +" +`; -#someId .subClass { - color: blue; -} +exports[`"modules" option should work with the 'auto' and extract CSS using mini-css-extract-plugin: errors 1`] = `[]`; -.-a0-34a___f { - color: red; -} +exports[`"modules" option should work with the 'auto' and extract CSS using mini-css-extract-plugin: module 1`] = ` +"// extracted by mini-css-extract-plugin +var _1 = "cK4wjjU46XTRUXJefTb2"; +export { _1 as "relative" } +" +`; -.m_x_\\\\@ { - margin-left: auto !important; - margin-right: auto !important; +exports[`"modules" option should work with the 'auto' and extract CSS using mini-css-extract-plugin: warnings 1`] = `[]`; + +exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`global\`): errors 1`] = `[]`; + +exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`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"; +var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___); +// Module +___CSS_LOADER_EXPORT___.push([module.id, \`.jrJjHkACT4rdNLXq0UHw { + background-color: red; } -.B\\\\&W\\\\? { - margin-left: auto !important; - margin-right: auto !important; +.t4oM0HekxoQSdJQcuoas { + background-color: green; } -/* matches elements with class=\\":\`(\\" */ -.\\\\3A \\\\\`\\\\( { - color: aqua; +.baz { + background-color: blue; } +\`, ""]); +// Exports +export var foo = \`jrJjHkACT4rdNLXq0UHw\`; +export var bar = \`t4oM0HekxoQSdJQcuoas\`; +export var baz = \`baz\`; +export default ___CSS_LOADER_EXPORT___; +" +`; -/* matches elements with class=\\"1a2b3c\\" */ -.\\\\31 a2b3c { - color: aliceblue; +exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`global\`): result 1`] = ` +[ + [ + "./modules/exportGlobals-global/exportGlobals.css", + ".jrJjHkACT4rdNLXq0UHw { + background-color: red; } -/* matches the element with id=\\"#fake-id\\" */ -#\\\\#fake-id { - color: antiquewhite; +.t4oM0HekxoQSdJQcuoas { + background-color: green; } -/* matches the element with id=\\"-a-b-c-\\" */ -#-a-b-c- { - color: azure; +.baz { + background-color: blue; } +", + "", + ], +] +`; -/* matches the element with id=\\"©\\" */ -#© { - color: black; +exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`global\`): warnings 1`] = `[]`; + +exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`local\`): errors 1`] = `[]`; + +exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`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, \`.foo { + background-color: red; } -.♥ { 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; }
+.HVlUJugG3qXEnSpkNUx9 {
+ background-color: green;
+}
-.foo\\\\/bar {
- background: hotpink;
+.baz {
+ background-color: blue;
}
+\`, ""]);
+// Exports
+export var foo = \`foo\`;
+export var bar = \`HVlUJugG3qXEnSpkNUx9\`;
+export var baz = \`baz\`;
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
-.foo\\\\\\\\bar {
- background: hotpink;
+exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`local\`): result 1`] = `
+[
+ [
+ "./modules/exportGlobals-local/exportGlobals.css",
+ ".foo {
+ background-color: red;
}
-.foo\\\\/bar\\\\/baz {
- background: hotpink;
+.HVlUJugG3qXEnSpkNUx9 {
+ background-color: green;
}
-.foo\\\\\\\\bar\\\\\\\\baz {
- background: hotpink;
+.baz {
+ background-color: blue;
}
",
"",
@@ -13471,130 +23846,191 @@ Array [
]
`;
-exports[`"modules" option should work with the "[local]" placeholder for the "localIdentName" option: warnings 1`] = `Array []`;
+exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`local\`): warnings 1`] = `[]`;
-exports[`"modules" option should work with the "animation" : errors 1`] = `Array []`;
+exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`pure\`): errors 1`] = `[]`;
-exports[`"modules" option should work with the "animation" : module 1`] = `
+exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`pure\`): module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"._1WlhCaq683zztjW16D8 {\\\\n animation: 3s bWldYkt7hSkPMNbSPm8_;\\\\n}\\\\n\\\\n.TysBNEbJOEafRuuTgQm0 {\\\\n animation: bWldYkt7hSkPMNbSPm8_ 3s;\\\\n}\\\\n\\\\n.YkXh08yvsVDPvUuPFC_c {\\\\n animation-name: bWldYkt7hSkPMNbSPm8_;\\\\n}\\\\n\\\\n@keyframes bWldYkt7hSkPMNbSPm8_ {\\\\n 0% {\\\\n background: white;\\\\n }\\\\n 100% {\\\\n background: red;\\\\n }\\\\n}\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`.bgoUICnkdAL3J1IcF425 {
+ background-color: red;
+}
+
+.KwKEtMPBKQje03ZNIMoA .gNbO7wfRWhoCv4w6R9Jg {
+ background-color: green;
+}
+
+.p9zi7jk16XvhHhouTbxE .baz {
+ background-color: blue;
+}
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"a\\": \\"_1WlhCaq683zztjW16D8\\",
- \\"animationName\\": \\"bWldYkt7hSkPMNbSPm8_\\",
- \\"b\\": \\"TysBNEbJOEafRuuTgQm0\\",
- \\"c\\": \\"YkXh08yvsVDPvUuPFC_c\\"
-};
+export var foo = \`bgoUICnkdAL3J1IcF425\`;
+export var one = \`KwKEtMPBKQje03ZNIMoA\`;
+export var bar = \`gNbO7wfRWhoCv4w6R9Jg\`;
+export var two = \`p9zi7jk16XvhHhouTbxE\`;
+export var baz = \`baz\`;
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option should work with the "animation" : result 1`] = `
-Array [
- Array [
- "./modules/issue-1228/source.css",
- "._1WlhCaq683zztjW16D8 {
- animation: 3s bWldYkt7hSkPMNbSPm8_;
+exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`pure\`): result 1`] = `
+[
+ [
+ "./modules/exportGlobals-pure/exportGlobals.css",
+ ".bgoUICnkdAL3J1IcF425 {
+ background-color: red;
}
-.TysBNEbJOEafRuuTgQm0 {
- animation: bWldYkt7hSkPMNbSPm8_ 3s;
+.KwKEtMPBKQje03ZNIMoA .gNbO7wfRWhoCv4w6R9Jg {
+ background-color: green;
}
-.YkXh08yvsVDPvUuPFC_c {
- animation-name: bWldYkt7hSkPMNbSPm8_;
+.p9zi7jk16XvhHhouTbxE .baz {
+ background-color: blue;
}
-
-@keyframes bWldYkt7hSkPMNbSPm8_ {
- 0% {
- background: white;
- }
- 100% {
- background: red;
- }
-}",
+",
"",
],
]
`;
-exports[`"modules" option should work with the "animation" : warnings 1`] = `Array []`;
+exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`pure\`): warnings 1`] = `[]`;
-exports[`"modules" option should work with the "auto" by default for icss: errors 1`] = `Array []`;
+exports[`"modules" option should work with the \`getJSON\` option and resolve all classes: errors 1`] = `[]`;
-exports[`"modules" option should work with the "auto" by default for icss: module 1`] = `
-"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\";
-import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./vars.icss.css\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
-___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true);
-// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\".className {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"primary-color\\"] + \\";\\\\n}\\\\n\\", \\"\\"]);
+exports[`"modules" option should work with the \`getJSON\` option and resolve all classes: locals 1`] = `
+{
+ "modules/composes/alias-1.css": {
+ "imported-alias-2": "Lg5UPByIZH1XWiASCk_q",
+ "imported-alias-3": "QllkotlwlKJ4pFhiIzqP",
+ },
+ "modules/composes/alias.css": {
+ "imported-alias": "dnhKs1AYKq4KodZdfzcx",
+ },
+ "modules/composes/multiple.css": {
+ "class": "BwiLdQraIwYyRAA53QEQ RsClSIMkfTMmUvwYT4aD OdpZEdUc2oHF96Xqdoba A3lCTIjOyIaMw91SUTt_ dnhKs1AYKq4KodZdfzcx Lg5UPByIZH1XWiASCk_q QllkotlwlKJ4pFhiIzqP global-class global-class-1 global-class-2",
+ "class-1": "OdpZEdUc2oHF96Xqdoba",
+ "class-2": "A3lCTIjOyIaMw91SUTt_",
+ "class-other": "DemABT8Zz2xVnnu848uO RsClSIMkfTMmUvwYT4aD OdpZEdUc2oHF96Xqdoba",
+ "other-class": "RsClSIMkfTMmUvwYT4aD",
+ },
+}
+`;
+
+exports[`"modules" option should work with the \`getJSON\` option and resolve all classes: 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]!./alias.css";
+import ___CSS_LOADER_ICSS_IMPORT_1___, * as ___CSS_LOADER_ICSS_IMPORT_1____NAMED___ from "-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./alias-1.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, \`.RsClSIMkfTMmUvwYT4aD {
+ color: red;
+}
+
+.OdpZEdUc2oHF96Xqdoba {
+ color: blue;
+}
+
+.A3lCTIjOyIaMw91SUTt_ {
+ color: blue;
+}
+
+.global-class {
+ padding: 10px;
+}
+
+.global-class-1 {
+ padding: 10px;
+}
+
+.global-class-2 {
+ padding: 10px;
+}
+
+.BwiLdQraIwYyRAA53QEQ {
+ color: gainsboro;
+}
+
+.DemABT8Zz2xVnnu848uO {
+}
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"primary-color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"primary-color\\"] + \\"\\"
-};
+var _1 = \`RsClSIMkfTMmUvwYT4aD\`;
+export { _1 as "other-class" };
+var _2 = \`OdpZEdUc2oHF96Xqdoba\`;
+export { _2 as "class-1" };
+var _3 = \`A3lCTIjOyIaMw91SUTt_\`;
+export { _3 as "class-2" };
+var _4 = \`BwiLdQraIwYyRAA53QEQ RsClSIMkfTMmUvwYT4aD OdpZEdUc2oHF96Xqdoba A3lCTIjOyIaMw91SUTt_ \${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["imported-alias"]} \${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["imported-alias-2"]} \${___CSS_LOADER_ICSS_IMPORT_1____NAMED___["imported-alias-3"]} global-class global-class-1 global-class-2\`;
+export { _4 as "class" };
+var _5 = \`DemABT8Zz2xVnnu848uO RsClSIMkfTMmUvwYT4aD OdpZEdUc2oHF96Xqdoba\`;
+export { _5 as "class-other" };
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option should work with the "auto" by default for icss: result 1`] = `
-Array [
- Array [
- "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/mode/icss/vars.icss.css",
- "
+exports[`"modules" option should work with the \`getJSON\` option and resolve all classes: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/alias.css",
+ ".dnhKs1AYKq4KodZdfzcx {
+ display: table;
+}
",
"",
],
- Array [
- "./modules/mode/icss/relative.icss.css",
- ".className {
- color: red;
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/alias-1.css",
+ ".Lg5UPByIZH1XWiASCk_q {
+ background: red;
+}
+
+.QllkotlwlKJ4pFhiIzqP {
+ background: red;
}
",
"",
],
-]
-`;
+ [
+ "./modules/composes/multiple.css",
+ ".RsClSIMkfTMmUvwYT4aD {
+ color: red;
+}
-exports[`"modules" option should work with the "auto" by default for icss: warnings 1`] = `Array []`;
+.OdpZEdUc2oHF96Xqdoba {
+ color: blue;
+}
-exports[`"modules" option should work with the "auto" by default when CSS file is entrypoint: entry 1`] = `
-"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
-// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\".class {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]);
-// Exports
-export default ___CSS_LOADER_EXPORT___;
-"
-`;
+.A3lCTIjOyIaMw91SUTt_ {
+ color: blue;
+}
-exports[`"modules" option should work with the "auto" by default when CSS file is entrypoint: errors 1`] = `Array []`;
+.global-class {
+ padding: 10px;
+}
-exports[`"modules" option should work with the "auto" by default when CSS file is entrypoint: module 1`] = `
-"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
-// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\"._wr0eVpMbaGr94MKhByE {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]);
-// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"relative\\": \\"_wr0eVpMbaGr94MKhByE\\"
-};
-export default ___CSS_LOADER_EXPORT___;
-"
-`;
+.global-class-1 {
+ padding: 10px;
+}
+
+.global-class-2 {
+ padding: 10px;
+}
-exports[`"modules" option should work with the "auto" by default when CSS file is entrypoint: result 1`] = `
-Array [
- Array [
- "./modules/mode/relative.module.css",
- "._wr0eVpMbaGr94MKhByE {
- color: red;
+.BwiLdQraIwYyRAA53QEQ {
+ color: gainsboro;
+}
+
+.DemABT8Zz2xVnnu848uO {
}
",
"",
@@ -13602,245 +24038,213 @@ Array [
]
`;
-exports[`"modules" option should work with the "auto" by default when CSS file is entrypoint: warnings 1`] = `Array []`;
+exports[`"modules" option should work with the \`getJSON\` option and resolve all classes: warnings 1`] = `[]`;
-exports[`"modules" option should work with the "auto" by default with "modules" filename: errors 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "duplicate-export": errors 1`] = `[]`;
-exports[`"modules" option should work with the "auto" by default with "modules" filename: module 1`] = `
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "duplicate-export": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\".pPLLlbMzh0yyFp6nyws8 {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"relative\\": \\"pPLLlbMzh0yyFp6nyws8\\"
-};
+export var _test = \`_right_value\`;
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option should work with the "auto" by default with "modules" filename: result 1`] = `
-Array [
- Array [
- "./modules/mode/relative.modules.css",
- ".pPLLlbMzh0yyFp6nyws8 {
- color: red;
-}
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "duplicate-export": result 1`] = `
+[
+ [
+ "./modules/icss/tests-cases/duplicate-export/source.css",
+ "
",
"",
],
]
`;
-exports[`"modules" option should work with the "auto" by default with "modules" filename: warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "duplicate-export": warnings 1`] = `[]`;
-exports[`"modules" option should work with the "auto" by default: errors 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "duplicate-export-in-multiple-export": errors 1`] = `[]`;
-exports[`"modules" option should work with the "auto" by default: module 1`] = `
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "duplicate-export-in-multiple-export": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"._wr0eVpMbaGr94MKhByE {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"relative\\": \\"_wr0eVpMbaGr94MKhByE\\"
-};
+export var _test = \`_right_value\`;
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option should work with the "auto" by default: result 1`] = `
-Array [
- Array [
- "./modules/mode/relative.module.css",
- "._wr0eVpMbaGr94MKhByE {
- color: red;
-}
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "duplicate-export-in-multiple-export": result 1`] = `
+[
+ [
+ "./modules/icss/tests-cases/duplicate-export-in-multiple-export/source.css",
+ "
",
"",
],
]
`;
-exports[`"modules" option should work with the "auto" by default: warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "duplicate-export-in-multiple-export": warnings 1`] = `[]`;
-exports[`"modules" option should work with the "auto" option in the "modules" option for icss: errors 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "empty-export": errors 1`] = `[]`;
-exports[`"modules" option should work with the "auto" option in the "modules" option for icss: module 1`] = `
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "empty-export": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\";
-import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./vars.icss.css\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
-___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true);
+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, \\".className {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"primary-color\\"] + \\";\\\\n}\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"primary-color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"primary-color\\"] + \\"\\"
-};
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option should work with the "auto" option in the "modules" option for icss: result 1`] = `
-Array [
- Array [
- "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/mode/icss/vars.icss.css",
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "empty-export": result 1`] = `
+[
+ [
+ "./modules/icss/tests-cases/empty-export/source.css",
"
-",
- "",
- ],
- Array [
- "./modules/mode/icss/relative.icss.css",
- ".className {
- color: red;
-}
",
"",
],
]
`;
-exports[`"modules" option should work with the "auto" option in the "modules" option for icss: warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "empty-export": warnings 1`] = `[]`;
-exports[`"modules" option should work with the "auto" option is "false": errors 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "empty-import": errors 1`] = `[]`;
-exports[`"modules" option should work with the "auto" option is "false": module 1`] = `
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "empty-import": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\".relative {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option should work with the "auto" option is "false": result 1`] = `
-Array [
- Array [
- "./modules/mode/relative.module.css",
- ".relative {
- color: red;
-}
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "empty-import": result 1`] = `
+[
+ [
+ "./modules/icss/tests-cases/empty-import/source.css",
+ "
",
"",
],
]
`;
-exports[`"modules" option should work with the "auto" option is "false": warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "empty-import": warnings 1`] = `[]`;
-exports[`"modules" option should work with the "auto" option is "true": errors 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "export": errors 1`] = `[]`;
-exports[`"modules" option should work with the "auto" option is "true": module 1`] = `
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "export": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"._wr0eVpMbaGr94MKhByE {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"relative\\": \\"_wr0eVpMbaGr94MKhByE\\"
-};
+export var _test = \`_test\`;
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option should work with the "auto" option is "true": result 1`] = `
-Array [
- Array [
- "./modules/mode/relative.module.css",
- "._wr0eVpMbaGr94MKhByE {
- color: red;
-}
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "export": result 1`] = `
+[
+ [
+ "./modules/icss/tests-cases/export/source.css",
+ "
",
"",
],
]
`;
-exports[`"modules" option should work with the "auto" option is "true": warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "export": warnings 1`] = `[]`;
-exports[`"modules" option should work with the "namedExport" option with nested import: errors 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "export-reserved-keywords": errors 1`] = `[]`;
-exports[`"modules" option should work with the "namedExport" option with nested import: module 1`] = `
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "export-reserved-keywords": module 1`] = `
"// Imports
-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]!../../composes/values.css\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
-___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true);
+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, \\"._Kh3af31CGw1lH3w7rfu {\\\\n color: #BF4040;\\\\n padding: 0 10px;\\\\n}\\\\n\\\\n.FxFkLRrFesfdpMxXCelV {\\\\n color: black;\\\\n}\\\\n\\\\n@media (min-width: 960px) and (max-width: 1024px) {\\\\n ._Kh3af31CGw1lH3w7rfu {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"vDef\\"] + \\";\\\\n padding: 0 20px;\\\\n }\\\\n}\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-export var vDef = \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"vDef\\"] + \\"\\";
-export var vPrimary = \\"#BF4040\\";
-export var sBlack = \\"black-selector\\";
-export var mLarge = \\"(min-width: 960px)\\";
-export var header = \\"_Kh3af31CGw1lH3w7rfu\\";
-export var blackSelector = \\"FxFkLRrFesfdpMxXCelV\\";
+export var constructor = \`constructor\`;
+export var toString = \`toString\`;
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option should work with the "namedExport" option with nested import: result 1`] = `
-Array [
- Array [
- "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/values.css",
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "export-reserved-keywords": result 1`] = `
+[
+ [
+ "./modules/icss/tests-cases/export-reserved-keywords/source.css",
"
-",
- "",
- ],
- Array [
- "./modules/namedExport/nested/index.css",
- "._Kh3af31CGw1lH3w7rfu {
- color: #BF4040;
- padding: 0 10px;
-}
-
-.FxFkLRrFesfdpMxXCelV {
- color: black;
-}
-
-@media (min-width: 960px) and (max-width: 1024px) {
- ._Kh3af31CGw1lH3w7rfu {
- color: red;
- padding: 0 20px;
- }
-}
",
"",
],
]
`;
-exports[`"modules" option should work with the "namedExport" option with nested import: warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "export-reserved-keywords": warnings 1`] = `[]`;
-exports[`"modules" option should work with the "namedExport" option: errors 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "import": errors 1`] = `[]`;
-exports[`"modules" option should work with the "namedExport" option: module 1`] = `
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "import": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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]!./vars.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, \\"._pV82SQbfroU2_cQrb3p {\\\\n color: red;\\\\n}\\\\n\\\\n.bar {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`.className {
+ color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"] };
+}
+\`, ""]);
// Exports
-export var barBaz = \\"_pV82SQbfroU2_cQrb3p\\";
+var _1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"]}\`;
+export { _1 as "primary-color" };
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option should work with the "namedExport" option: result 1`] = `
-Array [
- Array [
- "./modules/namedExport/base/index.css",
- "._pV82SQbfroU2_cQrb3p {
- color: red;
-}
-
-.bar {
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "import": result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/icss/tests-cases/import/vars.css",
+ "
+",
+ "",
+ ],
+ [
+ "./modules/icss/tests-cases/import/source.css",
+ ".className {
color: red;
}
",
@@ -13849,40 +24253,45 @@ Array [
]
`;
-exports[`"modules" option should work with the "namedExport" option: warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "import": warnings 1`] = `[]`;
-exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`global\`): errors 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "import-reserved-keywords": errors 1`] = `[]`;
-exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`global\`): module 1`] = `
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "import-reserved-keywords": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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]!./vars.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, \\".BFz0fZ_GQzSg0rcyMs0b {\\\\n background-color: red;\\\\n}\\\\n\\\\n._ye3xP8BdsVaOgziUvbO {\\\\n background-color: green;\\\\n}\\\\n\\\\n.baz {\\\\n background-color: blue;\\\\n}\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`.className {
+ color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"] };
+ display: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["secondary-color"] };
+}
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"foo\\": \\"BFz0fZ_GQzSg0rcyMs0b\\",
- \\"bar\\": \\"_ye3xP8BdsVaOgziUvbO\\",
- \\"baz\\": \\"baz\\"
-};
+var _1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"]}\`;
+export { _1 as "primary-color" };
+var _2 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["secondary-color"]}\`;
+export { _2 as "secondary-color" };
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`global\`): result 1`] = `
-Array [
- Array [
- "./modules/exportGlobals-global/exportGlobals.css",
- ".BFz0fZ_GQzSg0rcyMs0b {
- background-color: red;
-}
-
-._ye3xP8BdsVaOgziUvbO {
- background-color: green;
-}
-
-.baz {
- background-color: blue;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "import-reserved-keywords": result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/icss/tests-cases/import-reserved-keywords/vars.css",
+ "
+",
+ "",
+ ],
+ [
+ "./modules/icss/tests-cases/import-reserved-keywords/source.css",
+ ".className {
+ color: red;
+ display: block;
}
",
"",
@@ -13890,111 +24299,90 @@ Array [
]
`;
-exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`global\`): warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "import-reserved-keywords": warnings 1`] = `[]`;
-exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`local\`): errors 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "multiple-export": errors 1`] = `[]`;
-exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`local\`): module 1`] = `
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "multiple-export": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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 {\\\\n background-color: red;\\\\n}\\\\n\\\\n.hb0WvEAWA7_c1dVQWmVl {\\\\n background-color: green;\\\\n}\\\\n\\\\n.baz {\\\\n background-color: blue;\\\\n}\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"foo\\": \\"foo\\",
- \\"bar\\": \\"hb0WvEAWA7_c1dVQWmVl\\",
- \\"baz\\": \\"baz\\"
-};
+export var _test = \`_test\`;
+export var _foo = \`_bar\`;
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`local\`): result 1`] = `
-Array [
- Array [
- "./modules/exportGlobals-local/exportGlobals.css",
- ".foo {
- background-color: red;
-}
-
-.hb0WvEAWA7_c1dVQWmVl {
- background-color: green;
-}
-
-.baz {
- background-color: blue;
-}
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "multiple-export": result 1`] = `
+[
+ [
+ "./modules/icss/tests-cases/multiple-export/source.css",
+ "
",
"",
],
]
`;
-exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`local\`): warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "multiple-export": warnings 1`] = `[]`;
-exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`pure\`): errors 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "multiple-keys-values-in-export": errors 1`] = `[]`;
-exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`pure\`): module 1`] = `
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "multiple-keys-values-in-export": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\".gVOT695VCgeHFDB2u2mc {\\\\n background-color: red;\\\\n}\\\\n\\\\n.ANGFIwyxG6wDBpp2XaT2 .P7R9xbpNuZ1LChrKB3gU {\\\\n background-color: green;\\\\n}\\\\n\\\\n.iDEpyEEnN9FCmtFnmzke .baz {\\\\n background-color: blue;\\\\n}\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"foo\\": \\"gVOT695VCgeHFDB2u2mc\\",
- \\"one\\": \\"ANGFIwyxG6wDBpp2XaT2\\",
- \\"bar\\": \\"P7R9xbpNuZ1LChrKB3gU\\",
- \\"two\\": \\"iDEpyEEnN9FCmtFnmzke\\",
- \\"baz\\": \\"baz\\"
-};
+export var _test = \`_test\`;
+export var _test1 = \`1\`;
+export var _test2 = \`'string'\`;
+export var _test3 = \`1px 2px 3px\`;
+export var _test4 = \`1px 2px 3px, 1px 2px 3px\`;
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`pure\`): result 1`] = `
-Array [
- Array [
- "./modules/exportGlobals-pure/exportGlobals.css",
- ".gVOT695VCgeHFDB2u2mc {
- background-color: red;
-}
-
-.ANGFIwyxG6wDBpp2XaT2 .P7R9xbpNuZ1LChrKB3gU {
- background-color: green;
-}
-
-.iDEpyEEnN9FCmtFnmzke .baz {
- background-color: blue;
-}
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "multiple-keys-values-in-export": result 1`] = `
+[
+ [
+ "./modules/icss/tests-cases/multiple-keys-values-in-export/source.css",
+ "
",
"",
],
]
`;
-exports[`"modules" option should work with the \`exportGlobals\` option (the \`mode\` option is \`pure\`): warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "multiple-keys-values-in-export": warnings 1`] = `[]`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "duplicate-export": errors 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "duplicate-export": errors 1`] = `[]`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "duplicate-export": module 1`] = `
+exports[`"modules" option show work when the "modules" option is "icss", case "duplicate-export": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"_test\\": \\"_right_value\\"
-};
+export var _test = \`_right_value\`;
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "duplicate-export": result 1`] = `
-Array [
- Array [
+exports[`"modules" option show work when the "modules" option is "icss", case "duplicate-export": result 1`] = `
+[
+ [
"./modules/icss/tests-cases/duplicate-export/source.css",
"
",
@@ -14003,27 +24391,27 @@ Array [
]
`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "duplicate-export": warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "duplicate-export": warnings 1`] = `[]`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "duplicate-export-in-multiple-export": errors 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "duplicate-export-in-multiple-export": errors 1`] = `[]`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "duplicate-export-in-multiple-export": module 1`] = `
+exports[`"modules" option show work when the "modules" option is "icss", case "duplicate-export-in-multiple-export": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"_test\\": \\"_right_value\\"
-};
+export var _test = \`_right_value\`;
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "duplicate-export-in-multiple-export": result 1`] = `
-Array [
- Array [
+exports[`"modules" option show work when the "modules" option is "icss", case "duplicate-export-in-multiple-export": result 1`] = `
+[
+ [
"./modules/icss/tests-cases/duplicate-export-in-multiple-export/source.css",
"
",
@@ -14032,25 +24420,26 @@ Array [
]
`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "duplicate-export-in-multiple-export": warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "duplicate-export-in-multiple-export": warnings 1`] = `[]`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "empty-export": errors 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "empty-export": errors 1`] = `[]`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "empty-export": module 1`] = `
+exports[`"modules" option show work when the "modules" option is "icss", case "empty-export": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {};
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "empty-export": result 1`] = `
-Array [
- Array [
+exports[`"modules" option show work when the "modules" option is "icss", case "empty-export": result 1`] = `
+[
+ [
"./modules/icss/tests-cases/empty-export/source.css",
"
",
@@ -14059,25 +24448,26 @@ Array [
]
`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "empty-export": warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "empty-export": warnings 1`] = `[]`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "empty-import": errors 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "empty-import": errors 1`] = `[]`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "empty-import": module 1`] = `
+exports[`"modules" option show work when the "modules" option is "icss", case "empty-import": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {};
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "empty-import": result 1`] = `
-Array [
- Array [
+exports[`"modules" option show work when the "modules" option is "icss", case "empty-import": result 1`] = `
+[
+ [
"./modules/icss/tests-cases/empty-import/source.css",
"
",
@@ -14086,27 +24476,27 @@ Array [
]
`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "empty-import": warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "empty-import": warnings 1`] = `[]`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "export": errors 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "export": errors 1`] = `[]`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "export": module 1`] = `
+exports[`"modules" option show work when the "modules" option is "icss", case "export": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"_test\\": \\"_test\\"
-};
+export var _test = \`_test\`;
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "export": result 1`] = `
-Array [
- Array [
+exports[`"modules" option show work when the "modules" option is "icss", case "export": result 1`] = `
+[
+ [
"./modules/icss/tests-cases/export/source.css",
"
",
@@ -14115,28 +24505,28 @@ Array [
]
`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "export": warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "export": warnings 1`] = `[]`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "export-reserved-keywords": errors 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "export-reserved-keywords": errors 1`] = `[]`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "export-reserved-keywords": module 1`] = `
+exports[`"modules" option show work when the "modules" option is "icss", case "export-reserved-keywords": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"constructor\\": \\"constructor\\",
- \\"toString\\": \\"toString\\"
-};
+export var constructor = \`constructor\`;
+export var toString = \`toString\`;
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "export-reserved-keywords": result 1`] = `
-Array [
- Array [
+exports[`"modules" option show work when the "modules" option is "icss", case "export-reserved-keywords": result 1`] = `
+[
+ [
"./modules/icss/tests-cases/export-reserved-keywords/source.css",
"
",
@@ -14145,171 +24535,117 @@ Array [
]
`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "export-reserved-keywords": warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "export-reserved-keywords": warnings 1`] = `[]`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "import": errors 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "import": errors 1`] = `[]`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "import": module 1`] = `
+exports[`"modules" option show work when the "modules" option is "icss", case "import": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./vars.css\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
-___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true);
+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]!./vars.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, \\".className {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"primary-color\\"] + \\";\\\\n}\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`.className {
+ color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"] };
+}
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"primary-color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"primary-color\\"] + \\"\\"
-};
+var _1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"]}\`;
+export { _1 as "primary-color" };
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "import": result 1`] = `
-Array [
- Array [
+exports[`"modules" option show work when the "modules" option is "icss", case "import": result 1`] = `
+[
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/icss/tests-cases/import/vars.css",
"
",
"",
],
- Array [
+ [
"./modules/icss/tests-cases/import/source.css",
".className {
- color: red;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "import": warnings 1`] = `Array []`;
-
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "import-reserved-keywords": errors 1`] = `Array []`;
-
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "import-reserved-keywords": module 1`] = `
-"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./vars.css\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
-___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true);
-// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\".className {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"primary-color\\"] + \\";\\\\n display: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"secondary-color\\"] + \\";\\\\n}\\\\n\\", \\"\\"]);
-// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"primary-color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"primary-color\\"] + \\"\\",
- \\"secondary-color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"secondary-color\\"] + \\"\\"
-};
-export default ___CSS_LOADER_EXPORT___;
-"
-`;
-
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "import-reserved-keywords": result 1`] = `
-Array [
- Array [
- "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/icss/tests-cases/import-reserved-keywords/vars.css",
- "
-",
- "",
- ],
- Array [
- "./modules/icss/tests-cases/import-reserved-keywords/source.css",
- ".className {
- color: red;
- display: block;
-}
-",
- "",
- ],
-]
-`;
-
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "import-reserved-keywords": warnings 1`] = `Array []`;
-
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "multiple-export": errors 1`] = `Array []`;
-
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "multiple-export": module 1`] = `
-"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
-// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\"\\\\n\\", \\"\\"]);
-// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"_test\\": \\"_test\\",
- \\"_foo\\": \\"_bar\\"
-};
-export default ___CSS_LOADER_EXPORT___;
-"
-`;
-
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "multiple-export": result 1`] = `
-Array [
- Array [
- "./modules/icss/tests-cases/multiple-export/source.css",
- "
+ color: red;
+}
",
"",
],
]
`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "multiple-export": warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "import": warnings 1`] = `[]`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "multiple-keys-values-in-export": errors 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "import-reserved-keywords": errors 1`] = `[]`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "multiple-keys-values-in-export": module 1`] = `
+exports[`"modules" option show work when the "modules" option is "icss", case "import-reserved-keywords": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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]!./vars.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, \\"\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`.className {
+ color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"] };
+ display: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["secondary-color"] };
+}
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"_test\\": \\"_test\\",
- \\"_test1\\": \\"1\\",
- \\"_test2\\": \\"'string'\\",
- \\"_test3\\": \\"1px 2px 3px\\",
- \\"_test4\\": \\"1px 2px 3px, 1px 2px 3px\\"
-};
+var _1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"]}\`;
+export { _1 as "primary-color" };
+var _2 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["secondary-color"]}\`;
+export { _2 as "secondary-color" };
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "multiple-keys-values-in-export": result 1`] = `
-Array [
- Array [
- "./modules/icss/tests-cases/multiple-keys-values-in-export/source.css",
+exports[`"modules" option show work when the "modules" option is "icss", case "import-reserved-keywords": result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/icss/tests-cases/import-reserved-keywords/vars.css",
"
+",
+ "",
+ ],
+ [
+ "./modules/icss/tests-cases/import-reserved-keywords/source.css",
+ ".className {
+ color: red;
+ display: block;
+}
",
"",
],
]
`;
-exports[`"modules" option show work when the "mode" option is function and return "icss" value, case "multiple-keys-values-in-export": warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "import-reserved-keywords": warnings 1`] = `[]`;
-exports[`"modules" option show work when the "modules" option is "icss", case "duplicate-export": errors 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "multiple-export": errors 1`] = `[]`;
-exports[`"modules" option show work when the "modules" option is "icss", case "duplicate-export": module 1`] = `
+exports[`"modules" option show work when the "modules" option is "icss", case "multiple-export": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"_test\\": \\"_right_value\\"
-};
+export var _test = \`_test\`;
+export var _foo = \`_bar\`;
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option show work when the "modules" option is "icss", case "duplicate-export": result 1`] = `
-Array [
- Array [
- "./modules/icss/tests-cases/duplicate-export/source.css",
+exports[`"modules" option show work when the "modules" option is "icss", case "multiple-export": result 1`] = `
+[
+ [
+ "./modules/icss/tests-cases/multiple-export/source.css",
"
",
"",
@@ -14317,28 +24653,32 @@ Array [
]
`;
-exports[`"modules" option show work when the "modules" option is "icss", case "duplicate-export": warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "multiple-export": warnings 1`] = `[]`;
-exports[`"modules" option show work when the "modules" option is "icss", case "duplicate-export-in-multiple-export": errors 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "multiple-keys-values-in-export": errors 1`] = `[]`;
-exports[`"modules" option show work when the "modules" option is "icss", case "duplicate-export-in-multiple-export": module 1`] = `
+exports[`"modules" option show work when the "modules" option is "icss", case "multiple-keys-values-in-export": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"_test\\": \\"_right_value\\"
-};
+export var _test = \`_test\`;
+export var _test1 = \`1\`;
+export var _test2 = \`'string'\`;
+export var _test3 = \`1px 2px 3px\`;
+export var _test4 = \`1px 2px 3px, 1px 2px 3px\`;
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"modules" option show work when the "modules" option is "icss", case "duplicate-export-in-multiple-export": result 1`] = `
-Array [
- Array [
- "./modules/icss/tests-cases/duplicate-export-in-multiple-export/source.css",
+exports[`"modules" option show work when the "modules" option is "icss", case "multiple-keys-values-in-export": result 1`] = `
+[
+ [
+ "./modules/icss/tests-cases/multiple-keys-values-in-export/source.css",
"
",
"",
@@ -14346,478 +24686,816 @@ Array [
]
`;
-exports[`"modules" option show work when the "modules" option is "icss", case "duplicate-export-in-multiple-export": warnings 1`] = `Array []`;
+exports[`"modules" option show work when the "modules" option is "icss", case "multiple-keys-values-in-export": warnings 1`] = `[]`;
-exports[`"modules" option show work when the "modules" option is "icss", case "empty-export": errors 1`] = `Array []`;
+exports[`"modules" option show work with the "mode" option using the "local" value and "templateLiteral" support: errors 1`] = `[]`;
-exports[`"modules" option show work when the "modules" option is "icss", case "empty-export": module 1`] = `
+exports[`"modules" option show work with the "mode" option using the "local" value and "templateLiteral" support: module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"\\\\n\\", \\"\\"]);
-// Exports
-___CSS_LOADER_EXPORT___.locals = {};
-export default ___CSS_LOADER_EXPORT___;
-"
-`;
+___CSS_LOADER_EXPORT___.push([module.id, \`.ozGmfTedr1GnFJDWqNUH {
+ color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-def"] };
+}
-exports[`"modules" option show work when the "modules" option is "icss", case "empty-export": result 1`] = `
-Array [
- Array [
- "./modules/icss/tests-cases/empty-export/source.css",
+.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(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D);
+}
+
+.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 show work with the "mode" option using the "local" value and "templateLiteral" support: 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;
+}
+
+.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%;
+}
-exports[`"modules" option show work when the "modules" option is "icss", case "empty-export": warnings 1`] = `Array []`;
-exports[`"modules" option show work when the "modules" option is "icss", case "empty-import": errors 1`] = `Array []`;
+a {
+ content: 'content';
+}
-exports[`"modules" option show work when the "modules" option is "icss", case "empty-import": module 1`] = `
-"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
-// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\"\\\\n\\", \\"\\"]);
-// Exports
-___CSS_LOADER_EXPORT___.locals = {};
-export default ___CSS_LOADER_EXPORT___;
-"
-`;
+@supports (content: 'content') {
+ a {
+ content: 'content';
+ }
+}
-exports[`"modules" option show work when the "modules" option is "icss", case "empty-import": result 1`] = `
-Array [
- Array [
- "./modules/icss/tests-cases/empty-import/source.css",
- "
+[class~='content'] {
+ color:green;
+}
+
+.xajoqP1d3SwrjJ4WEM8g {
+ background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png);
+}
+
+.Ix5nEHiVOsWuWxdx0twz {
+ background: red;
+}
",
"",
],
]
`;
-exports[`"modules" option show work when the "modules" option is "icss", case "empty-import": warnings 1`] = `Array []`;
-
-exports[`"modules" option show work when the "modules" option is "icss", case "export": errors 1`] = `Array []`;
+exports[`"modules" option show work with the "mode" option using the "local" value and "templateLiteral" support: warnings 1`] = `
+[
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
-exports[`"modules" option show work when the "modules" option is "icss", case "export": module 1`] = `
-"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
-// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\"\\\\n\\", \\"\\"]);
-// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"_test\\": \\"_test\\"
-};
-export default ___CSS_LOADER_EXPORT___;
-"
-`;
-
-exports[`"modules" option show work when the "modules" option is "icss", case "export": result 1`] = `
-Array [
- Array [
- "./modules/icss/tests-cases/export/source.css",
- "
-",
- "",
- ],
+More info: https://sass-lang.com/d/legacy-js-api",
]
`;
-exports[`"modules" option show work when the "modules" option is "icss", case "export": warnings 1`] = `Array []`;
+exports[`"modules" option show work with the "mode" option using the "local" value: errors 1`] = `[]`;
-exports[`"modules" option show work when the "modules" option is "icss", case "export-reserved-keywords": errors 1`] = `Array []`;
-
-exports[`"modules" option show work when the "modules" option is "icss", case "export-reserved-keywords": module 1`] = `
+exports[`"modules" option show work with the "mode" option using the "local" value: module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"\\\\n\\", \\"\\"]);
-// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"constructor\\": \\"constructor\\",
- \\"toString\\": \\"toString\\"
-};
-export default ___CSS_LOADER_EXPORT___;
-"
-`;
+___CSS_LOADER_EXPORT___.push([module.id, \`.ozGmfTedr1GnFJDWqNUH {
+ color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-def"] };
+}
-exports[`"modules" option show work when the "modules" option is "icss", case "export-reserved-keywords": result 1`] = `
-Array [
- Array [
- "./modules/icss/tests-cases/export-reserved-keywords/source.css",
- "
-",
- "",
- ],
-]
-`;
+.zchqshjqLbPAHaRvIBET {
+ color: blue;
+}
-exports[`"modules" option show work when the "modules" option is "icss", case "export-reserved-keywords": warnings 1`] = `Array []`;
+.WZBxXqS2GytaA3IBhhnd {
+ display: block;
+}
-exports[`"modules" option show work when the "modules" option is "icss", case "import": errors 1`] = `Array []`;
+.W51zcAMuJMsNFi1CXgWr {
+ width: \${ ___CSS_LOADER_ICSS_IMPORT_1____NAMED___["v-something"] };
+}
-exports[`"modules" option show work when the "modules" option is "icss", case "import": module 1`] = `
-"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./vars.css\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
-___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true);
-// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\".className {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"primary-color\\"] + \\";\\\\n}\\\\n\\", \\"\\"]);
-// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"primary-color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"primary-color\\"] + \\"\\"
-};
-export default ___CSS_LOADER_EXPORT___;
-"
-`;
+.KEl5ZxzNkpjfWorrBglC {
+ color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-other"] };
+}
-exports[`"modules" option show work when the "modules" option is "icss", case "import": result 1`] = `
-Array [
- Array [
- "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/icss/tests-cases/import/vars.css",
- "
-",
- "",
- ],
- Array [
- "./modules/icss/tests-cases/import/source.css",
- ".className {
+.ecAEWh2vww9pNEdyj9Jn {
+ prop: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-def"] };
+ duplicate: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["v-other"] };
+}
+
+.CBlowYk8qiAgWWzFeXRA {
color: red;
}
-",
- "",
- ],
-]
-`;
-exports[`"modules" option show work when the "modules" option is "icss", case "import": warnings 1`] = `Array []`;
+.c_NHnDcX1bd_kuxgsuYi {
+ color: yellow;
+}
-exports[`"modules" option show work when the "modules" option is "icss", case "import-reserved-keywords": errors 1`] = `Array []`;
+.S0Kwou8pVmsENtBP3hYm {
+ color: gray;
+}
-exports[`"modules" option show work when the "modules" option is "icss", case "import-reserved-keywords": module 1`] = `
-"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./vars.css\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
-___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true);
-// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\".className {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"primary-color\\"] + \\";\\\\n display: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"secondary-color\\"] + \\";\\\\n}\\\\n\\", \\"\\"]);
-// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"primary-color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"primary-color\\"] + \\"\\",
- \\"secondary-color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"secondary-color\\"] + \\"\\"
-};
-export default ___CSS_LOADER_EXPORT___;
-"
-`;
+.rq663Pq_zV0CjpwttvK4 {
+ color: gray;
+}
-exports[`"modules" option show work when the "modules" option is "icss", case "import-reserved-keywords": result 1`] = `
-Array [
- Array [
- "../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/icss/tests-cases/import-reserved-keywords/vars.css",
- "
-",
- "",
- ],
- Array [
- "./modules/icss/tests-cases/import-reserved-keywords/source.css",
- ".className {
- color: red;
- display: block;
+.fadRMHArJofp7sWEbPVR {
+ color: gainsboro;
}
-",
- "",
- ],
-]
-`;
-exports[`"modules" option show work when the "modules" option is "icss", case "import-reserved-keywords": warnings 1`] = `Array []`;
+.sg1HlXqlWy6l6_Wm5iA7 {
+ color: gainsboro;
+}
-exports[`"modules" option show work when the "modules" option is "icss", case "multiple-export": errors 1`] = `Array []`;
+.bnRUswvicYag6u0SPnvI {
+ color: #BF4040;
+}
-exports[`"modules" option show work when the "modules" option is "icss", case "multiple-export": module 1`] = `
-"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
-// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\"\\\\n\\", \\"\\"]);
-// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"_test\\": \\"_test\\",
- \\"_foo\\": \\"_bar\\"
-};
-export default ___CSS_LOADER_EXPORT___;
-"
-`;
+.kEJRwpukB2OtmkGTknbU {
+ color: black;
+}
-exports[`"modules" option show work when the "modules" option is "icss", case "multiple-export": result 1`] = `
-Array [
- Array [
- "./modules/icss/tests-cases/multiple-export/source.css",
- "
-",
- "",
- ],
-]
-`;
+@media (min-width: 960px) {
+ .hY2PI5vC9ABuJY1nkWnf {
+ padding: 0 20px;
+ }
+}
-exports[`"modules" option show work when the "modules" option is "icss", case "multiple-export": warnings 1`] = `Array []`;
+.\${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["s-white"] } {
+ color: white;
+}
-exports[`"modules" option show work when the "modules" option is "icss", case "multiple-keys-values-in-export": errors 1`] = `Array []`;
+@media \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["m-small"] } {
+ .hY2PI5vC9ABuJY1nkWnf {
+ padding: 20px 20px;
+ }
+}
-exports[`"modules" option show work when the "modules" option is "icss", case "multiple-keys-values-in-export": module 1`] = `
-"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
-// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\"\\\\n\\", \\"\\"]);
-// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"_test\\": \\"_test\\",
- \\"_test1\\": \\"1\\",
- \\"_test2\\": \\"'string'\\",
- \\"_test3\\": \\"1px 2px 3px\\",
- \\"_test4\\": \\"1px 2px 3px, 1px 2px 3px\\"
-};
-export default ___CSS_LOADER_EXPORT___;
-"
-`;
+.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%;
+}
-exports[`"modules" option show work when the "modules" option is "icss", case "multiple-keys-values-in-export": result 1`] = `
-Array [
- Array [
- "./modules/icss/tests-cases/multiple-keys-values-in-export/source.css",
- "
-",
- "",
- ],
-]
-`;
-exports[`"modules" option show work when the "modules" option is "icss", case "multiple-keys-values-in-export": warnings 1`] = `Array []`;
+a {
+ content: 'content';
+}
-exports[`"modules" option show work with the "mode" option using the "local" value: errors 1`] = `Array []`;
+@supports (content: 'content') {
+ a {
+ content: 'content';
+ }
+}
-exports[`"modules" option show work with the "mode" option using the "local" value: module 1`] = `
-"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\";
-import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./values.css\\";
-import ___CSS_LOADER_ICSS_IMPORT_1___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./something.css\\";
-import ___CSS_LOADER_ICSS_IMPORT_2___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./imported-simple.css\\";
-import ___CSS_LOADER_ICSS_IMPORT_3___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./relative.css\\";
-import ___CSS_LOADER_ICSS_IMPORT_4___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./top-relative.css\\";
-import ___CSS_LOADER_ICSS_IMPORT_5___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!../issue-861/node_modules/package/style.css\\";
-import ___CSS_LOADER_ICSS_IMPORT_6___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./alias.css\\";
-import ___CSS_LOADER_ICSS_IMPORT_7___ 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___(function(i){return i[1]});
-___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, \\".JrMovmNxiARceckPi1Bb {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"v-def\\"] + \\";\\\\n}\\\\n\\\\n._xZYrLKW96sXm2aniadM {\\\\n color: blue;\\\\n}\\\\n\\\\n.cXIvIhl_Be3NhMPQoE0z {\\\\n display: block;\\\\n}\\\\n\\\\n.wyIZMXPNE2D7zb9VCrHe {\\\\n width: \\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"v-something\\"] + \\";\\\\n}\\\\n\\\\n.as9P70j15m_wICZ94IJx {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"v-other\\"] + \\";\\\\n}\\\\n\\\\n.zAepmy_SqloGdZJJmXNm {\\\\n prop: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"v-def\\"] + \\";\\\\n duplicate: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"v-other\\"] + \\";\\\\n}\\\\n\\\\n.n_zXxs10wzKREXQdQrw9 {\\\\n color: red;\\\\n}\\\\n\\\\n._u4nolEyHSlixSSx7uXN {\\\\n color: yellow;\\\\n}\\\\n\\\\n._EXVuUxUggUhA1UEBgZk {\\\\n color: gray;\\\\n}\\\\n\\\\n.o2wK31qqosVXAPAdGIxD {\\\\n color: gray;\\\\n}\\\\n\\\\n._Y2QYoxyUknZNv0u6wN3 {\\\\n color: gainsboro;\\\\n}\\\\n\\\\n.wmZh7D9g5PjWvMpojahG {\\\\n color: gainsboro;\\\\n}\\\\n\\\\n.uOEsMAq4YIv8PUUlnnhI {\\\\n color: #BF4040;\\\\n}\\\\n\\\\n._r6IpGhEbXgocCCXZgDs {\\\\n color: black;\\\\n}\\\\n\\\\n@media (min-width: 960px) {\\\\n .IsCkQQmCqI3_HSI_H_hT {\\\\n padding: 0 20px;\\\\n }\\\\n}\\\\n\\\\n.\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"s-white\\"] + \\" {\\\\n color: white;\\\\n}\\\\n\\\\n@media \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"m-small\\"] + \\" {\\\\n .IsCkQQmCqI3_HSI_H_hT {\\\\n padding: 20px 20px;\\\\n }\\\\n}\\\\n\\\\n.lNjqoQe7B3jKXIowFbpE {\\\\n v-ident: validIdent;\\\\n v-pre-defined-ident: left;\\\\n v-string: 'content';\\\\n v-string-1: '';\\\\n v-url: url(https://www.exammple.com/images/my-background.png);\\\\n v-url-1: url('https://www.exammple.com/images/my-background.png');\\\\n v-url-2: url(http://"https//www.exammple.com/images/my-background.png//////");\\\\n v-integer: 100;\\\\n v-integer-1: -100;\\\\n v-integer-2: +100;\\\\n v-number: .60;\\\\n v-number-1: -456.8;\\\\n v-number-2: -3.4e-2;\\\\n v-dimension: 12px;\\\\n v-percentage: 100%;\\\\n v-hex: #fff;\\\\n v-comment: /* comment */ 10px /* comment */;\\\\n v-function: rgb(0,0,0);\\\\n v-unicode-range: U+0025-00FF;\\\\n mutliple: #fff .60 100%;\\\\n}\\\\n\\\\n\\\\na {\\\\n content: 'content';\\\\n}\\\\n\\\\n@supports (content: 'content') {\\\\n a {\\\\n content: 'content';\\\\n }\\\\n}\\\\n\\\\n[class~='content'] {\\\\n color:green;\\\\n}\\\\n\\\\n.ABtimDL9fvKNWc1BjB59 {\\\\n background: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n}\\\\n\\\\n.K7O_z8z4VzoG6Ru_jb_T {\\\\n background: red;\\\\n}\\\\n\\", \\"\\"]);
-// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"v-def\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"v-def\\"] + \\"\\",
- \\"v-other\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"v-other\\"] + \\"\\",
- \\"s-white\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"s-white\\"] + \\"\\",
- \\"m-small\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"m-small\\"] + \\"\\",
- \\"v-something\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"v-something\\"] + \\"\\",
- \\"v-foo\\": \\"blue\\",
- \\"v-bar\\": \\"block\\",
- \\"v-primary\\": \\"#BF4040\\",
- \\"s-black\\": \\"black-selector\\",
- \\"m-large\\": \\"(min-width: 960px)\\",
- \\"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(http://"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 */\\",
- \\"v-function\\": \\"rgb(0,0,0)\\",
- \\"v-unicode-range\\": \\"U+0025-00FF\\",
- \\"ghi\\": \\"JrMovmNxiARceckPi1Bb\\",
- \\"my-class\\": \\"_xZYrLKW96sXm2aniadM\\",
- \\"other\\": \\"cXIvIhl_Be3NhMPQoE0z\\",
- \\"other-other\\": \\"wyIZMXPNE2D7zb9VCrHe\\",
- \\"green\\": \\"as9P70j15m_wICZ94IJx\\",
- \\"foo\\": \\"zAepmy_SqloGdZJJmXNm\\",
- \\"simple\\": \\"n_zXxs10wzKREXQdQrw9 \\" + ___CSS_LOADER_ICSS_IMPORT_2___.locals[\\"imported-simple\\"] + \\"\\",
- \\"relative\\": \\"_u4nolEyHSlixSSx7uXN \\" + ___CSS_LOADER_ICSS_IMPORT_3___.locals[\\"imported-relative\\"] + \\"\\",
- \\"top-relative\\": \\"_EXVuUxUggUhA1UEBgZk \\" + ___CSS_LOADER_ICSS_IMPORT_4___.locals[\\"imported-relative\\"] + \\"\\",
- \\"my-module\\": \\"o2wK31qqosVXAPAdGIxD \\" + ___CSS_LOADER_ICSS_IMPORT_5___.locals[\\"imported-module\\"] + \\"\\",
- \\"alias\\": \\"_Y2QYoxyUknZNv0u6wN3 \\" + ___CSS_LOADER_ICSS_IMPORT_6___.locals[\\"imported-alias\\"] + \\"\\",
- \\"alias-duplicate\\": \\"wmZh7D9g5PjWvMpojahG \\" + ___CSS_LOADER_ICSS_IMPORT_6___.locals[\\"imported-alias\\"] + \\"\\",
- \\"primary-selector\\": \\"uOEsMAq4YIv8PUUlnnhI\\",
- \\"black-selector\\": \\"_r6IpGhEbXgocCCXZgDs\\",
- \\"header\\": \\"IsCkQQmCqI3_HSI_H_hT\\",
- \\"foobarbaz\\": \\"lNjqoQe7B3jKXIowFbpE\\",
- \\"url\\": \\"ABtimDL9fvKNWc1BjB59\\",
- \\"main\\": \\"K7O_z8z4VzoG6Ru_jb_T \\" + ___CSS_LOADER_ICSS_IMPORT_7___.locals[\\"scssClass\\"] + \\"\\"
-};
+[class~='content'] {
+ color:green;
+}
+
+.xajoqP1d3SwrjJ4WEM8g {
+ background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D);
+}
+
+.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 show work with the "mode" option using the "local" value: result 1`] = `
-Array [
- Array [
+[
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/test-other.css",
- ".POCPJA_cwD0IJvbL8R4q {
+ ".s4X7wVQcTygYUV4ttKyQ {
d: d;
}
",
"(min-width: 100px)",
],
- Array [
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/values.css",
"
",
"",
],
- Array [
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/something.css",
"
",
"",
],
- Array [
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/imported-simple.css",
- ".kN0Z3n7LgkVJQeFmVucy {
+ ".pCAAqHK9Lcplw9QM7Rj0 {
display: block;
}
",
"",
],
- Array [
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/relative.css",
- ".HlqmBJrtIvJ3Gzgbut_w {
+ ".o0pMg4suYQOIzdBIQJv1 {
display: inline;
}
",
"",
],
- Array [
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/top-relative.css",
- ".MzX17bUYYh7fmdKVXQ9p {
+ ".l9CmW32NEl99tuNLdbzp {
display: flex;
}
",
"",
],
- Array [
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/issue-861/node_modules/package/style.css",
- ".ONhOxkn21jORUJmheiwE {
+ ".q49Ogfvno__tAgAiYJcD {
display: inline-block;
}
",
"",
],
- Array [
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/alias.css",
- "._4Zj8x54IrWF75cUaGyT {
+ ".dnhKs1AYKq4KodZdfzcx {
display: table;
}
",
"",
],
- Array [
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!../../node_modules/sass-loader/dist/cjs.js!./modules/composes/scss-file.scss",
- ".pqdLCWFRW03AVy9uJoZX {
+ ".oNU7JF6MtPAFrlrthaOD {
color: red;
padding: 15px;
}",
"",
],
- Array [
+ [
"./modules/composes/composes.css",
- ".JrMovmNxiARceckPi1Bb {
+ ".ozGmfTedr1GnFJDWqNUH {
color: red;
}
-._xZYrLKW96sXm2aniadM {
+.zchqshjqLbPAHaRvIBET {
color: blue;
}
-.cXIvIhl_Be3NhMPQoE0z {
+.WZBxXqS2GytaA3IBhhnd {
display: block;
}
-.wyIZMXPNE2D7zb9VCrHe {
+.W51zcAMuJMsNFi1CXgWr {
width: 2112moon;
}
-.as9P70j15m_wICZ94IJx {
+.KEl5ZxzNkpjfWorrBglC {
color: green;
}
-.zAepmy_SqloGdZJJmXNm {
+.ecAEWh2vww9pNEdyj9Jn {
prop: red;
duplicate: green;
}
-.n_zXxs10wzKREXQdQrw9 {
+.CBlowYk8qiAgWWzFeXRA {
color: red;
}
-._u4nolEyHSlixSSx7uXN {
+.c_NHnDcX1bd_kuxgsuYi {
color: yellow;
}
-._EXVuUxUggUhA1UEBgZk {
+.S0Kwou8pVmsENtBP3hYm {
color: gray;
}
-.o2wK31qqosVXAPAdGIxD {
+.rq663Pq_zV0CjpwttvK4 {
color: gray;
}
-._Y2QYoxyUknZNv0u6wN3 {
+.fadRMHArJofp7sWEbPVR {
color: gainsboro;
}
-.wmZh7D9g5PjWvMpojahG {
+.sg1HlXqlWy6l6_Wm5iA7 {
color: gainsboro;
}
-.uOEsMAq4YIv8PUUlnnhI {
+.bnRUswvicYag6u0SPnvI {
color: #BF4040;
}
-._r6IpGhEbXgocCCXZgDs {
+.kEJRwpukB2OtmkGTknbU {
color: black;
}
@media (min-width: 960px) {
- .IsCkQQmCqI3_HSI_H_hT {
+ .hY2PI5vC9ABuJY1nkWnf {
padding: 0 20px;
}
}
@@ -14827,19 +25505,19 @@ Array [
}
@media (min-width: 320px) {
- .IsCkQQmCqI3_HSI_H_hT {
+ .hY2PI5vC9ABuJY1nkWnf {
padding: 20px 20px;
}
}
-.lNjqoQe7B3jKXIowFbpE {
+.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(http://"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;
@@ -14870,11 +25548,11 @@ a {
color:green;
}
-.ABtimDL9fvKNWc1BjB59 {
+.xajoqP1d3SwrjJ4WEM8g {
background: url(http://github.com/replaced_file_protocol_/webpack/public/path/img.png);
}
-.K7O_z8z4VzoG6Ru_jb_T {
+.Ix5nEHiVOsWuWxdx0twz {
background: red;
}
",
@@ -14883,53 +25561,64 @@ a {
]
`;
-exports[`"modules" option show work with the "mode" option using the "local" value: warnings 1`] = `Array []`;
+exports[`"modules" option show work with the "mode" option using the "local" value: warnings 1`] = `
+[
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
-exports[`"modules" option show work with the "mode: icss" and "exportOnlyLocals" options: errors 1`] = `Array []`;
+More info: https://sass-lang.com/d/legacy-js-api",
+]
+`;
+
+exports[`"modules" option show work with the "mode: icss" and "exportOnlyLocals" options: errors 1`] = `[]`;
exports[`"modules" option show work with the "mode: icss" and "exportOnlyLocals" options: module 1`] = `
"// Imports
-import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./vars.css\\";
+import * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./vars.css";
// Exports
-export default {
- \\"primary-color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___[\\"primary-color\\"] + \\"\\"
-};
+var _1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"]}\`;
+export { _1 as "primary-color" };
"
`;
exports[`"modules" option show work with the "mode: icss" and "exportOnlyLocals" options: result 1`] = `
-Object {
+{
"primary-color": "red",
}
`;
-exports[`"modules" option show work with the "mode: icss" and "exportOnlyLocals" options: warnings 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" and "exportOnlyLocals" options: warnings 1`] = `[]`;
-exports[`"modules" option show work with the "mode: icss" and "namedExport" options: errors 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" and "namedExport" options: errors 1`] = `[]`;
exports[`"modules" option show work with the "mode: icss" and "namedExport" options: module 1`] = `
"// Imports
-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]!./vars.css\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
-___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true);
+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]!./vars.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, \\".className {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"primaryColor\\"] + \\";\\\\n}\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`.className {
+ color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"] };
+}
+\`, ""]);
// Exports
-export var primaryColor = \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0____NAMED___[\\"primaryColor\\"] + \\"\\";
+var _1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"]}\`;
+export { _1 as "primary-color" };
export default ___CSS_LOADER_EXPORT___;
"
`;
exports[`"modules" option show work with the "mode: icss" and "namedExport" options: result 1`] = `
-Array [
- Array [
+[
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/icss/tests-cases/import/vars.css",
"
",
"",
],
- Array [
+ [
"./modules/icss/tests-cases/import/source.css",
".className {
color: red;
@@ -14940,27 +25629,27 @@ Array [
]
`;
-exports[`"modules" option show work with the "mode: icss" and "namedExport" options: warnings 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" and "namedExport" options: warnings 1`] = `[]`;
-exports[`"modules" option show work with the "mode: icss" option, case "duplicate-export": errors 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "duplicate-export": errors 1`] = `[]`;
exports[`"modules" option show work with the "mode: icss" option, case "duplicate-export": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"_test\\": \\"_right_value\\"
-};
+export var _test = \`_right_value\`;
export default ___CSS_LOADER_EXPORT___;
"
`;
exports[`"modules" option show work with the "mode: icss" option, case "duplicate-export": result 1`] = `
-Array [
- Array [
+[
+ [
"./modules/icss/tests-cases/duplicate-export/source.css",
"
",
@@ -14969,27 +25658,27 @@ Array [
]
`;
-exports[`"modules" option show work with the "mode: icss" option, case "duplicate-export": warnings 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "duplicate-export": warnings 1`] = `[]`;
-exports[`"modules" option show work with the "mode: icss" option, case "duplicate-export-in-multiple-export": errors 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "duplicate-export-in-multiple-export": errors 1`] = `[]`;
exports[`"modules" option show work with the "mode: icss" option, case "duplicate-export-in-multiple-export": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"_test\\": \\"_right_value\\"
-};
+export var _test = \`_right_value\`;
export default ___CSS_LOADER_EXPORT___;
"
`;
exports[`"modules" option show work with the "mode: icss" option, case "duplicate-export-in-multiple-export": result 1`] = `
-Array [
- Array [
+[
+ [
"./modules/icss/tests-cases/duplicate-export-in-multiple-export/source.css",
"
",
@@ -14998,25 +25687,26 @@ Array [
]
`;
-exports[`"modules" option show work with the "mode: icss" option, case "duplicate-export-in-multiple-export": warnings 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "duplicate-export-in-multiple-export": warnings 1`] = `[]`;
-exports[`"modules" option show work with the "mode: icss" option, case "empty-export": errors 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "empty-export": errors 1`] = `[]`;
exports[`"modules" option show work with the "mode: icss" option, case "empty-export": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {};
export default ___CSS_LOADER_EXPORT___;
"
`;
exports[`"modules" option show work with the "mode: icss" option, case "empty-export": result 1`] = `
-Array [
- Array [
+[
+ [
"./modules/icss/tests-cases/empty-export/source.css",
"
",
@@ -15025,25 +25715,26 @@ Array [
]
`;
-exports[`"modules" option show work with the "mode: icss" option, case "empty-export": warnings 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "empty-export": warnings 1`] = `[]`;
-exports[`"modules" option show work with the "mode: icss" option, case "empty-import": errors 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "empty-import": errors 1`] = `[]`;
exports[`"modules" option show work with the "mode: icss" option, case "empty-import": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {};
export default ___CSS_LOADER_EXPORT___;
"
`;
exports[`"modules" option show work with the "mode: icss" option, case "empty-import": result 1`] = `
-Array [
- Array [
+[
+ [
"./modules/icss/tests-cases/empty-import/source.css",
"
",
@@ -15052,27 +25743,27 @@ Array [
]
`;
-exports[`"modules" option show work with the "mode: icss" option, case "empty-import": warnings 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "empty-import": warnings 1`] = `[]`;
-exports[`"modules" option show work with the "mode: icss" option, case "export": errors 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "export": errors 1`] = `[]`;
exports[`"modules" option show work with the "mode: icss" option, case "export": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"_test\\": \\"_test\\"
-};
+export var _test = \`_test\`;
export default ___CSS_LOADER_EXPORT___;
"
`;
exports[`"modules" option show work with the "mode: icss" option, case "export": result 1`] = `
-Array [
- Array [
+[
+ [
"./modules/icss/tests-cases/export/source.css",
"
",
@@ -15081,28 +25772,28 @@ Array [
]
`;
-exports[`"modules" option show work with the "mode: icss" option, case "export": warnings 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "export": warnings 1`] = `[]`;
-exports[`"modules" option show work with the "mode: icss" option, case "export-reserved-keywords": errors 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "export-reserved-keywords": errors 1`] = `[]`;
exports[`"modules" option show work with the "mode: icss" option, case "export-reserved-keywords": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"constructor\\": \\"constructor\\",
- \\"toString\\": \\"toString\\"
-};
+export var constructor = \`constructor\`;
+export var toString = \`toString\`;
export default ___CSS_LOADER_EXPORT___;
"
`;
exports[`"modules" option show work with the "mode: icss" option, case "export-reserved-keywords": result 1`] = `
-Array [
- Array [
+[
+ [
"./modules/icss/tests-cases/export-reserved-keywords/source.css",
"
",
@@ -15111,35 +25802,38 @@ Array [
]
`;
-exports[`"modules" option show work with the "mode: icss" option, case "export-reserved-keywords": warnings 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "export-reserved-keywords": warnings 1`] = `[]`;
-exports[`"modules" option show work with the "mode: icss" option, case "import": errors 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "import": errors 1`] = `[]`;
exports[`"modules" option show work with the "mode: icss" option, case "import": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./vars.css\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
-___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true);
+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]!./vars.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, \\".className {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"primary-color\\"] + \\";\\\\n}\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`.className {
+ color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"] };
+}
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"primary-color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"primary-color\\"] + \\"\\"
-};
+var _1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"]}\`;
+export { _1 as "primary-color" };
export default ___CSS_LOADER_EXPORT___;
"
`;
exports[`"modules" option show work with the "mode: icss" option, case "import": result 1`] = `
-Array [
- Array [
+[
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/icss/tests-cases/import/vars.css",
"
",
"",
],
- Array [
+ [
"./modules/icss/tests-cases/import/source.css",
".className {
color: red;
@@ -15150,36 +25844,41 @@ Array [
]
`;
-exports[`"modules" option show work with the "mode: icss" option, case "import": warnings 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "import": warnings 1`] = `[]`;
-exports[`"modules" option show work with the "mode: icss" option, case "import-reserved-keywords": errors 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "import-reserved-keywords": errors 1`] = `[]`;
exports[`"modules" option show work with the "mode: icss" option, case "import-reserved-keywords": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./vars.css\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
-___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true);
+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]!./vars.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, \\".className {\\\\n color: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"primary-color\\"] + \\";\\\\n display: \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"secondary-color\\"] + \\";\\\\n}\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`.className {
+ color: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"] };
+ display: \${ ___CSS_LOADER_ICSS_IMPORT_0____NAMED___["secondary-color"] };
+}
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"primary-color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"primary-color\\"] + \\"\\",
- \\"secondary-color\\": \\"\\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"secondary-color\\"] + \\"\\"
-};
+var _1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"]}\`;
+export { _1 as "primary-color" };
+var _2 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["secondary-color"]}\`;
+export { _2 as "secondary-color" };
export default ___CSS_LOADER_EXPORT___;
"
`;
exports[`"modules" option show work with the "mode: icss" option, case "import-reserved-keywords": result 1`] = `
-Array [
- Array [
+[
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/icss/tests-cases/import-reserved-keywords/vars.css",
"
",
"",
],
- Array [
+ [
"./modules/icss/tests-cases/import-reserved-keywords/source.css",
".className {
color: red;
@@ -15191,28 +25890,28 @@ Array [
]
`;
-exports[`"modules" option show work with the "mode: icss" option, case "import-reserved-keywords": warnings 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "import-reserved-keywords": warnings 1`] = `[]`;
-exports[`"modules" option show work with the "mode: icss" option, case "multiple-export": errors 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "multiple-export": errors 1`] = `[]`;
exports[`"modules" option show work with the "mode: icss" option, case "multiple-export": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"_test\\": \\"_test\\",
- \\"_foo\\": \\"_bar\\"
-};
+export var _test = \`_test\`;
+export var _foo = \`_bar\`;
export default ___CSS_LOADER_EXPORT___;
"
`;
exports[`"modules" option show work with the "mode: icss" option, case "multiple-export": result 1`] = `
-Array [
- Array [
+[
+ [
"./modules/icss/tests-cases/multiple-export/source.css",
"
",
@@ -15221,31 +25920,31 @@ Array [
]
`;
-exports[`"modules" option show work with the "mode: icss" option, case "multiple-export": warnings 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "multiple-export": warnings 1`] = `[]`;
-exports[`"modules" option show work with the "mode: icss" option, case "multiple-keys-values-in-export": errors 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "multiple-keys-values-in-export": errors 1`] = `[]`;
exports[`"modules" option show work with the "mode: icss" option, case "multiple-keys-values-in-export": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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, \\"\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+\`, ""]);
// Exports
-___CSS_LOADER_EXPORT___.locals = {
- \\"_test\\": \\"_test\\",
- \\"_test1\\": \\"1\\",
- \\"_test2\\": \\"'string'\\",
- \\"_test3\\": \\"1px 2px 3px\\",
- \\"_test4\\": \\"1px 2px 3px, 1px 2px 3px\\"
-};
+export var _test = \`_test\`;
+export var _test1 = \`1\`;
+export var _test2 = \`'string'\`;
+export var _test3 = \`1px 2px 3px\`;
+export var _test4 = \`1px 2px 3px, 1px 2px 3px\`;
export default ___CSS_LOADER_EXPORT___;
"
`;
exports[`"modules" option show work with the "mode: icss" option, case "multiple-keys-values-in-export": result 1`] = `
-Array [
- Array [
+[
+ [
"./modules/icss/tests-cases/multiple-keys-values-in-export/source.css",
"
",
@@ -15254,4 +25953,23 @@ Array [
]
`;
-exports[`"modules" option show work with the "mode: icss" option, case "multiple-keys-values-in-export": warnings 1`] = `Array []`;
+exports[`"modules" option show work with the "mode: icss" option, case "multiple-keys-values-in-export": warnings 1`] = `[]`;
+
+exports[`"modules" option show work with the "mode: icss", "exportOnlyLocals" options and "templateLiteral" support: errors 1`] = `[]`;
+
+exports[`"modules" option show work with the "mode: icss", "exportOnlyLocals" options and "templateLiteral" support: module 1`] = `
+"// Imports
+import * as ___CSS_LOADER_ICSS_IMPORT_0____NAMED___ from "-!../../../../../../src/index.js??ruleSet[1].rules[0].use[0]!./vars.css";
+// Exports
+var _1 = \`\${___CSS_LOADER_ICSS_IMPORT_0____NAMED___["primary-color"]}\`;
+export { _1 as "primary-color" };
+"
+`;
+
+exports[`"modules" option show work with the "mode: icss", "exportOnlyLocals" options and "templateLiteral" support: result 1`] = `
+{
+ "primary-color": "red",
+}
+`;
+
+exports[`"modules" option show work with the "mode: icss", "exportOnlyLocals" options and "templateLiteral" support: warnings 1`] = `[]`;
diff --git a/test/__snapshots__/sourceMap-option.test.js.snap b/test/__snapshots__/sourceMap-option.test.js.snap
index 41dcde2b..20dddfba 100644
--- a/test/__snapshots__/sourceMap-option.test.js.snap
+++ b/test/__snapshots__/sourceMap-option.test.js.snap
@@ -1,356 +1,322 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
+// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
-exports[`"sourceMap" option false should generate source maps when css was extracted: errors 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps and do not change "[contenthash]" on different platform: errors 1`] = `[]`;
-exports[`"sourceMap" option false should generate source maps when css was extracted: extracted css 1`] = `
-"/*!*******************************************************************************************!*\\\\
- !*** css ../../src/index.js??ruleSet[1].rules[0].rules[1]!./source-map/nested/nested.css ***!
- \\\\*******************************************************************************************/
-.nested {
- color: blue;
-}
-
-/*!***********************************************************************************!*\\\\
- !*** css ../../src/index.js??ruleSet[1].rules[0].rules[1]!./source-map/basic.css ***!
- \\\\***********************************************************************************/
-.class {
- color: red;
-}
-
-"
-`;
-
-exports[`"sourceMap" option false should generate source maps when css was extracted: warnings 1`] = `Array []`;
-
-exports[`"sourceMap" option false should not generate source maps when previous loader does not generate source maps: errors 1`] = `Array []`;
-
-exports[`"sourceMap" option false should not generate source maps when previous loader does not generate source maps: module 1`] = `
+exports[`"sourceMap" option should generate source maps and do not change "[contenthash]" on different platform: module 1`] = `
"// Imports
-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]!./nested/nested.css\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from "../../../src/runtime/sourceMaps.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].rules[0]!./nested/nested.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\".class {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`.class {
+ color: red;
+}
+\`, "",{"version":3,"sources":["webpack://./test/fixtures/source-map/basic.css"],"names":[],"mappings":"AAEA;EACE,UAAU;AACZ","sourcesContent":["@import \\"./nested/nested.css\\";\\n\\n.class {\\n color: red;\\n}\\n"],"sourceRoot":""}]);
// Exports
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"sourceMap" option false should not generate source maps when previous loader does not generate source maps: result 1`] = `
-Array [
- Array [
- "../../src/index.js??ruleSet[1].rules[0].use[0]!./source-map/nested/nested.css",
+exports[`"sourceMap" option should generate source maps and do not change "[contenthash]" on different platform: result 1`] = `
+[
+ [
+ "./src/index.js??ruleSet[1].rules[0].rules[0]!./test/fixtures/source-map/nested/nested.css",
".nested {
color: blue;
}
",
"",
+ {
+ "mappings": "AAAA;EACE,WAAW;AACb",
+ "names": [],
+ "sourceRoot": "",
+ "sources": [
+ "webpack://./test/fixtures/source-map/nested/nested.css",
+ ],
+ "sourcesContent": [
+ ".nested {
+ color: blue;
+}
+",
+ ],
+ "version": 3,
+ },
],
- Array [
- "./source-map/basic.css",
+ [
+ "./test/fixtures/source-map/basic.css",
".class {
color: red;
}
",
"",
+ {
+ "mappings": "AAEA;EACE,UAAU;AACZ",
+ "names": [],
+ "sourceRoot": "",
+ "sources": [
+ "webpack://./test/fixtures/source-map/basic.css",
+ ],
+ "sourcesContent": [
+ "@import "http://github.com/nested/nested.css";
+
+.class {
+ color: red;
+}
+",
+ ],
+ "version": 3,
+ },
],
]
`;
-exports[`"sourceMap" option false should not generate source maps when previous loader does not generate source maps: warnings 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps and do not change "[contenthash]" on different platform: warnings 1`] = `[]`;
-exports[`"sourceMap" option false should not generate source maps when previous loader generates source maps: errors 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps and respect 'nosources' value: errors 1`] = `[]`;
-exports[`"sourceMap" option false should not generate source maps when previous loader generates source maps: module 1`] = `
+exports[`"sourceMap" option should generate source maps and respect 'nosources' value: module 1`] = `
"// Imports
-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]!./nested/nested.css\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from "../../../src/runtime/sourceMaps.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]!./nested/nested.css";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\".class {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`.class {
+ color: red;
+}
+\`, "",{"version":3,"sources":["webpack://./source-map/basic.css"],"names":[],"mappings":"AAEA;EACE,UAAU;AACZ","sourceRoot":""}]);
// Exports
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"sourceMap" option false should not generate source maps when previous loader generates source maps: result 1`] = `
-Array [
- Array [
+exports[`"sourceMap" option should generate source maps and respect 'nosources' value: result 1`] = `
+[
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!./source-map/nested/nested.css",
".nested {
color: blue;
}
",
"",
+ {
+ "mappings": "AAAA;EACE,WAAW;AACb",
+ "names": [],
+ "sourceRoot": "",
+ "sources": [
+ "webpack://./source-map/nested/nested.css",
+ ],
+ "version": 3,
+ },
],
- Array [
+ [
"./source-map/basic.css",
".class {
color: red;
}
",
"",
+ {
+ "mappings": "AAEA;EACE,UAAU;AACZ",
+ "names": [],
+ "sourceRoot": "",
+ "sources": [
+ "webpack://./source-map/basic.css",
+ ],
+ "version": 3,
+ },
],
]
`;
-exports[`"sourceMap" option false should not generate source maps when previous loader generates source maps: warnings 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps and respect 'nosources' value: warnings 1`] = `[]`;
-exports[`"sourceMap" option false should not generate source maps: errors 1`] = `Array []`;
-
-exports[`"sourceMap" option false should not generate source maps: module 1`] = `
-"// Imports
-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]!./nested/nested.css\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
-___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
-// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\".class {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]);
-// Exports
-export default ___CSS_LOADER_EXPORT___;
-"
-`;
+exports[`"sourceMap" option should generate source maps when css was extracted and do not change "[contenthash]" on different platform: errors 1`] = `[]`;
-exports[`"sourceMap" option false should not generate source maps: result 1`] = `
-Array [
- Array [
- "../../src/index.js??ruleSet[1].rules[0].use[0]!./source-map/nested/nested.css",
- ".nested {
+exports[`"sourceMap" option should generate source maps when css was extracted and do not change "[contenthash]" on different platform: extracted css 1`] = `
+"/*!*****************************************************************************************************!*\\
+ !*** css ./src/index.js??ruleSet[1].rules[0].rules[1]!./test/fixtures/source-map/nested/nested.css ***!
+ \\*****************************************************************************************************/
+.nested {
color: blue;
}
-",
- "",
- ],
- Array [
- "./source-map/basic.css",
- ".class {
+
+/*!*********************************************************************************************!*\\
+ !*** css ./src/index.js??ruleSet[1].rules[0].rules[1]!./test/fixtures/source-map/basic.css ***!
+ \\*********************************************************************************************/
+.class {
color: red;
}
-",
- "",
- ],
-]
-`;
-
-exports[`"sourceMap" option false should not generate source maps: warnings 1`] = `Array []`;
-exports[`"sourceMap" option not specified should not generate source maps: errors 1`] = `Array []`;
-exports[`"sourceMap" option not specified should not generate source maps: module 1`] = `
-"// Imports
-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]!./nested/nested.css\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
-___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
-// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\".class {\\\\n color: red;\\\\n}\\\\n\\", \\"\\"]);
-// Exports
-export default ___CSS_LOADER_EXPORT___;
-"
+/*# sourceMappingURL=main.xxxxxxxxxxxxxxxxxxxx.css.map*/"
`;
-exports[`"sourceMap" option not specified should not generate source maps: result 1`] = `
-Array [
- Array [
- "../../src/index.js??ruleSet[1].rules[0].use[0]!./source-map/nested/nested.css",
+exports[`"sourceMap" option should generate source maps when css was extracted and do not change "[contenthash]" on different platform: source map 1`] = `
+{
+ "file": "main.xxxxxxxxxxxxxxxxxxxx.css",
+ "mappings": ";;;AAAA;EACE,WAAW;AACb;;;;;ACAA;EACE,UAAU;AACZ",
+ "names": [],
+ "sourceRoot": "",
+ "sources": [
+ "webpack:///./test/fixtures/source-map/nested/nested.css",
+ "webpack:///./test/fixtures/source-map/basic.css",
+ ],
+ "sourcesContent": [
".nested {
color: blue;
}
",
- "",
- ],
- Array [
- "./source-map/basic.css",
- ".class {
+ "@import "http://github.com/nested/nested.css";
+
+.class {
color: red;
}
",
- "",
],
-]
+ "version": 3,
+}
`;
-exports[`"sourceMap" option not specified should not generate source maps: warnings 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when css was extracted and do not change "[contenthash]" on different platform: warnings 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps #2: errors 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when css was extracted when the 'devtool' property is 'hidden-nosources-source-map': errors 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps #2: module 1`] = `
-"// Imports
-import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \\"../../../src/runtime/cssWithMappingToString.js\\";
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../src/runtime/api.js\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
-// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\".foo {\\\\n color: red;\\\\n}\\\\n\\", \\"\\",{\\"version\\":3,\\"sources\\":[\\"webpack://./source-map/with-query.css\\"],\\"names\\":[],\\"mappings\\":\\"AAAA;EACE,UAAU;AACZ\\",\\"sourcesContent\\":[\\".foo {\\\\n color: red;\\\\n}\\\\n\\"],\\"sourceRoot\\":\\"\\"}]);
-// Exports
-export default ___CSS_LOADER_EXPORT___;
-"
-`;
-
-exports[`"sourceMap" option true should generate source maps #2: result 1`] = `
-Array [
- Array [
- "./source-map/with-query.css?url=false",
- ".foo {
- color: red;
+exports[`"sourceMap" option should generate source maps when css was extracted when the 'devtool' property is 'hidden-nosources-source-map': extracted css 1`] = `
+"/*!*******************************************************************************************!*\\
+ !*** css ../../src/index.js??ruleSet[1].rules[0].rules[1]!./source-map/nested/nested.css ***!
+ \\*******************************************************************************************/
+.nested {
+ color: blue;
}
-",
- "",
- Object {
- "mappings": "AAAA;EACE,UAAU;AACZ",
- "names": Array [],
- "sourceRoot": "",
- "sources": Array [
- "webpack://./source-map/with-query.css",
- ],
- "sourcesContent": Array [
- ".foo {
+
+/*!***********************************************************************************!*\\
+ !*** css ../../src/index.js??ruleSet[1].rules[0].rules[1]!./source-map/basic.css ***!
+ \\***********************************************************************************/
+.class {
color: red;
}
-",
- ],
- "version": 3,
- },
+
+"
+`;
+
+exports[`"sourceMap" option should generate source maps when css was extracted when the 'devtool' property is 'hidden-nosources-source-map': source map 1`] = `
+{
+ "file": "main.css",
+ "mappings": ";;;AAAA;EACE,WAAW;AACb;;;;;ACAA;EACE,UAAU;AACZ",
+ "names": [],
+ "sourceRoot": "",
+ "sources": [
+ "webpack:///./source-map/nested/nested.css",
+ "webpack:///./source-map/basic.css",
],
-]
+ "version": 3,
+}
`;
-exports[`"sourceMap" option true should generate source maps #2: warnings 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when css was extracted when the 'devtool' property is 'hidden-nosources-source-map': warnings 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps and do not change "[contenthash]" on different platform: errors 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when css was extracted when the 'devtool' property is 'hidden-source-map': errors 1`] = `[]`;
+
+exports[`"sourceMap" option should generate source maps when css was extracted when the 'devtool' property is 'hidden-source-map': extracted css 1`] = `
+"/*!*******************************************************************************************!*\\
+ !*** css ../../src/index.js??ruleSet[1].rules[0].rules[1]!./source-map/nested/nested.css ***!
+ \\*******************************************************************************************/
+.nested {
+ color: blue;
+}
+
+/*!***********************************************************************************!*\\
+ !*** css ../../src/index.js??ruleSet[1].rules[0].rules[1]!./source-map/basic.css ***!
+ \\***********************************************************************************/
+.class {
+ color: red;
+}
-exports[`"sourceMap" option true should generate source maps and do not change "[contenthash]" on different platform: module 1`] = `
-"// Imports
-import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \\"../../../src/runtime/cssWithMappingToString.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].rules[0]!./nested/nested.css\\";
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
-___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
-// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\".class {\\\\n color: red;\\\\n}\\\\n\\", \\"\\",{\\"version\\":3,\\"sources\\":[\\"webpack://./test/fixtures/source-map/basic.css\\"],\\"names\\":[],\\"mappings\\":\\"AAEA;EACE,UAAU;AACZ\\",\\"sourcesContent\\":[\\"@import \\\\\\"./nested/nested.css\\\\\\";\\\\n\\\\n.class {\\\\n color: red;\\\\n}\\\\n\\"],\\"sourceRoot\\":\\"\\"}]);
-// Exports
-export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"sourceMap" option true should generate source maps and do not change "[contenthash]" on different platform: result 1`] = `
-Array [
- Array [
- "./src/index.js??ruleSet[1].rules[0].rules[0]!./test/fixtures/source-map/nested/nested.css",
+exports[`"sourceMap" option should generate source maps when css was extracted when the 'devtool' property is 'hidden-source-map': source map 1`] = `
+{
+ "file": "main.css",
+ "mappings": ";;;AAAA;EACE,WAAW;AACb;;;;;ACAA;EACE,UAAU;AACZ",
+ "names": [],
+ "sourceRoot": "",
+ "sources": [
+ "webpack:///./source-map/nested/nested.css",
+ "webpack:///./source-map/basic.css",
+ ],
+ "sourcesContent": [
".nested {
color: blue;
}
",
- "",
- Object {
- "mappings": "AAAA;EACE,WAAW;AACb",
- "names": Array [],
- "sourceRoot": "",
- "sources": Array [
- "webpack://./test/fixtures/source-map/nested/nested.css",
- ],
- "sourcesContent": Array [
- ".nested {
- color: blue;
-}
-",
- ],
- "version": 3,
- },
- ],
- Array [
- "./test/fixtures/source-map/basic.css",
- ".class {
- color: red;
-}
-",
- "",
- Object {
- "mappings": "AAEA;EACE,UAAU;AACZ",
- "names": Array [],
- "sourceRoot": "",
- "sources": Array [
- "webpack://./test/fixtures/source-map/basic.css",
- ],
- "sourcesContent": Array [
- "@import \\"./nested/nested.css\\";
+ "@import "http://github.com/nested/nested.css";
.class {
color: red;
}
",
- ],
- "version": 3,
- },
],
-]
+ "version": 3,
+}
`;
-exports[`"sourceMap" option true should generate source maps and do not change "[contenthash]" on different platform: warnings 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when css was extracted when the 'devtool' property is 'hidden-source-map': warnings 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps when css was extracted and do not change "[contenthash]" on different platform: errors 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when css was extracted when the 'devtool' property is 'nosources-source-map': errors 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps when css was extracted and do not change "[contenthash]" on different platform: extracted css 1`] = `
-"/*!*****************************************************************************************************!*\\\\
- !*** css ./src/index.js??ruleSet[1].rules[0].rules[1]!./test/fixtures/source-map/nested/nested.css ***!
- \\\\*****************************************************************************************************/
+exports[`"sourceMap" option should generate source maps when css was extracted when the 'devtool' property is 'nosources-source-map': extracted css 1`] = `
+"/*!*******************************************************************************************!*\\
+ !*** css ../../src/index.js??ruleSet[1].rules[0].rules[1]!./source-map/nested/nested.css ***!
+ \\*******************************************************************************************/
.nested {
color: blue;
}
-/*!*********************************************************************************************!*\\\\
- !*** css ./src/index.js??ruleSet[1].rules[0].rules[1]!./test/fixtures/source-map/basic.css ***!
- \\\\*********************************************************************************************/
+/*!***********************************************************************************!*\\
+ !*** css ../../src/index.js??ruleSet[1].rules[0].rules[1]!./source-map/basic.css ***!
+ \\***********************************************************************************/
.class {
color: red;
}
-/*# sourceMappingURL=main.xxxxxxxxxxxxxxxxxxxx.css.map*/"
+/*# sourceMappingURL=main.css.map*/"
`;
-exports[`"sourceMap" option true should generate source maps when css was extracted and do not change "[contenthash]" on different platform: source map 1`] = `
-Object {
- "file": "main.xxxxxxxxxxxxxxxxxxxx.css",
- "mappings": "AAAA;EACE,WAAW;AACb;;;;;ACAA;EACE,UAAU;AACZ",
- "names": Array [],
+exports[`"sourceMap" option should generate source maps when css was extracted when the 'devtool' property is 'nosources-source-map': source map 1`] = `
+{
+ "file": "main.css",
+ "mappings": ";;;AAAA;EACE,WAAW;AACb;;;;;ACAA;EACE,UAAU;AACZ",
+ "names": [],
"sourceRoot": "",
- "sources": Array [
- "webpack:///./test/fixtures/source-map/nested/nested.css",
- "webpack:///./test/fixtures/source-map/basic.css",
- ],
- "sourcesContent": Array [
- ".nested {
- color: blue;
-}
-",
- "@import \\"./nested/nested.css\\";
-
-.class {
- color: red;
-}
-",
+ "sources": [
+ "webpack:///./source-map/nested/nested.css",
+ "webpack:///./source-map/basic.css",
],
"version": 3,
}
`;
-exports[`"sourceMap" option true should generate source maps when css was extracted and do not change "[contenthash]" on different platform: warnings 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when css was extracted when the 'devtool' property is 'nosources-source-map': warnings 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps when css was extracted: errors 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when css was extracted when the 'devtool' property is 'source-map': errors 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps when css was extracted: extracted css 1`] = `
-"/*!*******************************************************************************************!*\\\\
+exports[`"sourceMap" option should generate source maps when css was extracted when the 'devtool' property is 'source-map': extracted css 1`] = `
+"/*!*******************************************************************************************!*\\
!*** css ../../src/index.js??ruleSet[1].rules[0].rules[1]!./source-map/nested/nested.css ***!
- \\\\*******************************************************************************************/
+ \\*******************************************************************************************/
.nested {
color: blue;
}
-/*!***********************************************************************************!*\\\\
+/*!***********************************************************************************!*\\
!*** css ../../src/index.js??ruleSet[1].rules[0].rules[1]!./source-map/basic.css ***!
- \\\\***********************************************************************************/
+ \\***********************************************************************************/
.class {
color: red;
}
@@ -359,22 +325,22 @@ exports[`"sourceMap" option true should generate source maps when css was extrac
/*# sourceMappingURL=main.css.map*/"
`;
-exports[`"sourceMap" option true should generate source maps when css was extracted: source map 1`] = `
-Object {
+exports[`"sourceMap" option should generate source maps when css was extracted when the 'devtool' property is 'source-map': source map 1`] = `
+{
"file": "main.css",
- "mappings": "AAAA;EACE,WAAW;AACb;;;;;ACAA;EACE,UAAU;AACZ",
- "names": Array [],
+ "mappings": ";;;AAAA;EACE,WAAW;AACb;;;;;ACAA;EACE,UAAU;AACZ",
+ "names": [],
"sourceRoot": "",
- "sources": Array [
+ "sources": [
"webpack:///./source-map/nested/nested.css",
"webpack:///./source-map/basic.css",
],
- "sourcesContent": Array [
+ "sourcesContent": [
".nested {
color: blue;
}
",
- "@import \\"./nested/nested.css\\";
+ "@import "http://github.com/nested/nested.css";
.class {
color: red;
@@ -385,41 +351,66 @@ Object {
}
`;
-exports[`"sourceMap" option true should generate source maps when css was extracted: warnings 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when css was extracted when the 'devtool' property is 'source-map': warnings 1`] = `[]`;
+
+exports[`"sourceMap" option should generate source maps when css was extracted: errors 1`] = `[]`;
+
+exports[`"sourceMap" option should generate source maps when css was extracted: extracted css 1`] = `
+"/*!*******************************************************************************************!*\\
+ !*** css ../../src/index.js??ruleSet[1].rules[0].rules[1]!./source-map/nested/nested.css ***!
+ \\*******************************************************************************************/
+.nested {
+ color: blue;
+}
+
+/*!***********************************************************************************!*\\
+ !*** css ../../src/index.js??ruleSet[1].rules[0].rules[1]!./source-map/basic.css ***!
+ \\***********************************************************************************/
+.class {
+ color: red;
+}
+
+"
+`;
+
+exports[`"sourceMap" option should generate source maps when css was extracted: warnings 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps when previous loader does not generate source maps: errors 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when previous loader does not generate source maps: errors 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps when previous loader does not generate source maps: module 1`] = `
+exports[`"sourceMap" option should generate source maps when previous loader does not generate source maps: module 1`] = `
"// Imports
-import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \\"../../../src/runtime/cssWithMappingToString.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]!./nested/nested.css\\";
+import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from "../../../src/runtime/sourceMaps.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]!./nested/nested.css";
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\".class {\\\\n color: red;\\\\n}\\\\n\\", \\"\\",{\\"version\\":3,\\"sources\\":[\\"webpack://./source-map/basic.css\\"],\\"names\\":[],\\"mappings\\":\\"AAEA;EACE,UAAU;AACZ\\",\\"sourcesContent\\":[\\"@import \\\\\\"./nested/nested.css\\\\\\";\\\\n\\\\n.class {\\\\n color: red;\\\\n}\\\\n\\"],\\"sourceRoot\\":\\"\\"}]);
+___CSS_LOADER_EXPORT___.push([module.id, \`.class {
+ color: red;
+}
+\`, "",{"version":3,"sources":["webpack://./source-map/basic.css"],"names":[],"mappings":"AAEA;EACE,UAAU;AACZ","sourcesContent":["@import \\"./nested/nested.css\\";\\n\\n.class {\\n color: red;\\n}\\n"],"sourceRoot":""}]);
// Exports
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"sourceMap" option true should generate source maps when previous loader does not generate source maps: result 1`] = `
-Array [
- Array [
+exports[`"sourceMap" option should generate source maps when previous loader does not generate source maps: result 1`] = `
+[
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!./source-map/nested/nested.css",
".nested {
color: blue;
}
",
"",
- Object {
+ {
"mappings": "AAAA;EACE,WAAW;AACb",
- "names": Array [],
+ "names": [],
"sourceRoot": "",
- "sources": Array [
+ "sources": [
"webpack://./source-map/nested/nested.css",
],
- "sourcesContent": Array [
+ "sourcesContent": [
".nested {
color: blue;
}
@@ -428,22 +419,22 @@ Array [
"version": 3,
},
],
- Array [
+ [
"./source-map/basic.css",
".class {
color: red;
}
",
"",
- Object {
+ {
"mappings": "AAEA;EACE,UAAU;AACZ",
- "names": Array [],
+ "names": [],
"sourceRoot": "",
- "sources": Array [
+ "sources": [
"webpack://./source-map/basic.css",
],
- "sourcesContent": Array [
- "@import \\"./nested/nested.css\\";
+ "sourcesContent": [
+ "@import "http://github.com/nested/nested.css";
.class {
color: red;
@@ -456,41 +447,44 @@ Array [
]
`;
-exports[`"sourceMap" option true should generate source maps when previous loader does not generate source maps: warnings 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when previous loader does not generate source maps: warnings 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates different source in source maps: errors 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when previous loader generates different source in source maps: errors 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates different source in source maps: module 1`] = `
+exports[`"sourceMap" option should generate source maps when previous loader generates different source in source maps: module 1`] = `
"// Imports
-import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \\"../../../src/runtime/cssWithMappingToString.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]!./nested/nested.css\\";
+import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from "../../../src/runtime/sourceMaps.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]!./nested/nested.css";
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\".class {\\\\n color: red;\\\\n}\\\\n\\", \\"\\",{\\"version\\":3,\\"sources\\":[\\"webpack://./source-map/basic-1.css\\"],\\"names\\":[],\\"mappings\\":\\"AAEA;EACE,UAAU;AACZ\\",\\"sourcesContent\\":[\\"@import \\\\\\"./nested/nested.css\\\\\\";\\\\n\\\\n.class {\\\\n color: red;\\\\n}\\\\n\\"],\\"sourceRoot\\":\\"\\"}]);
+___CSS_LOADER_EXPORT___.push([module.id, \`.class {
+ color: red;
+}
+\`, "",{"version":3,"sources":["webpack://./source-map/basic-1.css"],"names":[],"mappings":"AAEA;EACE,UAAU;AACZ","sourcesContent":["@import \\"./nested/nested.css\\";\\n\\n.class {\\n color: red;\\n}\\n"],"sourceRoot":""}]);
// Exports
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates different source in source maps: result 1`] = `
-Array [
- Array [
+exports[`"sourceMap" option should generate source maps when previous loader generates different source in source maps: result 1`] = `
+[
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!./source-map/nested/nested.css",
".nested {
color: blue;
}
",
"",
- Object {
+ {
"mappings": "AAAA;EACE,WAAW;AACb",
- "names": Array [],
+ "names": [],
"sourceRoot": "",
- "sources": Array [
+ "sources": [
"webpack://./source-map/nested/nested.css",
],
- "sourcesContent": Array [
+ "sourcesContent": [
".nested {
color: blue;
}
@@ -499,22 +493,22 @@ Array [
"version": 3,
},
],
- Array [
+ [
"./source-map/basic.css",
".class {
color: red;
}
",
"",
- Object {
+ {
"mappings": "AAEA;EACE,UAAU;AACZ",
- "names": Array [],
+ "names": [],
"sourceRoot": "",
- "sources": Array [
+ "sources": [
"webpack://./source-map/basic-1.css",
],
- "sourcesContent": Array [
- "@import \\"./nested/nested.css\\";
+ "sourcesContent": [
+ "@import "http://github.com/nested/nested.css";
.class {
color: red;
@@ -527,25 +521,29 @@ Array [
]
`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates different source in source maps: warnings 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when previous loader generates different source in source maps: warnings 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps ("less-loader"): errors 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps ("less-loader"): errors 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps ("less-loader"): module 1`] = `
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps ("less-loader"): module 1`] = `
"// Imports
-import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \\"../../../src/runtime/cssWithMappingToString.js\\";
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../src/runtime/api.js\\";
+import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from "../../../src/runtime/sourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\"body {\\\\n font: 100% Helvetica, sans-serif;\\\\n color: #333;\\\\n}\\\\n\\", \\"\\",{\\"version\\":3,\\"sources\\":[\\"webpack://./source-map/base.less\\"],\\"names\\":[],\\"mappings\\":\\"AAGA;EACE,gCAAA;EACA,WAAA;AAFF\\",\\"sourcesContent\\":[\\"@font-stack: Helvetica, sans-serif;\\\\n@primary-color: #333;\\\\n\\\\nbody {\\\\n font: 100% @font-stack;\\\\n color: @primary-color;\\\\n}\\\\n\\"],\\"sourceRoot\\":\\"\\"}]);
+___CSS_LOADER_EXPORT___.push([module.id, \`body {
+ font: 100% Helvetica, sans-serif;
+ color: #333;
+}
+\`, "",{"version":3,"sources":["webpack://./source-map/base.less"],"names":[],"mappings":"AAGA;EACE,gCAAA;EACA,WAAA;AAFF","sourcesContent":["@font-stack: Helvetica, sans-serif;\\n@primary-color: #333;\\n\\nbody {\\n font: 100% @font-stack;\\n color: @primary-color;\\n}\\n"],"sourceRoot":""}]);
// Exports
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps ("less-loader"): result 1`] = `
-Array [
- Array [
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps ("less-loader"): result 1`] = `
+[
+ [
"./source-map/base.less",
"body {
font: 100% Helvetica, sans-serif;
@@ -553,14 +551,14 @@ Array [
}
",
"",
- Object {
+ {
"mappings": "AAGA;EACE,gCAAA;EACA,WAAA;AAFF",
- "names": Array [],
+ "names": [],
"sourceRoot": "",
- "sources": Array [
+ "sources": [
"webpack://./source-map/base.less",
],
- "sourcesContent": Array [
+ "sourcesContent": [
"@font-stack: Helvetica, sans-serif;
@primary-color: #333;
@@ -576,41 +574,82 @@ body {
]
`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps ("less-loader"): warnings 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps ("less-loader"): warnings 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps ("postcss-loader"): errors 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps ("postcss-loader"): errors 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps ("postcss-loader"): module 1`] = `
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps ("postcss-loader"): module 1`] = `
"// Imports
-import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \\"../../../src/runtime/cssWithMappingToString.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]!./nested/nested.postcss.css\\";
+import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from "../../../src/runtime/sourceMaps.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]!./nested/nested.postcss.css";
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
// Module
-___CSS_LOADER_EXPORT___.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\\\\na {\\\\n color: rgba(0, 0, 255, 0.9)\\\\n}\\\\n\\\\na:hover {\\\\n color: #639;\\\\n }\\\\n\\", \\"\\",{\\"version\\":3,\\"sources\\":[\\"webpack://./source-map/basic.postcss.css\\"],\\"names\\":[],\\"mappings\\":\\"AAKA;EACE,gBAAgB;EAChB,mCAAsB;EACtB,yCAA4C;AAC9C;;AAEA;EACE,kBAAqB;EAArB,gBAAqB;EAArB,qBAAqB;AACvB;;AAEA;EACE;IACE,6BAAuB;IAAvB,uBAAuB;IACvB,iGAAsB;IACtB,eAA0B;IAA1B,0BAA0B;IAC1B,6BAAwC;IAAxC,wCAAwC;IACxC,qBAAyB;IACzB,kCAA+C;IAA/C,mCAA+C;IAA/C,6CAA+C;IAA/C,8CAA+C;EACjD;AACF;;AAEA;EACE,aAAe;EAAf,gBAAe;AACjB;;AAEA;EACE;AAKF;;AAHA;GACG,WAAoB;CACtB\\",\\"sourcesContent\\":[\\"@import \\\\\\"./nested/nested.postcss.css\\\\\\";\\\\n\\\\n@custom-media --viewport-medium (width <= 50rem);\\\\n@custom-selector :--heading h1, h2, h3, h4, h5, h6;\\\\n\\\\n:root {\\\\n --fontSize: 1rem;\\\\n --mainColor: #12345678;\\\\n --secondaryColor: lab(32.5 38.5 -47.6 / 90%);\\\\n}\\\\n\\\\nhtml {\\\\n overflow: hidden auto;\\\\n}\\\\n\\\\n@media (--viewport-medium) {\\\\n body {\\\\n color: var(--mainColor);\\\\n font-family: system-ui;\\\\n font-size: var(--fontSize);\\\\n line-height: calc(var(--fontSize) * 1.5);\\\\n overflow-wrap: break-word;\\\\n padding-inline: calc(var(--fontSize) / 2 + 1px);\\\\n }\\\\n}\\\\n\\\\n:--heading {\\\\n margin-block: 0;\\\\n}\\\\n\\\\na {\\\\n color: rgb(0 0 100% / 90%);\\\\n\\\\n&:hover {\\\\n color: rebeccapurple;\\\\n }\\\\n}\\\\n\\"],\\"sourceRoot\\":\\"\\"}]);
+___CSS_LOADER_EXPORT___.push([module.id, \`: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;
+}
+
+a {
+ color: rgba(0, 0, 255, 0.9);
+}
+
+a:hover {
+ color: #639;
+ }
+\`, "",{"version":3,"sources":["webpack://./source-map/basic.postcss.css"],"names":[],"mappings":"AAKA;EACE,gBAAgB;EAChB,mCAAsB;EACtB,yCAA4C;AAC9C;;AAEA;EACE,kBAAqB;EAArB,gBAAqB;EAArB,qBAAqB;AACvB;;AAEA;EACE;IACE,6BAAuB;IAAvB,uBAAuB;IACvB,iGAAsB;IACtB,eAA0B;IAA1B,0BAA0B;IAC1B,6BAAwC;IAAxC,wCAAwC;IACxC,qBAAyB;IACzB,kCAA+C;IAA/C,mCAA+C;IAA/C,6CAA+C;IAA/C,8CAA+C;EACjD;AACF;;AAEA;EACE,aAAe;EAAf,gBAAe;AACjB;;AAEA;EACE,2BAA0B;AAK5B;;AAHA;GACG,WAAoB;CACtB","sourcesContent":["@import \\"./nested/nested.postcss.css\\";\\n\\n@custom-media --viewport-medium (width <= 50rem);\\n@custom-selector :--heading h1, h2, h3, h4, h5, h6;\\n\\n:root {\\n --fontSize: 1rem;\\n --mainColor: #12345678;\\n --secondaryColor: lab(32.5 38.5 -47.6 / 90%);\\n}\\n\\nhtml {\\n overflow: hidden auto;\\n}\\n\\n@media (--viewport-medium) {\\n body {\\n color: var(--mainColor);\\n font-family: system-ui;\\n font-size: var(--fontSize);\\n line-height: calc(var(--fontSize) * 1.5);\\n overflow-wrap: break-word;\\n padding-inline: calc(var(--fontSize) / 2 + 1px);\\n }\\n}\\n\\n:--heading {\\n margin-block: 0;\\n}\\n\\na {\\n color: rgb(0 0 100% / 90%);\\n\\n&:hover {\\n color: rebeccapurple;\\n }\\n}\\n"],"sourceRoot":""}]);
// Exports
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps ("postcss-loader"): result 1`] = `
-Array [
- Array [
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps ("postcss-loader"): result 1`] = `
+[
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!./source-map/nested/nested.postcss.css",
".nested {
color: blue;
}
",
"",
- Object {
+ {
"mappings": "AAAA;EACE,WAAW;AACb",
- "names": Array [],
+ "names": [],
"sourceRoot": "",
- "sources": Array [
+ "sources": [
"webpack://./source-map/nested/nested.postcss.css",
],
- "sourcesContent": Array [
+ "sourcesContent": [
".nested {
color: blue;
}
@@ -619,7 +658,7 @@ Array [
"version": 3,
},
],
- Array [
+ [
"./source-map/basic.postcss.css",
":root {
--fontSize: 1rem;
@@ -650,13 +689,13 @@ html {
}
}
-h1,h2,h3,h4,h5,h6 {
+h1, h2, h3, h4, h5, h6 {
margin-top: 0;
margin-bottom: 0;
}
a {
- color: rgba(0, 0, 255, 0.9)
+ color: rgba(0, 0, 255, 0.9);
}
a:hover {
@@ -664,15 +703,15 @@ a:hover {
}
",
"",
- Object {
- "mappings": "AAKA;EACE,gBAAgB;EAChB,mCAAsB;EACtB,yCAA4C;AAC9C;;AAEA;EACE,kBAAqB;EAArB,gBAAqB;EAArB,qBAAqB;AACvB;;AAEA;EACE;IACE,6BAAuB;IAAvB,uBAAuB;IACvB,iGAAsB;IACtB,eAA0B;IAA1B,0BAA0B;IAC1B,6BAAwC;IAAxC,wCAAwC;IACxC,qBAAyB;IACzB,kCAA+C;IAA/C,mCAA+C;IAA/C,6CAA+C;IAA/C,8CAA+C;EACjD;AACF;;AAEA;EACE,aAAe;EAAf,gBAAe;AACjB;;AAEA;EACE;AAKF;;AAHA;GACG,WAAoB;CACtB",
- "names": Array [],
+ {
+ "mappings": "AAKA;EACE,gBAAgB;EAChB,mCAAsB;EACtB,yCAA4C;AAC9C;;AAEA;EACE,kBAAqB;EAArB,gBAAqB;EAArB,qBAAqB;AACvB;;AAEA;EACE;IACE,6BAAuB;IAAvB,uBAAuB;IACvB,iGAAsB;IACtB,eAA0B;IAA1B,0BAA0B;IAC1B,6BAAwC;IAAxC,wCAAwC;IACxC,qBAAyB;IACzB,kCAA+C;IAA/C,mCAA+C;IAA/C,6CAA+C;IAA/C,8CAA+C;EACjD;AACF;;AAEA;EACE,aAAe;EAAf,gBAAe;AACjB;;AAEA;EACE,2BAA0B;AAK5B;;AAHA;GACG,WAAoB;CACtB",
+ "names": [],
"sourceRoot": "",
- "sources": Array [
+ "sources": [
"webpack://./source-map/basic.postcss.css",
],
- "sourcesContent": Array [
- "@import \\"./nested/nested.postcss.css\\";
+ "sourcesContent": [
+ "@import "http://github.com/nested/nested.postcss.css";
@custom-media --viewport-medium (width <= 50rem);
@custom-selector :--heading h1, h2, h3, h4, h5, h6;
@@ -717,39 +756,42 @@ a {
]
`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps ("postcss-loader"): warnings 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps ("postcss-loader"): warnings 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps ("sass-loader"): errors 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps ("sass-loader"): errors 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps ("sass-loader"): module 1`] = `
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps ("sass-loader"): module 1`] = `
"// Imports
-import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \\"../../../src/runtime/cssWithMappingToString.js\\";
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../src/runtime/api.js\\";
+import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from "../../../src/runtime/sourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\"body {\\\\n font: 100% Helvetica, sans-serif;\\\\n color: #333;\\\\n}\\", \\"\\",{\\"version\\":3,\\"sources\\":[\\"webpack://./source-map/basic.scss\\"],\\"names\\":[],\\"mappings\\":\\"AAGA;EACE,gCAAA;EACA,WAJc;AAEhB\\",\\"sourcesContent\\":[\\"$font-stack: Helvetica, sans-serif;\\\\n$primary-color: #333;\\\\n\\\\nbody {\\\\n font: 100% $font-stack;\\\\n color: $primary-color;\\\\n}\\\\n\\"],\\"sourceRoot\\":\\"\\"}]);
+___CSS_LOADER_EXPORT___.push([module.id, \`body {
+ font: 100% Helvetica, sans-serif;
+ color: #333;
+}\`, "",{"version":3,"sources":["webpack://./source-map/basic.scss"],"names":[],"mappings":"AAGA;EACE,gCAAA;EACA,WAJc;AAEhB","sourcesContent":["$font-stack: Helvetica, sans-serif;\\n$primary-color: #333;\\n\\nbody {\\n font: 100% $font-stack;\\n color: $primary-color;\\n}\\n"],"sourceRoot":""}]);
// Exports
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps ("sass-loader"): result 1`] = `
-Array [
- Array [
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps ("sass-loader"): result 1`] = `
+[
+ [
"./source-map/basic.scss",
"body {
font: 100% Helvetica, sans-serif;
color: #333;
}",
"",
- Object {
+ {
"mappings": "AAGA;EACE,gCAAA;EACA,WAJc;AAEhB",
- "names": Array [],
+ "names": [],
"sourceRoot": "",
- "sources": Array [
+ "sources": [
"webpack://./source-map/basic.scss",
],
- "sourcesContent": Array [
+ "sourcesContent": [
"$font-stack: Helvetica, sans-serif;
$primary-color: #333;
@@ -765,25 +807,38 @@ body {
]
`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps ("sass-loader"): warnings 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps ("sass-loader"): warnings 1`] = `
+[
+ "ModuleWarning: Module Warning (from \`replaced original path\`):
+Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
+
+More info: https://sass-lang.com/d/legacy-js-api",
+]
+`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps ("stylus-loader"): errors 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps ("stylus-loader"): errors 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps ("stylus-loader"): module 1`] = `
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps ("stylus-loader"): module 1`] = `
"// Imports
-import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \\"../../../src/runtime/cssWithMappingToString.js\\";
-import ___CSS_LOADER_API_IMPORT___ from \\"../../../src/runtime/api.js\\";
+import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from "../../../src/runtime/sourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\"body {\\\\n font: 14px/1.5 Helvetica, arial, sans-serif;\\\\n}\\\\nbody #logo {\\\\n border-radius: 5px;\\\\n}\\\\n\\", \\"\\",{\\"version\\":3,\\"sources\\":[\\"webpack://./source-map/base.styl\\"],\\"names\\":[],\\"mappings\\":\\"AAAA;EACE,2CAAwB;AAC1B;AAAE;EACE,kBAAe;AAEnB\\",\\"sourcesContent\\":[\\"body {\\\\n font: 14px/1.5 Helvetica, arial, sans-serif;\\\\n #logo {\\\\n border-radius: 5px;\\\\n }\\\\n}\\\\n\\"],\\"sourceRoot\\":\\"\\"}]);
+___CSS_LOADER_EXPORT___.push([module.id, \`body {
+ font: 14px/1.5 Helvetica, arial, sans-serif;
+}
+body #logo {
+ border-radius: 5px;
+}
+\`, "",{"version":3,"sources":["webpack://./source-map/base.styl"],"names":[],"mappings":"AAAA;EACE,2CAAwB;AAC1B;AAAE;EACE,kBAAe;AAEnB","sourcesContent":["body {\\n font: 14px/1.5 Helvetica, arial, sans-serif;\\n #logo {\\n border-radius: 5px;\\n }\\n}\\n"],"sourceRoot":""}]);
// Exports
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps ("stylus-loader"): result 1`] = `
-Array [
- Array [
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps ("stylus-loader"): result 1`] = `
+[
+ [
"./source-map/base.styl",
"body {
font: 14px/1.5 Helvetica, arial, sans-serif;
@@ -793,14 +848,14 @@ body #logo {
}
",
"",
- Object {
+ {
"mappings": "AAAA;EACE,2CAAwB;AAC1B;AAAE;EACE,kBAAe;AAEnB",
- "names": Array [],
+ "names": [],
"sourceRoot": "",
- "sources": Array [
+ "sources": [
"webpack://./source-map/base.styl",
],
- "sourcesContent": Array [
+ "sourcesContent": [
"body {
font: 14px/1.5 Helvetica, arial, sans-serif;
#logo {
@@ -815,41 +870,44 @@ body #logo {
]
`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps ("stylus-loader"): warnings 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps ("stylus-loader"): warnings 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps with "sourceRoot": errors 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps with "sourceRoot": errors 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps with "sourceRoot": module 1`] = `
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps with "sourceRoot": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \\"../../../src/runtime/cssWithMappingToString.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]!./nested/nested.css\\";
+import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from "../../../src/runtime/sourceMaps.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]!./nested/nested.css";
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\".class {\\\\n color: red;\\\\n}\\\\n\\", \\"\\",{\\"version\\":3,\\"sources\\":[\\"webpack://./source-map/basic.css\\"],\\"names\\":[],\\"mappings\\":\\"AAEA;EACE,UAAU;AACZ\\",\\"sourcesContent\\":[\\"@import \\\\\\"./nested/nested.css\\\\\\";\\\\n\\\\n.class {\\\\n color: red;\\\\n}\\\\n\\"],\\"sourceRoot\\":\\"\\"}]);
+___CSS_LOADER_EXPORT___.push([module.id, \`.class {
+ color: red;
+}
+\`, "",{"version":3,"sources":["webpack://./source-map/basic.css"],"names":[],"mappings":"AAEA;EACE,UAAU;AACZ","sourcesContent":["@import \\"./nested/nested.css\\";\\n\\n.class {\\n color: red;\\n}\\n"],"sourceRoot":""}]);
// Exports
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps with "sourceRoot": result 1`] = `
-Array [
- Array [
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps with "sourceRoot": result 1`] = `
+[
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!./source-map/nested/nested.css",
".nested {
color: blue;
}
",
"",
- Object {
+ {
"mappings": "AAAA;EACE,WAAW;AACb",
- "names": Array [],
+ "names": [],
"sourceRoot": "",
- "sources": Array [
+ "sources": [
"webpack://./source-map/nested/nested.css",
],
- "sourcesContent": Array [
+ "sourcesContent": [
".nested {
color: blue;
}
@@ -858,22 +916,22 @@ Array [
"version": 3,
},
],
- Array [
+ [
"./source-map/basic.css",
".class {
color: red;
}
",
"",
- Object {
+ {
"mappings": "AAEA;EACE,UAAU;AACZ",
- "names": Array [],
+ "names": [],
"sourceRoot": "",
- "sources": Array [
+ "sources": [
"webpack://./source-map/basic.css",
],
- "sourcesContent": Array [
- "@import \\"./nested/nested.css\\";
+ "sourcesContent": [
+ "@import "http://github.com/nested/nested.css";
.class {
color: red;
@@ -886,41 +944,44 @@ Array [
]
`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps with "sourceRoot": warnings 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps with "sourceRoot": warnings 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps without "sourceRoot": errors 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps without "sourceRoot": errors 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps without "sourceRoot": module 1`] = `
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps without "sourceRoot": module 1`] = `
"// Imports
-import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \\"../../../src/runtime/cssWithMappingToString.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]!./nested/nested.css\\";
+import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from "../../../src/runtime/sourceMaps.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]!./nested/nested.css";
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\".class {\\\\n color: red;\\\\n}\\\\n\\", \\"\\",{\\"version\\":3,\\"sources\\":[\\"webpack://./source-map/basic.css\\"],\\"names\\":[],\\"mappings\\":\\"AAEA;EACE,UAAU;AACZ\\",\\"sourcesContent\\":[\\"@import \\\\\\"./nested/nested.css\\\\\\";\\\\n\\\\n.class {\\\\n color: red;\\\\n}\\\\n\\"],\\"sourceRoot\\":\\"\\"}]);
+___CSS_LOADER_EXPORT___.push([module.id, \`.class {
+ color: red;
+}
+\`, "",{"version":3,"sources":["webpack://./source-map/basic.css"],"names":[],"mappings":"AAEA;EACE,UAAU;AACZ","sourcesContent":["@import \\"./nested/nested.css\\";\\n\\n.class {\\n color: red;\\n}\\n"],"sourceRoot":""}]);
// Exports
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps without "sourceRoot": result 1`] = `
-Array [
- Array [
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps without "sourceRoot": result 1`] = `
+[
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!./source-map/nested/nested.css",
".nested {
color: blue;
}
",
"",
- Object {
+ {
"mappings": "AAAA;EACE,WAAW;AACb",
- "names": Array [],
+ "names": [],
"sourceRoot": "",
- "sources": Array [
+ "sources": [
"webpack://./source-map/nested/nested.css",
],
- "sourcesContent": Array [
+ "sourcesContent": [
".nested {
color: blue;
}
@@ -929,22 +990,22 @@ Array [
"version": 3,
},
],
- Array [
+ [
"./source-map/basic.css",
".class {
color: red;
}
",
"",
- Object {
+ {
"mappings": "AAEA;EACE,UAAU;AACZ",
- "names": Array [],
+ "names": [],
"sourceRoot": "",
- "sources": Array [
+ "sources": [
"webpack://./source-map/basic.css",
],
- "sourcesContent": Array [
- "@import \\"./nested/nested.css\\";
+ "sourcesContent": [
+ "@import "http://github.com/nested/nested.css";
.class {
color: red;
@@ -957,41 +1018,91 @@ Array [
]
`;
-exports[`"sourceMap" option true should generate source maps when previous loader generates source maps without "sourceRoot": warnings 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when previous loader generates source maps without "sourceRoot": warnings 1`] = `[]`;
+
+exports[`"sourceMap" option should generate source maps when the 'sourceMap' option is 'true' #2: errors 1`] = `[]`;
+
+exports[`"sourceMap" option should generate source maps when the 'sourceMap' option is 'true' #2: module 1`] = `
+"// Imports
+import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from "../../../src/runtime/sourceMaps.js";
+import ___CSS_LOADER_API_IMPORT___ from "../../../src/runtime/api.js";
+var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
+// Module
+___CSS_LOADER_EXPORT___.push([module.id, \`.foo {
+ color: red;
+}
+\`, "",{"version":3,"sources":["webpack://./source-map/with-query.css"],"names":[],"mappings":"AAAA;EACE,UAAU;AACZ","sourcesContent":[".foo {\\n color: red;\\n}\\n"],"sourceRoot":""}]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"sourceMap" option should generate source maps when the 'sourceMap' option is 'true' #2: result 1`] = `
+[
+ [
+ "./source-map/with-query.css?url=false",
+ ".foo {
+ color: red;
+}
+",
+ "",
+ {
+ "mappings": "AAAA;EACE,UAAU;AACZ",
+ "names": [],
+ "sourceRoot": "",
+ "sources": [
+ "webpack://./source-map/with-query.css",
+ ],
+ "sourcesContent": [
+ ".foo {
+ color: red;
+}
+",
+ ],
+ "version": 3,
+ },
+ ],
+]
+`;
+
+exports[`"sourceMap" option should generate source maps when the 'sourceMap' option is 'true' #2: warnings 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps: errors 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when the 'sourceMap' option is 'true': errors 1`] = `[]`;
-exports[`"sourceMap" option true should generate source maps: module 1`] = `
+exports[`"sourceMap" option should generate source maps when the 'sourceMap' option is 'true': module 1`] = `
"// Imports
-import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \\"../../../src/runtime/cssWithMappingToString.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]!./nested/nested.css\\";
+import ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from "../../../src/runtime/sourceMaps.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]!./nested/nested.css";
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
// Module
-___CSS_LOADER_EXPORT___.push([module.id, \\".class {\\\\n color: red;\\\\n}\\\\n\\", \\"\\",{\\"version\\":3,\\"sources\\":[\\"webpack://./source-map/basic.css\\"],\\"names\\":[],\\"mappings\\":\\"AAEA;EACE,UAAU;AACZ\\",\\"sourcesContent\\":[\\"@import \\\\\\"./nested/nested.css\\\\\\";\\\\n\\\\n.class {\\\\n color: red;\\\\n}\\\\n\\"],\\"sourceRoot\\":\\"\\"}]);
+___CSS_LOADER_EXPORT___.push([module.id, \`.class {
+ color: red;
+}
+\`, "",{"version":3,"sources":["webpack://./source-map/basic.css"],"names":[],"mappings":"AAEA;EACE,UAAU;AACZ","sourcesContent":["@import \\"./nested/nested.css\\";\\n\\n.class {\\n color: red;\\n}\\n"],"sourceRoot":""}]);
// Exports
export default ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"sourceMap" option true should generate source maps: result 1`] = `
-Array [
- Array [
+exports[`"sourceMap" option should generate source maps when the 'sourceMap' option is 'true': result 1`] = `
+[
+ [
"../../src/index.js??ruleSet[1].rules[0].use[0]!./source-map/nested/nested.css",
".nested {
color: blue;
}
",
"",
- Object {
+ {
"mappings": "AAAA;EACE,WAAW;AACb",
- "names": Array [],
+ "names": [],
"sourceRoot": "",
- "sources": Array [
+ "sources": [
"webpack://./source-map/nested/nested.css",
],
- "sourcesContent": Array [
+ "sourcesContent": [
".nested {
color: blue;
}
@@ -1000,22 +1111,22 @@ Array [
"version": 3,
},
],
- Array [
+ [
"./source-map/basic.css",
".class {
color: red;
}
",
"",
- Object {
+ {
"mappings": "AAEA;EACE,UAAU;AACZ",
- "names": Array [],
+ "names": [],
"sourceRoot": "",
- "sources": Array [
+ "sources": [
"webpack://./source-map/basic.css",
],
- "sourcesContent": Array [
- "@import \\"./nested/nested.css\\";
+ "sourcesContent": [
+ "@import "http://github.com/nested/nested.css";
.class {
color: red;
@@ -1028,4 +1139,172 @@ Array [
]
`;
-exports[`"sourceMap" option true should generate source maps: warnings 1`] = `Array []`;
+exports[`"sourceMap" option should generate source maps when the 'sourceMap' option is 'true': warnings 1`] = `[]`;
+
+exports[`"sourceMap" option should not generate source maps by default when the 'devtool' option is false: errors 1`] = `[]`;
+
+exports[`"sourceMap" option should not generate source maps by default when the 'devtool' option 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";
+import ___CSS_LOADER_AT_RULE_IMPORT_0___ from "-!../../../src/index.js??ruleSet[1].rules[0].use[0]!./nested/nested.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, \`.class {
+ color: red;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"sourceMap" option should not generate source maps by default when the 'devtool' option is false: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./source-map/nested/nested.css",
+ ".nested {
+ color: blue;
+}
+",
+ "",
+ ],
+ [
+ "./source-map/basic.css",
+ ".class {
+ color: red;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"sourceMap" option should not generate source maps by default when the 'devtool' option is false: warnings 1`] = `[]`;
+
+exports[`"sourceMap" option should not generate source maps when 'false' value is used: errors 1`] = `[]`;
+
+exports[`"sourceMap" option should not generate source maps when 'false' value is used: 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]!./nested/nested.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, \`.class {
+ color: red;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"sourceMap" option should not generate source maps when 'false' value is used: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./source-map/nested/nested.css",
+ ".nested {
+ color: blue;
+}
+",
+ "",
+ ],
+ [
+ "./source-map/basic.css",
+ ".class {
+ color: red;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"sourceMap" option should not generate source maps when 'false' value is used: warnings 1`] = `[]`;
+
+exports[`"sourceMap" option should not generate source maps when previous loader does not generate source maps: errors 1`] = `[]`;
+
+exports[`"sourceMap" option should not generate source maps when previous loader does not generate source maps: 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]!./nested/nested.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, \`.class {
+ color: red;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"sourceMap" option should not generate source maps when previous loader does not generate source maps: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./source-map/nested/nested.css",
+ ".nested {
+ color: blue;
+}
+",
+ "",
+ ],
+ [
+ "./source-map/basic.css",
+ ".class {
+ color: red;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"sourceMap" option should not generate source maps when previous loader does not generate source maps: warnings 1`] = `[]`;
+
+exports[`"sourceMap" option should not generate source maps when previous loader generates source maps: errors 1`] = `[]`;
+
+exports[`"sourceMap" option should not generate source maps when previous loader generates source maps: 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]!./nested/nested.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, \`.class {
+ color: red;
+}
+\`, ""]);
+// Exports
+export default ___CSS_LOADER_EXPORT___;
+"
+`;
+
+exports[`"sourceMap" option should not generate source maps when previous loader generates source maps: result 1`] = `
+[
+ [
+ "../../src/index.js??ruleSet[1].rules[0].use[0]!./source-map/nested/nested.css",
+ ".nested {
+ color: blue;
+}
+",
+ "",
+ ],
+ [
+ "./source-map/basic.css",
+ ".class {
+ color: red;
+}
+",
+ "",
+ ],
+]
+`;
+
+exports[`"sourceMap" option should not generate source maps when previous loader generates source maps: warnings 1`] = `[]`;
diff --git a/test/__snapshots__/url-option.test.js.snap b/test/__snapshots__/url-option.test.js.snap
index 9bdd4437..8dd552fc 100644
--- a/test/__snapshots__/url-option.test.js.snap
+++ b/test/__snapshots__/url-option.test.js.snap
@@ -1,24 +1,37 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`"url" option should resolve "file" protocol path when the "esModules" is "false": errors 1`] = `Array []`;
+exports[`"url" option should resolve "file" protocol path when the "esModule" is "false": errors 1`] = `[]`;
-exports[`"url" option should resolve "file" protocol path when the "esModules" is "false": module 1`] = `
+exports[`"url" option should resolve "file" protocol path when the "esModule" is "false": module 1`] = `
"// Imports
-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(\\"./img.png\\");
-var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
+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("./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, \\"\\\\n.background {\\\\n background: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n}\\\\n\\\\n.background-other {\\\\n background: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n}\\\\n\\\\n.background-other {\\\\n background: url(\\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \\");\\\\n}\\\\n\\", \\"\\"]);
+___CSS_LOADER_EXPORT___.push([module.id, \`
+.background {
+ background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D);
+}
+
+.background-other {
+ background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D);
+}
+
+.background-other {
+ background: url(http://github.com/$%7B___CSS_LOADER_URL_REPLACEMENT_0___%7D);
+}
+\`, ""]);
// Exports
module.exports = ___CSS_LOADER_EXPORT___;
"
`;
-exports[`"url" option should resolve "file" protocol path when the "esModules" is "false": result 1`] = `
-Array [
- Array [
+exports[`"url" option should resolve "file" protocol path when the "esModule" is "false": result 1`] = `
+[
+ [
"./url/url-file-protocol.css",
"
.background {
@@ -38,27 +51,40 @@ Array [
]
`;
-exports[`"url" option should resolve "file" protocol path when the "esModules" is "false": warnings 1`] = `Array []`;
+exports[`"url" option should resolve "file" protocol path when the "esModule" is "false": warnings 1`] = `[]`;
-exports[`"url" option should resolve "file" protocol path: errors 1`] = `Array []`;
+exports[`"url" option should resolve "file" protocol path: errors 1`] = `[]`;
exports[`"url" option should resolve "file" protocol path: module 1`] = `
"// Imports
-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(\\"file://