Skip to content

ReferenceError: __VUE_PROD_DEVTOOLS__ is not definedΒ #1250

@gimler

Description

@gimler

i get an error when i build for production Uncaught ReferenceError: __VUE_PROD_DEVTOOLS__ is not defined

my workaround:

const DefinePlugin = require('webpack/lib/DefinePlugin')

Encore
...
.addPlugin(
    new DefinePlugin({
      __VUE_PROD_DEVTOOLS__: JSON.stringify(false)
    })
  )

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions