-
Notifications
You must be signed in to change notification settings - Fork 195
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
chore: Upgrade ocular-dev-tools to tsc+esbuild #2897
Conversation
Suggestions for testing local build:
|
Both these tests fail. Also WASM loading seems to fail in CI, but not locally. |
@@ -44,8 +44,9 @@ | |||
"fs": false | |||
}, | |||
"scripts": { | |||
"pre-build": "npm run build-worker && npm run build-bundle && npm run build-bundle -- --env=dev && npm run build-triangulation-worker", | |||
"build-bundle": "ocular-bundle ./src/index.ts", | |||
"pre-build": "npm run build-worker && npm run build-bundle && npm run build-bundle-dev && npm run build-triangulation-worker", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be prepublishOnly
everywhere? Or good to stick with pre-build
? Efficient, but a bit uncanny that some builds only happen on publish.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some packages require pre-build to run (copy of libs, build workers etc.)
7ac292f
to
2d26c46
Compare
This upgrade brings a massive 10x performance increase for our builds.
@belom88 @dsavinov-actionengine