Right now, the module migrator always includes a @use and/or @forward rule with the exact URL of each @import rule, even if that URL has an import-only file that doesn't forward the regular file.
While a @use rule with a new URL is added, and the namespacing is correct, the @import "old"; is also migrated to a @use, which is wrong, since the import-only file for old old forwards new.
Right now, the module migrator always includes a
@use
and/or@forward
rule with the exact URL of each@import
rule, even if that URL has an import-only file that doesn't forward the regular file.e.g.
Right now, the entrypoint would be migrated to:
While a
@use
rule with a new URL is added, and the namespacing is correct, the@import "old";
is also migrated to a@use
, which is wrong, since the import-only file forold
old forwardsnew
.