Skip to content

Commit

Permalink
version: 2.0.0-beta.8
Browse files Browse the repository at this point in the history
  • Loading branch information
gk-shi committed Aug 1, 2024
1 parent 383c165 commit 7422bd0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "v3-waterfall",
"version": "2.0.0-beta.7",
"version": "2.0.0-beta.8",
"private": false,
"type": "module",
"main": "./dist/v3-waterfall.umd.cjs",
"main": "./dist/v3-waterfall.umd.js",
"module": "./dist/v3-waterfall.js",
"types": "./dist/typings/index.d.ts",
"exports": {
"./dist/style.css": "./dist/style.css",
".": {
"import": "./dist/v3-waterfall.js",
"require": "./dist/v3-waterfall.umd.cjs",
"require": "./dist/v3-waterfall.umd.js",
"types": "./dist/typings/index.d.ts"
}
},
Expand Down
6 changes: 5 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ let buildConfig: BuildOptions = {
copyPublicDir: false,
lib: {
entry: path.resolve(__dirname, 'lib/index.ts'),
name: 'V3Waterfall'
name: 'V3Waterfall',
fileName: format => {
if (format === 'umd') return `v3-waterfall.${format}.js`
return 'v3-waterfall.js'
}
},
rollupOptions: {
external: ['vue'],
Expand Down

0 comments on commit 7422bd0

Please sign in to comment.