DEV Community

Discussion on: Modern Build in Nuxt.js

Collapse
simplenotezy profile image
Mattias Fjellvang

Interesting! Any way to run the analyzer with the "modern" option set? I'm curious what the difference will be.

Also, I am running a static generated site; would it be safe to simply set the "-m" flag on my deployment server, or do I need to test/make some changes before that?

Collapse
debs_obrien profile image
Debbie O'Brien Author

you can just set it on the deployment server. no need to do anything else. you can try running both commands in dev and see. never tried it to be honest. Here is some more info on how modern mode works
cli.vuejs.org/guide/browser-compat...