eslint-import-resolver-webpack
Advanced tools
Comparing version
@@ -273,3 +273,3 @@ 'use strict'; | ||
'module', | ||
resolveConfig.modulesDirectories || resolveConfig.modules || ['web_modules', 'node_modules'], | ||
resolveConfig.modulesDirectories || resolveConfig.modules || ['web_modules', 'node_modules'] | ||
), | ||
@@ -281,7 +281,7 @@ makeRootPlugin(ModulesInRootPlugin, 'module', resolveConfig.fallback), | ||
'package.json', | ||
['module', 'jsnext:main'].concat(resolveConfig.packageMains || webpack1DefaultMains), | ||
['module', 'jsnext:main'].concat(resolveConfig.packageMains || webpack1DefaultMains) | ||
), | ||
new DirectoryDefaultFilePlugin(['index']), | ||
new FileAppendPlugin(resolveConfig.extensions || ['', '.webpack.js', '.web.js', '.js']), | ||
new ResultSymlinkPlugin(), | ||
new ResultSymlinkPlugin() | ||
); | ||
@@ -424,3 +424,3 @@ | ||
const maybePath = path.resolve( | ||
path.join(packageDir, 'webpack.config' + maybeExtension), | ||
path.join(packageDir, 'webpack.config' + maybeExtension) | ||
); | ||
@@ -427,0 +427,0 @@ if (fs.existsSync(maybePath)) { |
{ | ||
"name": "eslint-import-resolver-webpack", | ||
"version": "0.13.3", | ||
"version": "0.13.4", | ||
"description": "Resolve paths to dependencies, given a webpack.config.js. Plugin for eslint-plugin-import.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
20142
-0.02%