From 8204feadaa708e98e7025bd57e49443cdaede5bf Mon Sep 17 00:00:00 2001 From: Jared Allard Date: Fri, 20 Mar 2015 22:08:31 -0700 Subject: [PATCH] Add 'readline' not include rule. For some reason nexe attempts to include readline, this solves it. readline is a bultin of node as of 10 --- lib/bundle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bundle.js b/lib/bundle.js index e4dc08e..64dd201 100644 --- a/lib/bundle.js +++ b/lib/bundle.js @@ -61,7 +61,7 @@ function bundle (input, complete) { }, filter: function (id) { - if ([ 'nexeres', 'sys' ].indexOf(id) > -1) { return false; } + if ([ 'nexeres', 'sys', 'readline' ].indexOf(id) > -1) { return false; } return !~builtins.indexOf(id); }, extensions: [ '.js', '.json' ],