From f9b30fe846c650dcdcd03936e3f1cde214715295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benoi=CC=82t=20Burgener?= Date: Wed, 3 Apr 2019 13:43:02 +0200 Subject: [PATCH] Add global option to Parcel configuration ref #9 --- packages/plugin-assets-bundler/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/plugin-assets-bundler/index.js b/packages/plugin-assets-bundler/index.js index dcc6240..f7e2180 100644 --- a/packages/plugin-assets-bundler/index.js +++ b/packages/plugin-assets-bundler/index.js @@ -60,7 +60,8 @@ module.exports = function(opts = {}) { logLevel: 3, publicUrl, hmrHostname: opts.hmrHostname || 'localhost', - hmr: app.mode === 'develop' ? opts.hmr !== false : false + hmr: app.mode === 'develop' ? opts.hmr !== false : false, + global: opts.global }); if (initial) {