@@ -270,18 +270,18 @@ function createWebpack1ResolveSync(webpackRequire, resolveConfig, plugins) {
270
270
makeRootPlugin ( ModulesInRootPlugin , 'module' , resolveConfig . root ) ,
271
271
new ModulesInDirectoriesPlugin (
272
272
'module' ,
273
- resolveConfig . modulesDirectories || resolveConfig . modules || [ 'web_modules' , 'node_modules' ] ,
273
+ resolveConfig . modulesDirectories || resolveConfig . modules || [ 'web_modules' , 'node_modules' ]
274
274
) ,
275
275
makeRootPlugin ( ModulesInRootPlugin , 'module' , resolveConfig . fallback ) ,
276
276
new ModuleAsFilePlugin ( 'module' ) ,
277
277
new ModuleAsDirectoryPlugin ( 'module' ) ,
278
278
new DirectoryDescriptionFilePlugin (
279
279
'package.json' ,
280
- [ 'module' , 'jsnext:main' ] . concat ( resolveConfig . packageMains || webpack1DefaultMains ) ,
280
+ [ 'module' , 'jsnext:main' ] . concat ( resolveConfig . packageMains || webpack1DefaultMains )
281
281
) ,
282
282
new DirectoryDefaultFilePlugin ( [ 'index' ] ) ,
283
283
new FileAppendPlugin ( resolveConfig . extensions || [ '' , '.webpack.js' , '.web.js' , '.js' ] ) ,
284
- new ResultSymlinkPlugin ( ) ,
284
+ new ResultSymlinkPlugin ( )
285
285
) ;
286
286
287
287
const resolvePlugins = [ ] ;
@@ -419,7 +419,7 @@ function findConfigPath(configPath, packageDir) {
419
419
}
420
420
421
421
const maybePath = path . resolve (
422
- path . join ( packageDir , 'webpack.config' + maybeExtension ) ,
422
+ path . join ( packageDir , 'webpack.config' + maybeExtension )
423
423
) ;
424
424
if ( fs . existsSync ( maybePath ) ) {
425
425
configPath = maybePath ;
0 commit comments