fix(bundles): remove polyfills from angular2.js bundle

BREAKING CHANGE:

Previously `angular2.js`, `angular2.min.js` and `angular2.dev.js` bundles
would have zone.js and reflect-metadata pre-appended. New bundles don't
contain zone.js nor reflect-metadata - those external dependencies can
be easily loaded into a browser using `angular2-polyfills.js`

Closes #5881
This commit is contained in:
Pawel Kozlowski
2015-12-14 17:29:56 +01:00
parent 0f8e40bb42
commit 2983558e5e
3 changed files with 9 additions and 5 deletions

View File

@ -16,6 +16,7 @@
}
});
</script>
<script src="/bundle/angular2-polyfills.js"></script>
<script src="/bundle/angular2.dev.js"></script>
<script src="/bundle/http.js"></script>
<script src="/bundle/router.dev.js"></script>

View File

@ -17,6 +17,7 @@
}
});
</script>
<script src="/bundle/angular2-polyfills.js"></script>
<script src="/bundle/angular2.dev.js"></script>
<script>
var filename = '@@PATH/@@FILENAME';