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

ignore @substrate/connect source map WARNING #5

Open
2nthony opened this issue Oct 14, 2022 · 0 comments
Open

ignore @substrate/connect source map WARNING #5

2nthony opened this issue Oct 14, 2022 · 0 comments

Comments

@2nthony
Copy link
Contributor

2nthony commented Oct 14, 2022

solution

disable sourcemap

"start": "GENERATE_SOURCEMAP=false react-scripts start",

or set it to .env

see https://create-react-app.dev/docs/advanced-configuration/

reason

@substrate/connect may did not provide .map files for webpack sourcemap analyzer.

dependency relationship

"@polkadot#api#@polkadot#rpc-provider#@substrate#connect"

@2nthony 2nthony pinned this issue Oct 14, 2022
@2nthony 2nthony changed the title @substrate/connect source map WARNING ignore @substrate/connect source map WARNING Oct 14, 2022
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

1 participant