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

migueloller picture migueloller  路  3Comments

tamlyn picture tamlyn  路  3Comments

pahan35 picture pahan35  路  3Comments

daltonamitchell picture daltonamitchell  路  3Comments

benmosher picture benmosher  路  3Comments