3.0第一个产品库

This commit is contained in:
aixianling
2022-05-10 14:43:49 +08:00
parent 65fb4ac65b
commit 82535aff40
2 changed files with 10 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
import {createVuePlugin} from 'vite-plugin-vue2'
import {defineConfig} from "vite";
import * as path from "path";
export default defineConfig({
resolve: {
@@ -39,5 +40,11 @@ export default defineConfig({
watch: {
usePolling: true
}
},
build: {
lib: {
entry: path.resolve(__dirname, 'packages/index.js'),
name:"dvcp-vite-webapps"
}
}
})