Skip to content

build: warning about Vue esm-bundler flags #4463

Open
@justinmk3

Description

@justinmk3

Problem

When I debug the extension using the Extension launch config, the debug console shows this Vue warning:

Feature flags __VUE_OPTIONS_API__, __VUE_PROD_DEVTOOLS__ 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.

Expected behavior

Our build should set these flags so that (1) to avoid future confusion/noise about the purpose of the warning, and (2) to gain any potential performance benefits, if possible. Or confirm that we don't need to set these flags and that our build is already optimized.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions