Skip to content

Commit

Permalink
Add bundle for cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
parsagholipour committed Oct 1, 2022
1 parent 2600fcd commit b120e58
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
File renamed without changes.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "sharee",
"private": false,
"version": "1.0.6",
"browser": "./dist/sharee.min.js",
"main": "./dist/build.js",
"module": "./dist/build.js",
"types": "./src/lib/main.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default defineConfig({
},
rollupOptions: {
input: {
'sharee.js': resolve(__dirname, 'src/build.ts'),
'sharee': resolve(__dirname, 'src/build.ts'),
'sharee-vue.js': resolve(__dirname, 'src/vue/Sharee.vue'),
'sharee-react.js': resolve(__dirname, 'src/react/Sharee.tsx')
},
Expand Down

0 comments on commit b120e58

Please sign in to comment.