You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In any new project with Vue-CLI v4 if you run the below command:
vue-cli-service build --mode dev --target lib --name cv --watch
What is expected?
No duplicate these lines while building or watch and combine all together
What is actually happening?
It will show 3 lines of DONE Compiled or if you make a change it shows WAIT Compiling... 3 times and then individual output for each lib file that it is generating
It causes huge lines of logs that makes the output very dirty
Activity
LinusBorg commentedon Feb 26, 2020
Well, it triggers three builds: one for each format of umd, umd.min and commonjs.
Since you likely only use one of those during development, you could run this:
aryaroudi commentedon Feb 26, 2020
Hey @LinusBorg But it wouldn't be great that these lines get merge together? for example, 3 times showing the warnings isn't very convenient 😕
LinusBorg commentedon Feb 26, 2020
You build 3 files, you should know that the build failed for each of those.
Keeping them together where possible might be nicer, but be a lot of added complexity that I don'T feel is worth it.
If you or someone else comes up with a clever proposal how to do it though, wee can consider it.