Skip to content

Commit 9b919d9

Browse files
committed
Update the unpkg build target
1 parent be4b563 commit 9b919d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646
"build": "npm-run-all clean build:*",
4747
"build:bundle": "microbundle -f modern,esm,cjs --no-compress src/{json,msgpack}.ts --generateTypes false",
4848
"build:types": "tsc --emitDeclarationOnly",
49-
"build:unpkg": "microbundle -f iife src/unpkg.ts -o dist/obs-ws.min.js --external none --generateTypes false",
49+
"build:unpkg": "microbundle -f iife src/unpkg.ts -o dist/obs-ws.min.cjs --external none --generateTypes false",
5050
"clean": "rimraf dist",
51-
"dev": "npm run build:bundle -- --watch",
51+
"dev": "npm run build:bundle --watch",
5252
"generate:obs-types": "node --loader=ts-node/esm scripts/build-types.ts",
5353
"lint": "eslint . --ext .cjs,.js,.ts",
5454
"prepare": "npm run build",

0 commit comments

Comments
 (0)