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

support webpack5 #234

Open
olabala opened this issue Jul 9, 2021 · 0 comments
Open

support webpack5 #234

olabala opened this issue Jul 9, 2021 · 0 comments

Comments

@olabala
Copy link

olabala commented Jul 9, 2021

I'm using react-virtualized which uses this plugin,
and when I tried to migrate to webpack 5 from webpack 4, got this error.

Error: Cannot get final name for export 'babelPluginFlowReactPropTypes_proptype_AnimationTimeoutId' of ./node_modules/react-virtualized/dist/es/utils/requestAnimationTimeout.js
while generating the root export 'babelPluginFlowReactPropTypes_proptype_AnimationTimeoutId' (used name: 'rM')
    at getFinalBinding (/Users/xx/Desktop/xx/chat/node_modules/webpack/lib/optimize/ConcatenatedModule.js:467:10)
    at getFinalName (/Users/xx/Desktop/xx/chat/node_modules/webpack/lib/optimize/ConcatenatedModule.js:523:18)
    at /Users/xx/Desktop/xx/chat/node_modules/webpack/lib/optimize/ConcatenatedModule.js:1387:24
    at ConcatenatedModule.codeGeneration (/Users/xx/Desktop/xx/chat/node_modules/webpack/lib/optimize/ConcatenatedModule.js:1435:7)
    at /Users/xx/Desktop/xx/chat/node_modules/webpack/lib/Compilation.js:2727:22
    at /Users/xx/Desktop/xx/chat/node_modules/webpack/lib/Cache.js:93:5
    at Hook.eval [as callAsync] (eval at create (/Users/xx/Desktop/xx/chat/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Cache.get (/Users/xx/Desktop/xx/chat/node_modules/webpack/lib/Cache.js:75:18)
    at ItemCacheFacade.get (/Users/xx/Desktop/xx/chat/node_modules/webpack/lib/CacheFacade.js:117:15)
    at Compilation._codeGenerationModule (/Users/xx/Desktop/xx/chat/node_modules/webpack/lib/Compilation.js:2720:9)
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

1 participant