devtools icon indicating copy to clipboard operation
devtools copied to clipboard

"eval" warning during production build

Open TechAkayy opened this issue 2 years ago • 1 comments

Vue devtools version

6.5.0

Link to minimal reproduction

https://github.com/TechAkayy/happy-paws-with-nuxt3

Steps to reproduce & screenshots

Note, this is a nuxt project, and devtools is added as a nuxt plugin under the plugins folder (flagged for development mode only)

npm install npm build

Check console, there are numerous eval warning.

image

What is expected?

No eval warnings should be consoled during production build as devtools is flagged only for development.

What is actually happening?

Numerous eval warning appear. This is troublesome especially when the build process is part of a CI/CD process that picks and fails on such warnings.

System Info

System:
    OS: macOS 12.6.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 627.38 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.12.1 - ~/.nvm/versions/node/v18.12.1/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.19.2 - ~/.nvm/versions/node/v18.12.1/bin/npm
  Browsers:
    Chrome: 111.0.5563.64
    Chrome Canary: 113.0.5653.0
    Safari: 15.6.1

Any additional comments?

No response

TechAkayy avatar Mar 15 '23 23:03 TechAkayy