Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] switch webpack to development mode when use "--debug" #734

Closed
Mister-Hope opened this issue Mar 1, 2022 Discussed in #530 · 2 comments
Closed

[Feature request] switch webpack to development mode when use "--debug" #734

Mister-Hope opened this issue Mar 1, 2022 Discussed in #530 · 2 comments

Comments

@Mister-Hope
Copy link
Member

Discussed in #530

Originally posted by huww98 November 16, 2021
Hi all, today I spent hours trying to debug the client-side error "Hydration completed but contains mismatches". To view the warnings from vue, I ended up adding the following to my config:

  bundlerConfig: {
    configureWebpack(config, isServer, isBuild) {
      return { mode: 'development' };
    }
  },

How about we can simplify this by enabling the development mode by default when invoked as yarn build --debug

@github-actions
Copy link

github-actions bot commented Mar 9, 2022

This issue is marked as stale because it has not had recent activity. Issues marked with stale will be closed if they have no activity within 3 days.

@meteorlxy
Copy link
Member

I'd ever considered about that, but you know that, --debug and development mode are slightly different. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants