build: update rollup (#3478)
This PR also pins `rollup-plugin-node-resolve`, which was causing CI to fail.
This commit is contained in:
parent
86628ebabf
commit
0153bcf435
|
@ -15,8 +15,6 @@ export default {
|
||||||
|
|
||||||
// should intercept ... but doesn't in some rollup versions
|
// should intercept ... but doesn't in some rollup versions
|
||||||
if ( warning.code === 'THIS_IS_UNDEFINED' ) { return; }
|
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 everything else
|
||||||
console.warn( warning.message );
|
console.warn( warning.message );
|
||||||
|
|
|
@ -72,9 +72,9 @@
|
||||||
"protractor": "~4.0.14",
|
"protractor": "~4.0.14",
|
||||||
"raw-loader": "^0.5.1",
|
"raw-loader": "^0.5.1",
|
||||||
"rimraf": "^2.5.4",
|
"rimraf": "^2.5.4",
|
||||||
"rollup": "^0.36.0",
|
"rollup": "^0.41.6",
|
||||||
"rollup-plugin-commonjs": "^4.1.0",
|
"rollup-plugin-commonjs": "^8.0.2",
|
||||||
"rollup-plugin-node-resolve": "^2.0.0",
|
"rollup-plugin-node-resolve": "2.0.0",
|
||||||
"rollup-plugin-uglify": "^1.0.1",
|
"rollup-plugin-uglify": "^1.0.1",
|
||||||
"source-map-explorer": "^1.3.2",
|
"source-map-explorer": "^1.3.2",
|
||||||
"style-loader": "^0.13.1",
|
"style-loader": "^0.13.1",
|
||||||
|
|
|
@ -16,8 +16,6 @@ export default {
|
||||||
|
|
||||||
// should intercept ... but doesn't in some rollup versions
|
// should intercept ... but doesn't in some rollup versions
|
||||||
if ( warning.code === 'THIS_IS_UNDEFINED' ) { return; }
|
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 everything else
|
||||||
console.warn( warning.message );
|
console.warn( warning.message );
|
||||||
|
|
Loading…
Reference in New Issue