File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-lazy-load-image-component" ,
3
- "version" : " 0.0.1 " ,
3
+ "version" : " 0.0.2 " ,
4
4
"description" : " vue-lazy-load-image-component" ,
5
5
"type" : " module" ,
6
6
"main" : " lib/index.js" ,
Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ import vueJsx from '@vitejs/plugin-vue-jsx'
5
5
export default defineConfig ( {
6
6
plugins : [ vueJsx ( ) ] ,
7
7
build : {
8
- // 打包css到lib文件夹
9
-
10
8
lib : {
11
9
entry : 'src/index.ts' ,
12
10
name : 'vue-lazy-load-image-component' ,
@@ -15,12 +13,14 @@ export default defineConfig({
15
13
} ,
16
14
17
15
rollupOptions : {
16
+ input :[ 'src/index.ts' , 'src/effects/index.css' ] ,
18
17
external : [ 'vue' ] ,
19
18
output : {
20
19
dir :'lib' ,
21
20
globals : {
22
21
vue : 'Vue'
23
- }
22
+ } ,
23
+ format : 'es'
24
24
}
25
25
}
26
26
}
You can’t perform that action at this time.
0 commit comments