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}, ... ]