teambit / envs

Component development environments for the Bit community
https://bit.dev/bit/envs
Other
63 stars 9 forks source link

Implement StencilJS compiler #137

Open jdnichollsc opened 4 years ago

jdnichollsc commented 4 years ago

Description

Add support for Stencil compiler

Describe the solution you'd like

Be able to create web components by using Stencil

Describe alternatives you've considered

Nothing, I want to create web components that I can reuse from any project

Additional context

Be able to create components like this https://github.com/proyecto26/animatable-component from bit

Thanks in advance!

itaymendel commented 4 years ago

Hi! have you tried using this one - https://bit.dev/bit/envs/compilers/stencil

jdnichollsc commented 4 years ago

Do yo know if we can use TypeScript files instead?

itaymendel commented 4 years ago

Stencil support TS, so you should be fine using it. plus it was tested with TS :)

jdnichollsc commented 4 years ago

Let me try, thanks

jdnichollsc commented 4 years ago

I'm getting errors "Failed to compile":

./src/App/index.js
Module not found: Can't resolve '@bit/proyecto26.animatable.animatable-component' in '/capsule/src/App'

Link: https://bit.dev/proyecto26/animatable/animatable-component

jdnichollsc commented 4 years ago

This is the repo of the project: https://github.com/proyecto26/animatable-component What do you think? Thanks for your help!

JoshK2 commented 3 years ago

Hi @jdnichollsc , we released a new version of Bit and the Stencil compiler. Please try with Bit version 14.8.8, and Stencil compiler version 0.0.32 https://bit.dev/bit/envs/compilers/stencil/?version=0.0.32

Let me know if it's working fine for you!