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 intoCesiumGS: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 intoCesiumGS:mainfrom
ezze:suppress-webpack-require-warnings

Conversation

@ezze
Copy link

@ezze ezze commented May 20, 2020

…ings caused by require.toUrl in buildModuleUrl.
@ezze
Copy link
Author

ezze commented May 20, 2020

Related issue in Cesium repo: CesiumGS/cesium#8401

@ezze
Copy link
Author

ezze commented May 20, 2020

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

@puckey
Copy link

puckey commented Jan 26, 2021

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