-
Notifications
You must be signed in to change notification settings - Fork 471
Closed
Description
A few more points to consider include:
-
Destructuring assignment for dynamic import of value
It is said that modern bundlers perform tree-shaking for expressions likelet {forEach} = ...If possible, it might be worth generating JavaScript output likevar {forEach} = ... -
The current implementation uses the module_system to find the
path:stringcorresponding to the module_id, but it does not consider cases when there are multiple module_systems. Also, within theJs_name_of_module_id.string_of_module_idfunction,Js_packages_state.get_packages_info ()is being used. The same function was used in the place where Pimport was compiled.
Metadata
Metadata
Assignees
Labels
No labels