We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
// index.tsx import Lazy1 from './proxy.tsx' import Lazy2 from './proxy2.tsx' console.log(Lazy1, Lazy2)
// proxy.tsx import React from 'react'; export default React.lazy(async () => { return import(/* makoChunkName: 'named' */ './lazy.tsx'); });
// proxy2.tsx import React from 'react'; export default React.lazy(async () => { return import('./lazy.tsx'); });
the project will generate
$ ls dist/*.js dist/index.js dist/lazy_tsx-async.js dist/named-async.js
contents of dist/lazy_tsx-async.js and dist/named-async.js are almost the same; lazy.tsx module is duplcated
lazy.tsx
lazy.tsx should not be duplicated.
The text was updated successfully, but these errors were encountered:
xusd320
No branches or pull requests
problem
the project will generate
$ ls dist/*.js dist/index.js dist/lazy_tsx-async.js dist/named-async.js
contents of dist/lazy_tsx-async.js and dist/named-async.js are almost the same;
lazy.tsx
module is duplcatedexpect
lazy.tsx
should not be duplicated.The text was updated successfully, but these errors were encountered: