diff --git a/sample/index.ts b/sample/index.ts new file mode 100644 index 0000000..f6069b9 --- /dev/null +++ b/sample/index.ts @@ -0,0 +1,2 @@ +// Load-bearing `.ts` file to ensure that tsconfig.json doesn't throw an error about no input files. +export {} \ No newline at end of file diff --git a/sample/tsconfig.json b/sample/tsconfig.json index 3f0dbcf..f47289f 100644 --- a/sample/tsconfig.json +++ b/sample/tsconfig.json @@ -1,12 +1,12 @@ { "compilerOptions": { - "target": "ES2020", - "module": "ESNext", - "moduleResolution": "bundler", + "target": "esnext", + "module": "nodenext", + "moduleResolution": "nodenext", "strict": true, "plugins": [ { "name": "tempblot-typescript-plugin" } ] }, - "include": ["*.blot"] + "include": ["*.blot", "*.ts"] }