teambit / bit.envs

DEPRECATED - Bit compilers and testers were moved to https://github.com/teambit/envs
https://bit.dev/bit/envs
Other
23 stars 9 forks source link

Configuring Vue Bundle #18

Open gorkamolero opened 5 years ago

gorkamolero commented 5 years ago

Hey guys!

First, thank you for all the hard work on your bundlers. I have a question regarding the Vue bundler, which I struggled with last week.

I would like to configure the loader so that my components, by default, import .scss utilities. I normally use style-resources-loader to always load that file and configure it in a vue.config.js file, but I seem unable to make it work on the bundler.

Could you point me to any ideas on how I could achieve this?

Thanks in advance

GiladShoham commented 5 years ago

Hi @gorkamolero The best way to achieve it is probably just to fork our vue bundler and modify it. You can read more here https://discourse.bit.dev/t/can-i-modify-a-build-test-environments/28

We are also working at the moment on a new architecture for bit envs which will allow you to pass configuration to the compilers/testers.