Thanks for the wonderful CLI first!
I'm trying to build libraries with @vue/cli. I wanna know if it's possible to build a multi part library that can import sub-library directly like import subLib from 'my-lib/sub-lib'?
For now I can only build single file library with common and umd by using --target lib.
Maybe determine this from webpack entry?
you will have to run separate build commands for those sub libs, with a different entry and output path.
the build command has a --no-clean flag so that the other build commands won't remove the results of the previous ones.
If you want to go into more detail, please use forum.vuejs.org or chat.vuejs.org
Most helpful comment
you will have to run separate build commands for those sub libs, with a different entry and output path.
the
buildcommand has a--no-cleanflag so that the other build commands won't remove the results of the previous ones.If you want to go into more detail, please use forum.vuejs.org or chat.vuejs.org