diff --git a/index.js b/index.js index e35d296..91021fb 100644 --- a/index.js +++ b/index.js @@ -47,7 +47,7 @@ export function runASTAnalysis( return { ...source.getResult(isMinified), dependencies: source.dependencies, - isOneLineRequire: body.length <= 1 && (source.dependencies.size <= 1 || isOneLineExpressionExport(body)) + isOneLineRequire: source.dependencies.size <= 1 || isOneLineExpressionExport(body) }; }