Skip to content

Commit

Permalink
Add global option to Parcel configuration
Browse files Browse the repository at this point in the history
ref #9
  • Loading branch information
LeBenLeBen committed Apr 3, 2019
1 parent 6f23032 commit f9b30fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/plugin-assets-bundler/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f9b30fe

Please sign in to comment.