Skip to content

Commit eee2274

Browse files
authored
Explicitly include files in the NPM package (playcanvas#2907)
1 parent e2e87fa commit eee2274

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

.npmignore

Lines changed: 0 additions & 9 deletions
This file was deleted.

package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,20 @@
3535
"examples/lib/*",
3636
"src/polyfill/*"
3737
],
38+
"files": [
39+
"build/playcanvas.js",
40+
"build/playcanvas.min.js",
41+
"build/playcanvas.mjs",
42+
"build/playcanvas.dbg.js",
43+
"build/playcanvas.prf.js",
44+
"build/playcanvas.d.ts",
45+
"build/playcanvas-extras.js",
46+
"index.d.ts",
47+
"LICENSE",
48+
"package.json",
49+
"README.md",
50+
"README-zh.md"
51+
],
3852
"devDependencies": {
3953
"@babel/core": "7.12.13",
4054
"@babel/plugin-proposal-class-properties": "7.12.13",

0 commit comments

Comments
 (0)