build: properly configure js for tsconfig
This commit is contained in:
parent
a5f4ca5db8
commit
fd2a6f6222
|
@ -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"]
|
||||
}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* eslint-env node */
|
||||
import { defineConfig } from 'viteburner';
|
||||
import { resolve } from 'path';
|
||||
|
||||
|
|
Loading…
Reference in New Issue