vuejs / vue-cli

🛠️ webpack-based tooling for Vue.js Development
https://cli.vuejs.org/
MIT License
29.76k stars 6.33k forks source link

Some folders are ignored when building or compiling. #7062

Closed John-Soul closed 2 years ago

John-Soul commented 2 years ago

What problem does this feature solve?

For example. I have three projects in one main folder. they use main folder some code, layout, style, components etc. views/projectA | views/projectB | views/projectC entry file in themself folder. I will input npm run dev -- --project A compile the projectA. compile the projectB or projectC use same way. This method save my ssd space and maintenance time.

But the more project in the "views" folder, It will be slow. I hope vue-cli have a method, other folders are ignored when building or compiling.

What does the proposed API look like?

ignore: ['@/src/views/projectB', '@/src/views/projectC']

LinusBorg commented 2 years ago

https://github.com/vuejs/vue-cli#status