Skip to content

Commit

Permalink
Include dependencies in the global build
Browse files Browse the repository at this point in the history
Now, when the global file is included in a `<script>`, `window.can.ndjsonStream` will be available.
  • Loading branch information
chasenlehara authored and bgando committed Jul 11, 2017
1 parent 7fffdbb commit 80ff065
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@ stealTools.export({
outputs: {
"+cjs": {},
"+amd": {},
"+global-js": {}
"+standalone": {
exports: {
"can-namespace": "can"
}
}
}
}).catch(function(e){

setTimeout(function(){
throw e;
}, 1);

});

0 comments on commit 80ff065

Please sign in to comment.