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:
@ -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);
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user