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

Export Webpack Configuration File #571

Open
alecmerdler opened this issue Jul 14, 2021 · 1 comment
Open

Export Webpack Configuration File #571

alecmerdler opened this issue Jul 14, 2021 · 1 comment

Comments

@alecmerdler
Copy link

In order to add Cypress component testing to a project, I need access to the webpack.config.js file. There is effectively no way to "eject" a React app generated using nwb (to use create-react-app terminology).

The FAQ tells you how to set the debug flag to view the generated Webpack configuration, but it renders the runtime representation (aka console.log) which contains things like [Function] and cannot be copied. It might be possible for me to re-create the Webpack config file by diving into the nwb codebase, but nwb should be able to simply write out the config file being used so it can be require()-d by other tools.

@mexomagno
Copy link

Hi @alecmerdler! I'm facing the exact same problem 1.5 years after you.
Were you able to find an alternative way of hooking up Cypress component testing to nwb?

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

2 participants