webpack/test/configCases/css/basic/test.config.js

9 lines
216 B
JavaScript
Raw Normal View History

2021-12-01 16:50:13 +08:00
module.exports = {
moduleScope(scope) {
const link = scope.window.document.createElement("link");
link.rel = "stylesheet";
link.href = "main.bundle0.css";
2021-12-01 16:50:13 +08:00
scope.window.document.head.appendChild(link);
}
};