From 8993e44bde757b2ee7e16877251d04c46268e74a Mon Sep 17 00:00:00 2001 From: blocka Date: Sun, 26 Jul 2015 12:01:52 -0400 Subject: [PATCH] Allow passing in the paths option --- lib/build-bundle.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/build-bundle.js b/lib/build-bundle.js index bdb1f3d..d5ef356 100644 --- a/lib/build-bundle.js +++ b/lib/build-bundle.js @@ -15,7 +15,8 @@ function compile(path, options) { debug: options.debug, standalone: options.standalone || false, cache: options.cache === 'dynamic' ? {} : undefined, - packageCache: options.cache === 'dynamic' ? {} : undefined + packageCache: options.cache === 'dynamic' ? {} : undefined, + paths: options.paths ? options.paths : undefined }); if (options.plugins) { var plugins = options.plugins; // in the format options.plugins = [{plugin: plugin, options: options}, {plugin: plugin, options: options}, ... ]