Files
meteor/packages/coffeescript/tests/es2015_module.js
Geoffrey Booth 12472cfe7a CoffeeScript now supports ES2015 modules (#7818)
* Update CoffeeScript to 1.11.0, which supports modules; update check for whether to pass CoffeeScript’s output to Babel to look not just for backticks, but also for `import`, `export` and `function*`, the current ESNext features output by CoffeeScript

* Add tests for imported modules using CoffeeScript’s new native import statement

* Test that CoffeeScript native export statements work, by importing something exported by such a statement

* Improve regex

* Optimize regex
2016-09-28 09:36:53 -04:00

3 lines
110 B
JavaScript

export const testingForImportedModule123456789 = true;
export const testingForImportedModule987654321 = true;