You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally reported at vuejs/devtools-v6#1932
As my comment on the issue, it's not a big issue as most users would use the esm-bundler version, which could be correctly tree-shaken.
But this issue still indicates that something might be wrong in vue-router's rollup config.
The text was updated successfully, but these errors were encountered:
Version
4.1.3
Reproduction link
unpkg.com
Steps to reproduce
Cmd + F, search for
require('@vue/devtools-api')
on the pageWhat is expected?
The
require
statement should be tree-shaken away from the bundle, because non of its exports are used in the prod bundle ofvue-router
, and the package is ofsideEffects: false
:https://github.com/vuejs/devtools/blob/ba54bb770a829429226a630dd5dbedcf596f27ef/packages/api/package.json#L9
What is actually happening?
It remains in the CJS prod bundle
Originally reported at vuejs/devtools-v6#1932
As my comment on the issue, it's not a big issue as most users would use the
esm-bundler
version, which could be correctly tree-shaken.But this issue still indicates that something might be wrong in
vue-router
's rollup config.The text was updated successfully, but these errors were encountered: