Hi Josh, I was able to compile the library SWC-JS. I tested in a pure AS + MXML (pure Jewel + Base) and build without any errors. I inspect the SWC and everything was there.
Then I tested with a MX component (test code above) and I got and error: This tag could not be resolved to an ActionScript class. It will be ignored. <?xml version="1.0" encoding="UTF-8"?> <mx:HBox xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.apache.org/royale/spark" xmlns:mx="library://ns.apache.org/royale/mx"> </mx:HBox> Also VS Code highliight <mx:HBox with the error. There is something aditional to the asconfig.json for this case ? Thank you, Hugo. Hugo Ferreira <hferreira...@gmail.com> escreveu no dia sexta, 20/05/2022 à(s) 18:56: > Hi Josh, > > Exactly what I needed. > Thank you very much :) > > Josh Tynjala <joshtynj...@bowlerhat.dev> escreveu no dia sexta, > 20/05/2022 à(s) 17:46: > >> Here's a basic example asconfig.json for a JS SWC library that I found in >> one of my old projects: >> >> https://paste.apache.org/c0rsu >> >> -- >> Josh Tynjala >> Bowler Hat LLC <https://bowlerhat.dev> >> >> >> On Fri, May 20, 2022 at 2:05 AM Hugo Ferreira <hferreira...@gmail.com> >> wrote: >> >> > Hi, >> > >> > I'm usin VS Code to build Royale with a mxml starting point on >> > asconfi.json, template, etc, etc .... >> > But, how to use VS Code (in therms of the full asconfig.json) to build a >> > library: SWC-JS ? >> > Has anyone used it for this purpose? >> > >> >