Skip to content

Commit adefe37

Browse files
authored
Merge pull request #7243 from kibertoad/fix/exports
Add modern exports
2 parents 08813b9 + 5744434 commit adefe37

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@
1212
"types": "./types/phaser.d.ts",
1313
"browser": "./dist/phaser.js",
1414
"module": "./dist/phaser.esm.js",
15+
"exports": {
16+
".": {
17+
"types": "./types/phaser.d.ts",
18+
"import": "./dist/phaser.esm.js",
19+
"require": "./dist/phaser.js",
20+
"default": "./dist/phaser.esm.js"
21+
},
22+
"./package.json": "./package.json"
23+
},
1524
"repository": {
1625
"type": "git",
1726
"url": "https://phaserjs@github.com/phaserjs/phaser.git"

0 commit comments

Comments
 (0)