mirror of
https://github.com/cdr/code-server.git
synced 2026-03-18 11:12:52 +01:00
6 lines
209 B
JavaScript
6 lines
209 B
JavaScript
module.exports = function(source) {
|
|
if (this.resourcePath.endsWith(".ts")) {
|
|
this.resourcePath = this.resourcePath.replace(".ts", ".css");
|
|
}
|
|
return `module.exports = require("${this.resourcePath}");`;
|
|
};
|