Skip to content

Commit c7cb29f

Browse files
refactor: rebase onto master
1 parent 789b6ed commit c7cb29f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/__snapshots__/sourceMap-option.test.js.snap

+4-4
Original file line numberDiff line numberDiff line change
@@ -481,14 +481,14 @@ exports[`"sourceMap" option true should generate source maps when source maps is
481481

482482
exports[`"sourceMap" option true should generate source maps when source maps is valid and is set sourceRoot: module 1`] = `
483483
"// Imports
484-
var ___CSS_LOADER_API_IMPORT___ = require(\\"../../../src/runtime/api.js\\");
485-
var ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\\"-!../../../src/index.js??[ident]!./nested/nested.css\\");
486-
___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);
484+
import ___CSS_LOADER_API_IMPORT___ from \\"../../../src/runtime/api.js\\";
485+
import ___CSS_LOADER_AT_RULE_IMPORT_0___ from \\"-!../../../src/index.js??[ident]!./nested/nested.css\\";
486+
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);
487487
___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);
488488
// Module
489489
___CSS_LOADER_EXPORT___.push([module.id, \\".class {\\\\n color: red;\\\\n}\\\\n\\", \\"\\",{\\"version\\":3,\\"sources\\":[\\"/fixtures/source-map/basic.css\\",\\"basic.css\\"],\\"names\\":[],\\"mappings\\":\\"AAEA;ECCE,UAAU;AACZ\\",\\"file\\":\\"basic.css\\",\\"sourcesContent\\":[\\".class {\\\\n color: red;\\\\n}\\\\n\\",\\"@import \\\\\\"./nested/nested.css\\\\\\";\\\\n\\\\n.class {\\\\n color: red;\\\\n}\\\\n\\"]}]);
490490
// Exports
491-
module.exports = ___CSS_LOADER_EXPORT___;
491+
export default ___CSS_LOADER_EXPORT___;
492492
"
493493
`;
494494

0 commit comments

Comments
 (0)