This is an automated email from the ASF dual-hosted git repository.

poorejc pushed a commit to branch FLAGON-407
in repository https://gitbox.apache.org/repos/asf/incubator-flagon-useralejs.git


The following commit(s) were added to refs/heads/FLAGON-407 by this push:
     new 8da1c95  [FLAGON-407] Added additional parameters to 
rollup-plugin-node-resolve
8da1c95 is described below

commit 8da1c95487fcd791e3a6a93ebdc9427461264afe
Author: poorejc <[email protected]>
AuthorDate: Fri Jun 14 21:30:37 2019 -0400

    [FLAGON-407] Added additional parameters to rollup-plugin-node-resolve
---
 gulpfile.js | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/gulpfile.js b/gulpfile.js
index bc5f4c8..7199fe6 100755
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -83,7 +83,10 @@ gulp.task('rollup-web-ext-content', function() {
     input : 'src/' + userAleWebExtDirName + '/content.js',
     plugins : [
       json(),
-      resolve()
+      resolve({
+        browser: true,
+        preferBuiltins: false
+      })
     ]
   })
   .then(function(bundle) {
@@ -101,7 +104,10 @@ gulp.task('rollup-web-ext-background', function() {
     input : 'src/' + userAleWebExtDirName + '/background.js',
     plugins : [
       json(),
-      resolve()
+      resolve({
+        browser: true,
+        preferBuiltins: false
+      })
     ]
   })
   .then(function(bundle) {
@@ -119,7 +125,10 @@ gulp.task('rollup-web-ext-options', function() {
     input : 'src/' + userAleWebExtDirName + '/options.js',
     plugins : [
       json(),
-      resolve()
+      resolve({
+        browser: true,
+        preferBuiltins: false
+      })
     ]
   })
   .then(function(bundle) {

Reply via email to