bit.envs icon indicating copy to clipboard operation
bit.envs copied to clipboard

Configuring Vue Bundle

Open gorkamolero opened this issue 5 years ago • 1 comments

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

gorkamolero avatar Apr 29 '19 09:04 gorkamolero

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.

GiladShoham avatar Apr 29 '19 11:04 GiladShoham