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

Commit

Permalink
chore: public removed and example removed from dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Arenukvern committed Mar 2, 2021
1 parent 653e092 commit 427fa5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
File renamed without changes.
9 changes: 4 additions & 5 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
import path from 'path'
import copy from 'rollup-plugin-copy'
import ts from 'rollup-plugin-typescript2'
import { defineConfig } from 'vite'
const copyPlugin = copy({
targets: [{ src: 'example/**/*', dest: 'dist/example' }],
})
// const copyPlugin = copy({
// targets: [{ src: 'example/**/*', dest: 'dist/example' }],
// })
const tsPlugin = ts({
tsconfig: path.resolve(__dirname, 'tsconfig.json'),
tsconfigOverride: {
Expand Down Expand Up @@ -47,7 +46,7 @@ export default defineConfig({
// make sure to externalize deps that shouldn't be bundled
// into your library
external: ['vue'],
plugins: [tsPlugin, copyPlugin],
plugins: [tsPlugin],
output: {
dir: './dist',
// Provide global variables to use in the UMD build
Expand Down

0 comments on commit 427fa5e

Please sign in to comment.