diff options
author | Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> | 2019-02-15 08:05:29 -0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-02-15 11:05:29 -0500 |
commit | fe0ceae54373c0e12b36111b886a06c800f86c20 (patch) | |
tree | f3bc3c81e1623eeaa5e00b54ef367826cecda75f /js | |
parent | 2241049c349443a971ba2558f373d62bbb7d9780 (diff) |
Fix behavior for extensionless files with .mime file (#1779)
Diffstat (limited to 'js')
-rw-r--r-- | js/compiler.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/compiler.ts b/js/compiler.ts index fa865de43..4ffef30fc 100644 --- a/js/compiler.ts +++ b/js/compiler.ts @@ -162,6 +162,7 @@ class Compiler implements ts.LanguageServiceHost, ts.FormatDiagnosticsHost { // arguments private readonly _options: ts.CompilerOptions = { allowJs: true, + allowNonTsExtensions: true, checkJs: true, esModuleInterop: true, module: ts.ModuleKind.ESNext, |