Skip to content

Commit

Permalink
merge master -> CodeTroopers-master
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Aug 11, 2017
2 parents 0e1293d + 8d5224b commit 17b2c49
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/cli/multiple-configs/_config.js
@@ -0,0 +1,4 @@
module.exports = {
description: 'generates output file when multiple configurations are specified and one build fails',
command: 'rollup -c'
};
5 changes: 5 additions & 0 deletions test/cli/multiple-configs/_expected/bundle1.js
@@ -0,0 +1,5 @@
'use strict';

var main = 0;

module.exports = main;
1 change: 1 addition & 0 deletions test/cli/multiple-configs/main.js
@@ -0,0 +1 @@
export default 0;
14 changes: 14 additions & 0 deletions test/cli/multiple-configs/rollup.config.js
@@ -0,0 +1,14 @@
export default [{
entry: 'main.js',
format: 'cjs',
dest: '_actual/bundle1.js'
}, {
entry: 'main.js',
format: 'cjs',
plugins: [{
resolveId(id) {
throw new Error("Unexpected Exception");
}
}],
dest: '_actual/bundle2.js'
}];

0 comments on commit 17b2c49

Please sign in to comment.