Build error when using importSync in a classic build with v2
As part of our app's migration towards embroider we're making use of @embroider/macros's importSync with a classic build.
This was working fine until we upgraded ember-auto-import from v1 to v2, when we started running into the following build error:
Build Error (WebpackBundler)
ember-auto-import is unable to handle ember-auto-import-import-sync-issue/components/nested/
I've created a minimal reproduction here: https://github.com/grayt0r/ember-auto-import-import-sync-issue (with this particular commit containing the component using importSync).
While trying to find any relevant existing issues I did come across this issue in the embroider repo, but as we're still using a classic build I was expecting a fully-qualified path to work.
Am I mistakenly expecting this to work? Or is this a bug?
cc @simonihmig as I spotted you added the importSync support to v2.
3 years later, we're Embroidered, you can close this issue now. Thanks