diff --git a/files/__addonLocation__/tsconfig.json b/files/__addonLocation__/tsconfig.json index 782c56ed..5f392b1b 100644 --- a/files/__addonLocation__/tsconfig.json +++ b/files/__addonLocation__/tsconfig.json @@ -9,7 +9,18 @@ }, "compilerOptions": { "allowJs": true, - "allowImportingTsExtensions": true, - "declarationDir": "declarations" + "declarationDir": "declarations", + + /** + We don't want to include types dependencies in our compiled output, so tell TypeScript + to enforce using `import type` instead of `import` for Types. + */ + "verbatimModuleSyntax": true, + + /** + We want our tooling to know how to resolve our custom files so the appropriate plugins + can do the proper transformations on those files. + */ + "allowImportingTsExtensions": true } }