1
我嘗試使用these build system configs,但是我想向編譯器添加'--module commonjs'選項。使用--module選項在崇高文本中構建系統配置
我試過這個,但它不起作用。
{
"selector": "source.ts",
"cmd": ["tsc.cmd","--module commonjs","$file"],
"file_regex": "^(.*\\.ts?)\\s\\(([0-9]+)\\,([0-9]+)\\)\\:\\s(...*?)$"
}
錯誤TS5023:未知的編譯器選項'module commonjs'。我有這個錯誤。這就像是不承認' - '字符
在此先感謝。