Skip to content

Commit b2fc422

Browse files
committed
Restore backwards compatible build files
1 parent a2a852f commit b2fc422

File tree

3 files changed

+99
-4
lines changed

3 files changed

+99
-4
lines changed

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
tmp
44
node_modules
55
npm-debug.log
6-
dist
7-
!dist/gl-matrix.js
8-
!dist/gl-matrix.min.js
6+
dist/index.d.ts
7+
dist/LICENSE.md
8+
dist/package.json
9+
dist/README.md

package-lock.json

Lines changed: 94 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"build-umd": "rollup -c",
3434
"build-esm": "cross-env BABEL_ENV=esm babel src -d dist/esm",
3535
"build-cjs": "babel src -d dist/cjs",
36-
"build-dts": "tsc --allowJs --declaration --emitDeclarationOnly --module amd --outFile ./dist/index.d.ts ./src/index.js ./src/types.d.ts && node ./utils/bundle-dts.js && tsc --noEmit ./dist/index.d.ts",
36+
"build-dts": "tsc --allowJs --declaration --emitDeclarationOnly --module nodenext --outFile ./dist/index.d.ts ./src/index.js ./src/types.d.ts && node ./utils/bundle-dts.js && tsc --noEmit ./dist/index.d.ts",
3737
"build": "del dist && npm run update-license-version && npm run build-umd && npm run build-esm && npm run build-cjs && npm run build-dts && node ./utils/build.js",
3838
"prepare": "npm run build"
3939
},

0 commit comments

Comments
 (0)