vite.config.ts 278 B

12345678910111213141516
  1. import { defineConfig } from 'vite'
  2. export default defineConfig({
  3. build: {
  4. lib: {
  5. entry: {
  6. index: './lib/main.ts',
  7. vue: './lib/vue.ts',
  8. testing: './lib/testing.ts',
  9. },
  10. },
  11. rollupOptions: {
  12. external: ['vue'],
  13. }
  14. },
  15. })