Skip to content

Commit b4768d7

Browse files
committed
chore: publish 0.0.2
1 parent f6f1dbf commit b4768d7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

vite.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import vueJsx from '@vitejs/plugin-vue-jsx'
55
export 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
}

0 commit comments

Comments
 (0)