diff --git a/package.json b/package.json index 2d3b53f..11045b7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@xsoulspace/vuefer", "description": "vuefer just a way to write Vue3 styled like Flutter with Tailwind CSS", - "version": "0.8.4", + "version": "0.8.5", "private": false, "author": { "name": "Anton Malofeev", diff --git a/vite.config.ts b/vite.config.ts index f14bd70..0ed956f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -3,6 +3,7 @@ import vueJsx from '@vitejs/plugin-vue-jsx' import path from 'path' // import ts from 'rollup-plugin-typescript2' import { defineConfig } from 'vite' + // const copyPlugin = copy({ // targets: [{ src: 'example/**/*', dest: 'dist/example' }], // }) @@ -40,11 +41,12 @@ export default defineConfig({ build: { lib: { entry: path.resolve(__dirname, 'lib/index.ts'), - name: 'vuefer', + name: '@xsoulspace/vuefer', }, rollupOptions: { // make sure to externalize deps that shouldn't be bundled // into your library + input: 'index.ts', external: ['vue'], plugins: [], output: { @@ -52,7 +54,7 @@ export default defineConfig({ // // Provide global variables to use in the UMD build // // for externalized deps globals: { - vue: 'Vue', + vue: 'vue', }, }, },