rebuild the React App HTML report
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 621
- PR merge metrics
- No merged PRs in 30d
Description
Hi all! I'm trying to rebuild the React App report page (for customization), but an error occurs when running the command "npm run build-compare" . Tell me how you can solve the problem? Thank you!
root# cd /usr/local/lib/node_modules/backstopjs
root# npm run build-compare
> backstopjs@6.1.1 build-compare
> cp ./node_modules/diverged/src/diverged.js ./compare/output/ && cp ./node_modules/diff/dist/diff.js ./compare/output/ && webpack --config ./compare/webpack.config.js && npm run lint
assets by status 324 bytes [cached] 1 asset
./compare/src/index.js 279 bytes [built] [code generated] [1 error]
ERROR in ./compare/src/index.js 9:2
Module parse failed: Unexpected token (9:2)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| ReactDOM.render(
> <Provider store={store}>
| <App />
| </Provider>,

Contributor guide
Assessment
This issue has not been assessed yet.