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