Skip to content

Commit

Permalink
fix: remove browser from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
magic-akari committed Mar 21, 2023
1 parent dd7f92f commit e5c0748
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@
"packageManager": "pnpm@7.28.0",
"type": "module",
"main": "./lib/bundle.umd.cjs",
"browser": "./lib/browser.min.js",
"module": "./lib/index.js",
"unpkg": "./lib/browser.min.js",
"jsdelivr": "./lib/browser.min.js",
"exports": {
".": {
"require": {
Expand All @@ -54,7 +55,8 @@
},
"default": "./lib/bundle.umd.cjs"
},
"./package.json": "./package.json"
"./package.json": "./package.json",
"./lib/*": "./lib/*"
},
"types": "lib/index.d.ts",
"sideEffects": false,
Expand Down
1 change: 1 addition & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const rollupOptions = {
format: "iife",
sourcemap: true,
plugins: [terser()],
footer: `if(typeof module==="object")module.exports=seamless;`,
},
],
};
Expand Down

0 comments on commit e5c0748

Please sign in to comment.