mirror of
https://github.com/coder/code-server.git
synced 2025-09-25 17:16:23 +08:00
not finished
This commit is contained in:
6
packages/vscode/src/fill/css.js
Normal file
6
packages/vscode/src/fill/css.js
Normal file
@ -0,0 +1,6 @@
|
||||
module.exports = function(source) {
|
||||
if (this.resourcePath.endsWith(".ts")) {
|
||||
this.resourcePath = this.resourcePath.replace(".ts", ".css");
|
||||
}
|
||||
return `module.exports = require("${this.resourcePath}");`;
|
||||
};
|
Reference in New Issue
Block a user