You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flagon.apache.org by po...@apache.org on 2019/06/15 01:31:00 UTC

[incubator-flagon-useralejs] branch FLAGON-407 updated: [FLAGON-407] Added additional parameters to rollup-plugin-node-resolve

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 <po...@apache.org>
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) {