You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When re-walking the parent modules in order to perform tree-shaking,
account for the fact that there might be non-ES modules in the
tree.
Previously we were detecting non-ES modules in the "first pass" but not
latter passes that occur when more modules start being imported with
mutual dependencies.
Closes#1477
When re-walking the parent modules in order to perform tree-shaking,
account for the fact that there might be non-ES modules in the
tree.
Previously we were detecting non-ES modules in the "first pass" but not
latter passes that occur when more modules start being imported with
mutual dependencies.
Closes#1477
Assuming an imported file
helpers/helpers.js
that includes a handfull of imports like so:In a stache file, use
can-import
to import the helpers fileWhen loading that stache file the following error will occur.
This error occurs at
steal/src/extension-tree-shaking.js
Line 106 in 2488567
parentImportNames
(parentLoad.metadata.importNames
) is undefined.A work around for this is to name the imports.
The text was updated successfully, but these errors were encountered: