Skip to content

Commit

Permalink
refactor: indent
Browse files Browse the repository at this point in the history
  • Loading branch information
pirhoo committed May 31, 2024
1 parent 01f54c8 commit ede073e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { resolve } from 'path'
import { defineConfig } from 'vite'
import {fileURLToPath, URL} from "node:url";
import { fileURLToPath, URL } from "node:url";
// generates d.ts files
import DTS from "vite-plugin-dts";
import Vue from '@vitejs/plugin-vue'
import Delete from './plugins/plugin-delete'
import VueDocgen from './plugins/plugin-docgen'
import Components from 'unplugin-vue-components/vite'
import {BootstrapVueNextResolver} from 'unplugin-vue-components/resolvers'
import { BootstrapVueNextResolver } from 'unplugin-vue-components/resolvers'
import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite'

export default defineConfig({
Expand Down Expand Up @@ -35,9 +35,10 @@ export default defineConfig({
}),
Components({
resolvers: [BootstrapVueNextResolver()],
}),],
}),
],
build: {
target: 'es2015',
target: 'modules',
copyPublicDir: false,
outDir: 'dist/lib',
sourcemap: true,
Expand All @@ -47,7 +48,7 @@ export default defineConfig({
fileName: 'murmur'
},
rollupOptions: {
external: ['bootstrap','vue',{ 'bootstrap-vue-next': 'bootstrap-vue-next' }],
external: ['bootstrap', 'vue', 'vue-i18n', 'bootstrap-vue-next'],
output: {
globals: {
vue: 'Vue'
Expand Down

0 comments on commit ede073e

Please sign in to comment.