File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 77 "types" : " lib/index.d.ts" ,
88 "exports" : {
99 "." : " ./lib/index.js" ,
10- "./lib/index .css" : " ./lib/index .css"
10+ "./lib/style .css" : " ./lib/style .css"
1111 },
1212 "scripts" : {
1313 "dev" : " vite" ,
Original file line number Diff line number Diff line change @@ -27,21 +27,19 @@ export default defineConfig({
2727 lib : {
2828 entry : [ 'src/index.ts' ] ,
2929 name : 'vue-lazy-load-image-component' ,
30- fileName : 'index' ,
30+ fileName : ( ) => 'index.js ' ,
3131 formats : [ 'es' ] ,
3232 } ,
3333
3434 rollupOptions : {
35- // input: ['src/index.ts']
36- input : { index : 'src/index.ts' } ,
35+ input : [ 'src/index.ts' ] ,
3736 external : [ 'vue' ] ,
3837 output : {
3938 dir : 'lib' ,
4039 globals : {
4140 vue : 'Vue' ,
4241 } ,
4342 format : 'es' ,
44- assetFileNames : 'index.[ext]' ,
4543 } ,
4644 } ,
4745 } ,
You can’t perform that action at this time.
0 commit comments