Skip to content

Commit

Permalink
fixes cjs build
Browse files Browse the repository at this point in the history
  • Loading branch information
endel committed Mar 23, 2021
1 parent c02e999 commit ed55635
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
"README.md"
],
"browser": "dist/colyseus.js",
"main": "build/cjs/src/index.js",
"main": "build/cjs/index.js",
"module": "build/esm/index.mjs",
"typings": "lib/index.d.ts",
"exports": {
".": {
"browser": "./dist/colyseus.js",
"import": "./build/esm/index.mjs",
"require": "./build/cjs/src/index.js"
"require": "./build/cjs/index.js"
}
},
"keywords": [
Expand All @@ -50,7 +50,8 @@
"@colyseus/schema": "^1.0.16",
"httpie": "^2.0.0-next.13",
"nanoevents": "^5.1.12",
"notepack.io": "^2.1.3"
"notepack.io": "^2.1.3",
"tslib": "^2.1.0"
},
"devDependencies": {
"@rollup/plugin-alias": "^3.1.2",
Expand Down

0 comments on commit ed55635

Please sign in to comment.