Skip to content

Commit

Permalink
fix: publish browser bundle (#506)
Browse files Browse the repository at this point in the history
For some unknown reason, we stopped publishing it in v2.0.1
  • Loading branch information
B4nan committed Feb 6, 2024
1 parent 1414470 commit 01f9fe1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package.json
Expand Up @@ -5,12 +5,15 @@
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"browser": "dist/bundle.js",
"unpkg": "dist/bundle.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
"types": "./dist/index.d.ts",
"browser": "./dist/bundle.js"
}
},
"keywords": [
Expand Down Expand Up @@ -42,8 +45,7 @@
"homepage": "https://docs.apify.com/api/client/js/",
"files": [
"dist",
"!dist/*.tsbuildinfo",
"!dist/bundle.js"
"!dist/*.tsbuildinfo"
],
"scripts": {
"build": "npm run clean && npm run build:node && npm run build:browser",
Expand Down

0 comments on commit 01f9fe1

Please sign in to comment.