3.0第一个产品库
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user