You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried looking around, couldn't find anything on it, hopefully I didn't miss a discussion on it or an "issue".
I've seen a lot of exciting work on the compile command from cross compiling to bundling with a "lite" version of the runtime.
I was wondering any thoughts on adding the ability to bundle other files/assets as well? Along the lines of pkg for node, but implemented like how pyinstaller does it to where it's not an extra lib, but something within the runtime itself and it's just a flag to include the contents of a folder or if it's not a folder full to include individual files?
For me, I would like to bundle all my files for my webview app into one executable for deployment, especially if I have to use ABC due to CORs restrictions. If CORs isn't an issue, I have just been doing all my html/css/js in the main.js that deno runs, so it is the file that gets compiled and any assets that I use (image assets) are embedded SVGs. Being able to bundle it all together allows for a more modular approach without having to remember to include everything at the end within the one js file that gets bundled in the compilation process.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I tried looking around, couldn't find anything on it, hopefully I didn't miss a discussion on it or an "issue".
I've seen a lot of exciting work on the compile command from cross compiling to bundling with a "lite" version of the runtime.
I was wondering any thoughts on adding the ability to bundle other files/assets as well? Along the lines of pkg for node, but implemented like how pyinstaller does it to where it's not an extra lib, but something within the runtime itself and it's just a flag to include the contents of a folder or if it's not a folder full to include individual files?
For me, I would like to bundle all my files for my webview app into one executable for deployment, especially if I have to use ABC due to CORs restrictions. If CORs isn't an issue, I have just been doing all my html/css/js in the main.js that deno runs, so it is the file that gets compiled and any assets that I use (image assets) are embedded SVGs. Being able to bundle it all together allows for a more modular approach without having to remember to include everything at the end within the one js file that gets bundled in the compilation process.
Doable? Silly? Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions