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

Unable to Setup React For PROD #461

Closed
jared-leddy opened this issue Oct 31, 2022 · 1 comment
Closed

Unable to Setup React For PROD #461

jared-leddy opened this issue Oct 31, 2022 · 1 comment

Comments

@jared-leddy
Copy link

Trying to use the React Dev Tools browser extension, but we're having problems starting up the dev server with the production build. Which prevents us from being able to use the browser extension.

We've tried lots of different solutions, but a simple example is below.

// craco.config.cjs
webpack: {
  configure: {
      resolve: {
        alias: {
          'react-dom$': 'react-dom/profiling'
        }
     }
  }
}
@jared-leddy
Copy link
Author

We've abandoned CRACO. Closing this.

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

No branches or pull requests

1 participant