From 0153bcf4352aded72ca2bf97d776ae47d1b2772b Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Fri, 31 Mar 2017 16:39:12 +0100 Subject: [PATCH] build: update rollup (#3478) This PR also pins `rollup-plugin-node-resolve`, which was causing CI to fail. --- public/docs/_examples/cb-aot-compiler/ts/rollup-config.js | 2 -- public/docs/_examples/package.json | 6 +++--- public/docs/_examples/toh-6/ts/rollup-config.js | 2 -- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/public/docs/_examples/cb-aot-compiler/ts/rollup-config.js b/public/docs/_examples/cb-aot-compiler/ts/rollup-config.js index 0c9088fe54..1cd25515ba 100644 --- a/public/docs/_examples/cb-aot-compiler/ts/rollup-config.js +++ b/public/docs/_examples/cb-aot-compiler/ts/rollup-config.js @@ -15,8 +15,6 @@ export default { // should intercept ... but doesn't in some rollup versions if ( warning.code === 'THIS_IS_UNDEFINED' ) { return; } - // intercepts in some rollup versions - if ( warning.indexOf("The 'this' keyword is equivalent to 'undefined'") > -1 ) { return; } // console.warn everything else console.warn( warning.message ); diff --git a/public/docs/_examples/package.json b/public/docs/_examples/package.json index 155a738fe3..41dc5e5b56 100644 --- a/public/docs/_examples/package.json +++ b/public/docs/_examples/package.json @@ -72,9 +72,9 @@ "protractor": "~4.0.14", "raw-loader": "^0.5.1", "rimraf": "^2.5.4", - "rollup": "^0.36.0", - "rollup-plugin-commonjs": "^4.1.0", - "rollup-plugin-node-resolve": "^2.0.0", + "rollup": "^0.41.6", + "rollup-plugin-commonjs": "^8.0.2", + "rollup-plugin-node-resolve": "2.0.0", "rollup-plugin-uglify": "^1.0.1", "source-map-explorer": "^1.3.2", "style-loader": "^0.13.1", diff --git a/public/docs/_examples/toh-6/ts/rollup-config.js b/public/docs/_examples/toh-6/ts/rollup-config.js index d5d07e07e5..5689edcff4 100644 --- a/public/docs/_examples/toh-6/ts/rollup-config.js +++ b/public/docs/_examples/toh-6/ts/rollup-config.js @@ -16,8 +16,6 @@ export default { // should intercept ... but doesn't in some rollup versions if ( warning.code === 'THIS_IS_UNDEFINED' ) { return; } - // intercepts in some rollup versions - if ( warning.indexOf("The 'this' keyword is equivalent to 'undefined'") > -1 ) { return; } // console.warn everything else console.warn( warning.message );