Skip to content

Commit

Permalink
fix(core.umd.js): ship ES5 compatible UMD file
Browse files Browse the repository at this point in the history
The UMD file was not ES5 compatible.

Fixes #783

BREAKING CHANGE:
The files under `/esm` are ES5 (before: ES2015) based with ES2015 modules.
In the real world, this should not cause troubles.
  • Loading branch information
sebholstein committed Dec 16, 2016
1 parent 0f93e39 commit c81a15f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/release/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The sources for this package are in the [angular2-google-maps](https://github.co
This package contains different sources for different users:

1. The files located in the root dir are ES5 compatible files that can be consumed using CommonJS.
2. The files under `/esm` are ES6 compatible files that can be transpiled to E5 using any transpiler.
2. The files under `/esm` are ES5 based with ES2015 modules.
3. The files under `/ts` are the TypeScript source files.
4. Files with the name pattern *.umd.js are UMD bundled modules for fast load times during development.

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.es2015.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "es2015",
"target": "es2015",
"target": "es5",
"noImplicitAny": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
Expand Down

0 comments on commit c81a15f

Please sign in to comment.