3.0
Publish to npm / publish (push) Failing after 29s

This commit is contained in:
2026-04-08 01:07:10 +08:00
parent c100973590
commit d44938e456
17 changed files with 1574 additions and 1366 deletions
+23
View File
@@ -0,0 +1,23 @@
import { defineConfig } from 'vite'
export default defineConfig({
build: {
outDir: 'dist',
emptyOutDir: false,
lib: {
entry: 'src/simapi.pinia.ts',
name: 'SimApiPinia',
formats: ['es'],
fileName: () => 'pinia.mjs'
},
rollupOptions: {
external: ['vue', 'pinia'],
output: {
globals: {
vue: 'Vue',
pinia: 'Pinia'
}
}
}
}
})