Closed andyricchuiti closed 4 years ago
Currently on vacation, but if you put a sample into a gist or a GitHub repository, I'll take a look when I'm back next week :)
nice! i hope it goes well (or was good).
so. i have a repo, but while setting it up, i realized the problem was with me using .as
instead of .ts
I went ahead and uploaded the repo with the .as
if you still wanted to see it. https://github.com/andyricchuiti/as-test.
but if you change the file type to .ts
everything works great and is seemless! my guess is the compiler is now strict with the file type?
Yeah, that is the AssemblyScript compiler enforcing .ts
extension I think. Glad you figured it out :)
It has but this flag in another format, --extension .as
instead of --extension=.as
. Plugin enforcing the old version of AS even if you installed a new one. I created a quick fix for .as support #3 and updated version of AS but should we allow to pass any string to compiler and take AS that stored in your current repo? I can fix this but I don't have any feedback right now.
I'm super excited to try out assemblyscript in a project. thanks for building this plugin!
when i used this plugin to try the add example, I keep getting:
In the
file.as
I havein the
service.js
i have:The only thing that I'm not sure about is that I'm using @open-wc's rollup config, so my rollup config looks like:
I guess my main question is, am I missing something obvious on the plugin side of things?
Once again, thank you for building the plugin!