Describe the bug
I added @vitejs/devtools, @vitejs/devtools-rolldown and @vitejs/devtools-vite to my vite project and enabled the Devtools vite plugin.
I now get a warning in the browser console:
Feature flags __VUE_OPTIONS_API__, __VUE_PROD_DEVTOOLS__, __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ are not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
For more details, see https://link.vuejs.org/feature-flags.
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-aech3iyq?file=package.json
System Info
System:
OS: Linux 5.0 undefined
CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 0 Bytes / 0 Bytes
Shell: 1.0 - /bin/jsh
Binaries:
Node: 22.22.3 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.8.2 - /usr/local/bin/npm
pnpm: 8.15.6 - /usr/local/bin/pnpm
Used Package Manager
npm
Validations
Describe the bug
I added
@vitejs/devtools,@vitejs/devtools-rolldownand@vitejs/devtools-viteto my vite project and enabled the Devtools vite plugin.I now get a warning in the browser console:
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-aech3iyq?file=package.json
System Info
System: OS: Linux 5.0 undefined CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 22.22.3 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 10.8.2 - /usr/local/bin/npm pnpm: 8.15.6 - /usr/local/bin/pnpmUsed Package Manager
npm
Validations