Eslint-plugin-import: `node-libs-browser` in `eslint-import-resolver-webpack`.

Created on 19 Oct 2016  路  5Comments  路  Source: benmosher/eslint-plugin-import

node-libs-browser does not seem to actually be used in eslint-import-resolver-webpack outside of being a list of node core modules. Could it be replaced with a list of node core modules?

help wanted resolvewebpack

All 5 comments

And I just realized that webpack requires this, anyway, so the dependency would be there either way. Apologies.

Webpack no longer depends on node-libs-browser. Perhaps we could re-open this discussion? The module in question is quite heavy and I think if Webpack is able to remove its dependency to it, then perhaps this plugin can do the same?

@benmosher webpack 5 no longer depends on this npm package. Can we re-open this conversation?

Sure, that seems reasonable.

At the moment, the best available list is in the resolve package; we should refactor to use that.

Even better, that part of resolve has now been split into its own package is-core-module. Submitted #1967 to use that.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thewilkybarkid picture thewilkybarkid  路  36Comments

msuntharesan picture msuntharesan  路  29Comments

kirill-konshin picture kirill-konshin  路  22Comments

steve-taylor picture steve-taylor  路  24Comments

JustFly1984 picture JustFly1984  路  41Comments