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 7
7
"types" : " lib/index.d.ts" ,
8
8
"exports" : {
9
9
"." : " ./lib/index.js" ,
10
- "./lib/index .css" : " ./lib/index .css"
10
+ "./lib/style .css" : " ./lib/style .css"
11
11
},
12
12
"scripts" : {
13
13
"dev" : " vite" ,
Original file line number Diff line number Diff line change @@ -27,21 +27,19 @@ export default defineConfig({
27
27
lib : {
28
28
entry : [ 'src/index.ts' ] ,
29
29
name : 'vue-lazy-load-image-component' ,
30
- fileName : 'index' ,
30
+ fileName : ( ) => 'index.js ' ,
31
31
formats : [ 'es' ] ,
32
32
} ,
33
33
34
34
rollupOptions : {
35
- // input: ['src/index.ts']
36
- input : { index : 'src/index.ts' } ,
35
+ input : [ 'src/index.ts' ] ,
37
36
external : [ 'vue' ] ,
38
37
output : {
39
38
dir : 'lib' ,
40
39
globals : {
41
40
vue : 'Vue' ,
42
41
} ,
43
42
format : 'es' ,
44
- assetFileNames : 'index.[ext]' ,
45
43
} ,
46
44
} ,
47
45
} ,
You can’t perform that action at this time.
0 commit comments