Open
Description
As described in PR #902
This is a minor issue and shouldn't be a blocker, but it would be nice to address, so it’s worth exploring.
After switching to Subpath Import Aliases, we are currently required to explicitly include the filename in all our imports, even when an index.js
file is present. As a result, you may encounter imports like:
import slug from "#civicsignalblog/payload/fields/slug/index";
Instead of
import slug from "#civicsignalblog/payload/fields/slug";
It would be much better if we can find a clean and reusable way to automatically resolve index.js
file from our import paths.
Metadata
Metadata
Assignees
Type
Projects
Status
🆕 Icebox