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 11{
22 "name" : " vue-lazy-load-image-component" ,
3- "version" : " 0.0.1 " ,
3+ "version" : " 0.0.2 " ,
44 "description" : " vue-lazy-load-image-component" ,
55 "type" : " module" ,
66 "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'
55export default defineConfig ( {
66 plugins : [ vueJsx ( ) ] ,
77 build : {
8- // 打包css到lib文件夹
9-
108 lib : {
119 entry : 'src/index.ts' ,
1210 name : 'vue-lazy-load-image-component' ,
@@ -15,12 +13,14 @@ export default defineConfig({
1513 } ,
1614
1715 rollupOptions : {
16+ input :[ 'src/index.ts' , 'src/effects/index.css' ] ,
1817 external : [ 'vue' ] ,
1918 output : {
2019 dir :'lib' ,
2120 globals : {
2221 vue : 'Vue'
23- }
22+ } ,
23+ format : 'es'
2424 }
2525 }
2626 }
You can’t perform that action at this time.
0 commit comments