chore(build): rename .es6 files to .js

Change es6 source files in npm distribution to use .js extensions.

Closes #2447
This commit is contained in:
Rob Wormald
2015-06-10 00:02:37 -07:00
committed by Rado Kirov
parent 6cafaba993
commit 796fc66771
7 changed files with 11 additions and 15 deletions

View File

@ -34,7 +34,7 @@ describe('sourcemaps', function() {
var originalPosition = decoder.originalPositionFor({line: errorLine, column: errorColumn});
var finalMapData = fs.readFileSync('dist/js/prod/es6/examples/src/sourcemap/index.es6.map');
var finalMapData = fs.readFileSync('dist/js/prod/es6/examples/src/sourcemap/index.js.map');
var finalDecoder = new sourceMap.SourceMapConsumer(JSON.parse(finalMapData));
var finalPosition = finalDecoder.originalPositionFor(originalPosition);

View File

@ -3,7 +3,7 @@
A run-time type assertion library for JavaScript.
Designed to be used with [Traceur](https://github.com/google/traceur-compiler).
All sources are in ES6 format and have the suffix `.es6`. They don't depend on any runtime
All sources are in ES6 format. They don't depend on any runtime
and can be used by any modern ES6 -> ES5 transpiler.
As a convenience, we provide you with `es5build.js`, a script to transpile the sources into es5