bundlejs
bundlejs copied to clipboard
Add "eval" button to run the builded code
It would be nice to have "eval" button to run the builded code. Btw. May, "Run" button should be renamed to "Build"?
That's an interesting idea
I've renamed the "Run" button to "Build", it'll probs take me a bit before I get a fully functional "eval" up and running
Would you be ok with something like this?
- https://jsconsole.com/
- https://github.com/remy/jsconsole/
Browser console is always better, why don't you want to use it? imho there is no need to separate log view.
It looked cool and it worked on mobile (mobile isn't important but I think it's still good to try) that's why I was looking for how I would approach this, either way is fine for me.
I'm working on moving bundlejs to Astro, after that I'll add this as a feature
it worked on mobile
Very good point
This might happen in a couple weeks 😉
@artalar It's seeming really close, especially since the bundlejs API is out https://twitter.com/jsbundle/status/1634455567321255936?s=20
https://codepen.io/okikio/pen/LYJedgJ?editors=1010