jsweet icon indicating copy to clipboard operation
jsweet copied to clipboard

JSweet live sandox: add options (target ES version, bundle, download project...)

Open neuronsupport opened this issue 3 years ago • 7 comments

Is there way to compare the ES6 based transpiler option?

neuronsupport avatar Oct 16 '20 08:10 neuronsupport

Thanks for suggesting sandbox improvments. That would be awesome but it's clearly low priority.

lgrignon avatar Oct 17 '20 15:10 lgrignon

Sandbox has been upgraded to latest JSweet version

lgrignon avatar Jan 06 '21 12:01 lgrignon

I didnt want to open a new issue, but is it possible to covert a Java library which has all the classes supported by JSweet to Javascript ES6 Library with JSweet with dynamically loadable classes? I was going to test that with online sandbox.

neuronsupport avatar Jan 15 '21 13:01 neuronsupport

Sorry, I am not sure I understand your question perfectly. What do you mean exactly by

  1. "has all the classes supported by JSweet"
  2. "dynamically loadable classes" ?

Thanks for those additional details.

lgrignon avatar Jan 23 '21 18:01 lgrignon

"dynamically loadable classes"

I was talking about basically ES6 imports and exports.

neuronsupport avatar Jan 24 '21 20:01 neuronsupport

It's possible yes. There is no explicit example of this unfortunately. All of our candies use bundle mode. I will help you to package a candy with modules if you want, so we can publish a proper example. I recommend you not to use the sandbox for such a need though.

Could you please open a dedicated issue for your actual need please, and give some additional details (link to the code, versions, dependencies etc)? We will continue on this.

Thanks

lgrignon avatar Jan 25 '21 07:01 lgrignon

Thanks for your response. I do not plan to use sandbox for this. All I wanted to see if it were doable for not. I will try to build it myself. if I fail to do so, then I will open a dedicated issue for this.

thanks again.

neuronsupport avatar Jan 25 '21 16:01 neuronsupport