From 9098380a903d8b88ddd4b2391da0c3b243ecd178 Mon Sep 17 00:00:00 2001 From: devel-pa Date: Fri, 30 Sep 2016 21:24:01 +0200 Subject: [PATCH] Put out of the way require polyfill. --- lib/unbuild.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/unbuild.js b/lib/unbuild.js index 67f1f2a9..d81c3389 100644 --- a/lib/unbuild.js +++ b/lib/unbuild.js @@ -77,6 +77,7 @@ var undent = function(code, n){ rm('./src'); mk('./src'); + mk('./src/polyfill'); mk('./src/adapters'); var gun = read('gun.js'); @@ -84,7 +85,7 @@ var undent = function(code, n){ code = next("/* UNBUILD */"); - write('src/unbuild.js', undent(code, 1)); + write('src/polyfill/unbuild.js', undent(code, 1)); (function recurse(c){ code = next(";require(function(module){", "})(require");