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 00:02:59 UTC
[incubator-flagon-useralejs] 01/01: [FLAGON-407] added
rollup-plugin-node-resolve to deal with Jenkins CI problems
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
commit 42c9971c1143e42a10edae796c2886d2f4745491
Author: poorejc <po...@apache.org>
AuthorDate: Fri Jun 14 20:02:43 2019 -0400
[FLAGON-407] added rollup-plugin-node-resolve to deal with Jenkins CI problems
---
gulpfile.js | 13 +++++++++----
package.json | 3 ++-
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/gulpfile.js b/gulpfile.js
index 42b7753..bc5f4c8 100755
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -30,6 +30,7 @@ var jsonModify = require('gulp-json-modify');
var filter = require('gulp-filter');
var pump = require('pump');
var replace = require('gulp-replace');
+var resolve = require('rollup-plugin-node-resolve')
var version = require('./package.json').version;
var uglifyjs = require('uglify-es');
var userale = 'userale-' + version;
@@ -62,7 +63,8 @@ gulp.task('rollup', function() {
'limitations under the License.' +
'\n@preserved'
}),
- json()
+ json(),
+ resolve()
]
})
.then(function(bundle) {
@@ -80,7 +82,8 @@ gulp.task('rollup-web-ext-content', function() {
return rollup({
input : 'src/' + userAleWebExtDirName + '/content.js',
plugins : [
- json()
+ json(),
+ resolve()
]
})
.then(function(bundle) {
@@ -97,7 +100,8 @@ gulp.task('rollup-web-ext-background', function() {
return rollup({
input : 'src/' + userAleWebExtDirName + '/background.js',
plugins : [
- json()
+ json(),
+ resolve()
]
})
.then(function(bundle) {
@@ -114,7 +118,8 @@ gulp.task('rollup-web-ext-options', function() {
return rollup({
input : 'src/' + userAleWebExtDirName + '/options.js',
plugins : [
- json()
+ json(),
+ resolve()
]
})
.then(function(bundle) {
diff --git a/package.json b/package.json
index 66e2f17..c6385cf 100755
--- a/package.json
+++ b/package.json
@@ -56,8 +56,9 @@
"nodemon": "^1.9.2",
"rollup": "^1.15.5",
"rollup-plugin-json": "^4.0.0",
- "sinon": "^1.17.6",
"rollup-plugin-license": "^0.9.0",
+ "rollup-plugin-node-resolve": "^5.0.2",
+ "sinon": "^1.17.6",
"uglify-es": "^3.3.9",
"composer": "^4.1.0",
"pump": "^3.0.0"