Update vite.config.ts
Updated vite.config.ts to include JSX and TSX file types to support React i n Bitburner v2.8.0
This commit is contained in:
parent
ad0171f878
commit
0f0e74bebc
|
|
@ -15,7 +15,7 @@ export default defineConfig({
|
||||||
minify: false,
|
minify: false,
|
||||||
},
|
},
|
||||||
viteburner: {
|
viteburner: {
|
||||||
watch: [{ pattern: 'src/**/*.{js,ts}', transform: true }, { pattern: 'src/**/*.{script,txt}' }],
|
watch: [{ pattern: 'src/**/*.{js,ts,jsx,tsx}', transform: true }, { pattern: 'src/**/*.{script,txt}' }],
|
||||||
sourcemap: 'inline',
|
sourcemap: 'inline',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue