返回 DeepSeek-Reasonix
css-stub-register.mjs
根目录 / desktop / frontend / scripts / css-stub-register.mjs
1 // Registers the css-loader hook before tsx boots, so `.css` imports in
2 // component modules resolve to an empty module instead of failing on the
3 // extension. Mirrors svg-loader.mjs; used by css-stub-register.mjs.
4 import { register } from "node:module";
5 register(new URL("./css-loader.mjs", import.meta.url));
6
6 lines Plain Text