mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
chore(packages): resolve infinite dev rebuild loop in vite
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsdown",
|
||||
"build:watch": "tsdown --watch --silent",
|
||||
"build:watch": "tsdown --watch ./src --no-clean",
|
||||
"dev": "pnpm run build:watch",
|
||||
"test": "vitest run",
|
||||
"test:watch": "vitest",
|
||||
|
||||
@@ -15,6 +15,7 @@ export default defineConfig({
|
||||
format: 'es',
|
||||
sourcemap: true,
|
||||
clean: true,
|
||||
hash: false,
|
||||
alias: {
|
||||
'@': new URL('./src', import.meta.url).pathname,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user