Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Commit

Permalink
build v0.8.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Arenukvern committed Mar 2, 2021
1 parent bdc1de2 commit ec8901f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 4 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' }],
// })
Expand Down Expand Up @@ -40,19 +41,20 @@ 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: {
dir: './dist',
// // Provide global variables to use in the UMD build
// // for externalized deps
globals: {
vue: 'Vue',
vue: 'vue',
},
},
},
Expand Down

0 comments on commit ec8901f

Please sign in to comment.