1
0
Fork 0

build: properly configure js for tsconfig

This commit is contained in:
Tanimodori 2023-03-14 15:13:51 +08:00
parent a5f4ca5db8
commit fd2a6f6222
2 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,7 @@
"types": ["vite/client"],
"strict": true,
"allowJs": true,
"noEmit": true,
"isolatedModules": true,
"esModuleInterop": true,
"baseUrl": ".",
@ -19,5 +20,5 @@
"@ns": ["./NetscriptDefinitions.d.ts"]
}
},
"include": ["src/**/*.ts", "NetscriptDefinitions.d.ts", "vite.config.ts"]
"include": ["src/**/*.ts", "src/**/*.js", "NetscriptDefinitions.d.ts", "vite.config.ts", "vite.config.js"]
}

View File

@ -1,3 +1,4 @@
/* eslint-env node */
import { defineConfig } from 'viteburner';
import { resolve } from 'path';