A
A
Anikav2019-03-21 10:19:33
webpack
Anikav, 2019-03-21 10:19:33

Why does vue-cli bandit fonts and images from a component into a final file?

Hello.
The first time I use vue-cli and single-file components in vue.js, before that I just connected vue.js to the page and wrote all the code there.
In general, I like everything, but for some reason, if I write <style>fonts (I use stylus) and images in the section, they seem to be added directly to the final css files encoded in base64. I don't need this at all.
I believe this is done by webpack, which is somehow configured by default for projects created through vue-cli.
How to make sure that fonts and images are not sucked into the final css?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question