🔧 test environment setup updated
This commit is contained in:
parent
738f5ae2ad
commit
1fb81ec69f
|
@ -1,9 +1,9 @@
|
|||
// vite.config.ts
|
||||
import { fileURLToPath, URL } from 'node:url';
|
||||
import { defineConfig } from 'vite';
|
||||
import vue from '@vitejs/plugin-vue';
|
||||
import vueDevTools from 'vite-plugin-vue-devtools';
|
||||
import path from 'path';
|
||||
import { fileURLToPath, URL } from 'node:url'
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import vueDevTools from 'vite-plugin-vue-devtools'
|
||||
import path from 'path'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
|
@ -24,12 +24,15 @@ export default defineConfig({
|
|||
formats: ['es', 'umd'],
|
||||
},
|
||||
rollupOptions: {
|
||||
external: ['vue'],
|
||||
external: ['vue', 'primevue', 'vue-router', 'primeicons'],
|
||||
output: {
|
||||
globals: {
|
||||
vue: 'Vue',
|
||||
primevue: 'PrimeVue',
|
||||
'vue-router': 'VueRouter',
|
||||
primeicons: 'primeicons'
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user