Skip to content

ContextReplacementPlugin is used to suppress critical dependency warnings caused by require.toUrl in buildModuleUrl#17

Open
ezze wants to merge 2 commits into
CesiumGS:mainfrom
ezze:suppress-webpack-require-warnings
Open

ContextReplacementPlugin is used to suppress critical dependency warnings caused by require.toUrl in buildModuleUrl#17
ezze wants to merge 2 commits into
CesiumGS:mainfrom
ezze:suppress-webpack-require-warnings

Conversation

@ezze

@ezze ezze commented May 20, 2020

Copy link
Copy Markdown

…ings caused by require.toUrl in buildModuleUrl.
@ezze

ezze commented May 20, 2020

Copy link
Copy Markdown
Author

Related issue in Cesium repo: CesiumGS/cesium#8401

@ezze

ezze commented May 20, 2020

Copy link
Copy Markdown
Author

If it's merged, probably, this tutorial should also be updated.

@puckey

puckey commented Jan 26, 2021

Copy link
Copy Markdown

Thanks for this PR @ezze – it solved the issues I was having.. I hope it gets merged at some point.

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

Successfully merging this pull request may close these issues.

Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

2 participants