jsimck / jsconfig.json

Small tool which automatically generates jsconfig.json, used for vscode workspace configuration, with some defaults and extracted webpack path aliases.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Support for "imports" field in "package.json" for "node" template

GabenGar opened this issue · comments

Node has its own way to set path aliases now, so it would be nice if the package would read them too like it does with webpack template.

Hi, thanks for the input, sounds like a great addition, I'll definitely have a look at that when as soon as I have a chance.

I've just released v2.2.0, which implements support for node imports field. There's support only for the subpath patterns (strings). Let me know if this is what you had in mind. Personally I didn't have a chance to used this option yet... but hopefully read the documentation right.