build: properly configure js for tsconfig
This commit is contained in:
parent
a5f4ca5db8
commit
fd2a6f6222
|
@ -6,6 +6,7 @@
|
||||||
"types": ["vite/client"],
|
"types": ["vite/client"],
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
|
"noEmit": true,
|
||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
|
@ -19,5 +20,5 @@
|
||||||
"@ns": ["./NetscriptDefinitions.d.ts"]
|
"@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 { defineConfig } from 'viteburner';
|
||||||
import { resolve } from 'path';
|
import { resolve } from 'path';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue