Intent to prototype: Deferred Imports Evaluation

60 views
Skip to first unread message

Yoshi Cheng-Hao Huang

unread,
Nov 18, 2025, 5:01:14 AM (20 hours ago) Nov 18
to dev-pl...@mozilla.org
Summary:
`import defer` allows lazily evaluating ES modules, to reduce the performance impact of modules that are not actually needed from the startup.



Standards Body: ECMA

Platform coverage: ALL

Preferencejavascript.options.experimental.defer_import_eval

DevTools bug: n/a

Link to standards-positions discussion: n/a

Other browsers:

web-platform-tests: n/a, it is tested by test262
test262/language/import/import-defer

Nicolas Chevobbe

unread,
Nov 18, 2025, 8:06:52 AM (17 hours ago) Nov 18
to dev-pl...@mozilla.org, Yoshi Huang
Thanks Yoshi for working on this
Note that we do have a DevTools bug (https://bugzilla.mozilla.org/show_bug.cgi?id=1898549), to check that scripts using deferred imports can still be used properly in the Debugger
Reply all
Reply to author
Forward
0 new messages