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
The CJS tests are requiring modules at the top level which is different from dynamic requires. The tests should also cover dynamic requires.
https://github.com/GoogleChromeLabs/tooling.report/blob/dev/tests/importing-modules/subtests/commonjs/rollup/src/index.js
const cjs = require('./cjs'); console.log(cjs);
The proposed test for dynamic requires:
function main() { const cjs = require('./cjs'); console.log(cjs); }
The tool should code-split the lazy-loaded module similar to dynamic imports.
Dynamic requires are very important because the new ECMascript standard doesn't provide any way to synchronously lazy load a module.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The CJS tests are requiring modules at the top level which is different from dynamic requires. The tests should also cover dynamic requires.
https://github.com/GoogleChromeLabs/tooling.report/blob/dev/tests/importing-modules/subtests/commonjs/rollup/src/index.js
The proposed test for dynamic requires:
The tool should code-split the lazy-loaded module similar to dynamic imports.
Dynamic requires are very important because the new ECMascript standard doesn't provide any way to synchronously lazy load a module.
The text was updated successfully, but these errors were encountered: