Add some plugin to devDependencies (e.g. e2e-cypress, eslint, unit-jest, ...)
Remove node_modules
Run npm i --production
Try to build something.. it fails on loading dev - even if you add it in --skip-plugins
What is expected?
build should skip devDependencies
or --skip-plugins should skip loading this dependencies
What is actually happening?
build trying to load all dependencies (independently of skip-plugins)
devDependencies will be build into bundle file when using vue-cli-service build --target lib --name CustomComponent --filename custom-component lib/index.js
Version
4.2.2
Environment info
Steps to reproduce
Add some plugin to devDependencies (e.g. e2e-cypress, eslint, unit-jest, ...) Remove node_modules Run
npm i --production
Try to build something.. it fails on loading dev - even if you add it in --skip-pluginsWhat is expected?
build should skip devDependencies or --skip-plugins should skip loading this dependencies
What is actually happening?
build trying to load all dependencies (independently of skip-plugins)