Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Commit

Permalink
add test case for bundle subtractions
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Sep 17, 2015
1 parent 189a31b commit d2e7878
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/fixtures/test-tree/amd-8.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"deps ./amd-meta-dep.js";
if (!window.meta)
define(function() {
return window.meta;
});
3 changes: 2 additions & 1 deletion test/test-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ function doTests(transpiler) {
})

.then(function() {
return builder.bundle('cjs-globals.js', 'test/output/cjs-globals.js');
builder.loader.config({ paths: { 'output/*': './test/output/*' } });
return builder.bundle('cjs-globals.js - output/amd-8.js', 'test/output/cjs-globals.js');
})

.then(function() {
Expand Down

0 comments on commit d2e7878

Please sign in to comment.