Closed
Description
What happened?
When generating a production build, it appears that some Vue Devtools code is included in the build (due to VeeValidate). This is unexpected, as in production any devtools-related code should not be included (to decrease bundle size, etc). While the docs mention that the devtools are not installed in production builds, they still appear to be imported/included in bundle?
Reproduction steps
- Install and use
vee-validate
in a project - Install
rollup-plugin-visualizer
(configure withsourcemaps: true
) - Build for production
- Verify that
devtools-kit/dist/index.js
is included in build
Version
Vue.js 3.x and vee-validate 4.x
What browsers are you seeing the problem on?
- Firefox
- Chrome
- Safari
- Microsoft Edge
Relevant log output
No response
Demo link
Not reproducible in CodeSandbox (requires build environment)
Code of Conduct
- I agree to follow this project's Code of Conduct