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

using this module with create-react-app #7

Open
bayoumymac opened this issue Oct 10, 2018 · 1 comment
Open

using this module with create-react-app #7

bayoumymac opened this issue Oct 10, 2018 · 1 comment

Comments

@bayoumymac
Copy link

anyone used this module with create react app and if so can you post the steps to necessary to make it work

@devlin-Smith
Copy link

I'm trying to use it on react-boiler-plate 3.5.0 (this doesn't have the latest webpack) but am having some issues with the generated files.
To get it started with the build in config files, I added a run script for npm in the package.json

"buildwithstats": "cross-env NODE_ENV=production webpack --config internals/webpack/webpack.prod.babel.js --color -p --progress --display-optimization-bailout --json > stats.json"

Running this, I did get the missing moduleId error mentioned here, but once I applied the workaround I still get further errors in the generated files. After the stats.json file is created and this package begins "writing files to statsgraph" (as it says in the console output), I get the following error:
\statsgraph\graph.dot: syntax error in line 1614 near '/'

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