-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
feat: create esbuild bundle for embedded devices #3480
Conversation
Ref: 3473
Pull Request Test Coverage Report for Build 7182031986
💛 - Coveralls |
OK, I have a package building and working with these changes. Thanks! nxhack/openwrt-node-packages@bcd6acf Just a few nits... To build against the release tarball, I needed the patches to be against I also needed to change the And when the package build does its |
Humm insteresting... but what tarball are you donwloading? npm tarball? |
Yes: https://registry.npmjs.org/zwave-js-ui/-/zwave-js-ui-9.5.1.tgz Then I've applied your changes from commit 68326d6, changed to apply to server/bin/*.js as noted: nxhack/openwrt-node-packages@bcd6acf#diff-22a79582a1cde8962a6d14448ba53e73a6dd4cc77b75990f43304d12055a6e06 Then
Then, as I described above:
Finally, bundle it and create the symlink to the separately packaged serialport bindings:
Then the whole of the |
Would it help adding a flag like Done: f608a40 |
Or could we make it use server/bin/www.js unconditionally? Don't we always have to build |
https://janessagarrow.com/blog/typescript-and-esbuild/ seems to suggest that esbuild allows the |
@dwmw2 reason is that compiling against ts with source maps set to true allows me to have a better stack errors as they will point to ts lines, otherwise it might be difficult to debug things |
Don't you get that from the source maps anyway? |
Wrong, If I ship sourcemaps (with also the code inside |
Ref #3473