webpack/test/configCases/css/pseudo-import/test.config.js

12 lines
301 B
JavaScript
Raw Normal View History

2024-11-07 00:11:54 +08:00
module.exports = {
2025-04-22 19:09:25 +08:00
findBundle(i, options) {
2024-11-16 01:54:46 +08:00
return ["reexport_modules_css.bundle0.js", "bundle0.js"];
},
2024-11-07 00:11:54 +08:00
moduleScope(scope) {
const link = scope.window.document.createElement("link");
link.rel = "stylesheet";
link.href = "bundle0.css";
scope.window.document.head.appendChild(link);
}
};