happy bday!
This commit is contained in:
17
vite.config.js
Normal file
17
vite.config.js
Normal file
@@ -0,0 +1,17 @@
|
||||
// @ts-check
|
||||
import wasm from 'vite-plugin-wasm';
|
||||
import { watch } from 'vite-plugin-watch';
|
||||
|
||||
/** @type {import('vite').UserConfig} */
|
||||
export default {
|
||||
plugins: [
|
||||
wasm(),
|
||||
watch({
|
||||
pattern: 'shell/src/**/*.rs',
|
||||
command: 'bun run dev-wasm',
|
||||
}),
|
||||
],
|
||||
build: {
|
||||
target: 'esnext',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user