Open soulofmischief opened 5 months ago
The imports field in package.json is ignored.
imports
package.json
Example:
"imports": { "#Assets/*": "./src/assets/*", "#Config": "./src/config.js", "#Lib": "./src/lib/index.js", "#Lib/*": "./src/lib/*", "#Models": "./src/models/index.js", "#Models/*": "./src/models/*", "#Styles/*": "./src/styles/*" }
Translating my imports map into tsconfig.json paths works as expected.
More information: https://nodejs.org/api/packages.html#subpath-imports
package.json imports are not currently supported, but they definitely should, I can take this.
The
imports
field inpackage.json
is ignored.Example:
Translating my imports map into tsconfig.json paths works as expected.
More information: https://nodejs.org/api/packages.html#subpath-imports