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
The autocomplete component consumes the TextField component and renames TextFiel to BaseTextField. When the compiler runs and isolates it in the capsule the link file is trying to import BaseTextField from TextField - but this export doesn't exist. It's a rename that autocomplete does.
qballer
changed the title
link generation breaks when trying to import X as Y syntax
link generation breaks when trying to use import X as Y syntax
Nov 17, 2019
Describe the bug
Here is a fork for polaris-react - https://github.com/qballer/polaris
The autocomplete component consumes the TextField component and renames TextFiel to BaseTextField. When the compiler runs and isolates it in the capsule the link file is trying to import BaseTextField from TextField - but this export doesn't exist. It's a rename that autocomplete does.
Steps to Reproduce
rm -rf /tmp/bit
DEBUG=true bit build autocomplete
----wait---
Expected Behavior
Link generation should export the original exports from the component and not the renamed text.
Specifications
bit version : 14.4.3
node version : v12.3.1
npm version : 6.12.0
yarn version : 1.16.0
platform : linux
The text was updated successfully, but these errors were encountered: