Skip to content

Modernization #809

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from
Prev Previous commit
Next Next commit
add commonjs format build for node
  • Loading branch information
tq-xyy committed Jan 29, 2023
commit d7bf91816e08409779877724b1e9f4d49b76ff40
14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@
"engines": {
"node": ">=8.0.0"
},
"main": "./src/index.js",
"main": "./dist/gpu-node.js",
"exports": {
".": {
"require": "./dist/gpu-node.js",
"import": "./dist/gpu-node.esm.js",
"types": "./src/index.d.ts",
"node": "./dist/gpu-node.js"
}
},
"files": [
"src",
"dist"
Expand All @@ -30,13 +38,13 @@
"@rollup/plugin-terser": "^0.4.0",
"benchmark": "^2.1.4",
"c8": "^7.12.0",
"esno": "^0.16.3",
"prettier": "^2.8.3",
"qunit": "^2.9.1",
"read-dir-deep": "^7.0.1",
"rollup": "^3.12.0",
"sinon": "^7.3.2",
"vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^2.0.0"
"source-map-support": "^0.5.21"
},
"scripts": {
"test": "qunit test/issues test/internal test/features",
Expand Down
Loading