ES6 modules early experience
Pre-release
Pre-release
JdeH
released this
09 Apr 10:21
·
32 commits
to modules
since this release
Docs not yet adapted.
All of the shipment tests should run correctly.
Take a look at the html files of the demo to see how modules are used by them.
To install:
-
Add the directory containing run_transcrypt.bat to the system path (search path) of your OS
-
On the command line, use:
run_transcrypt -b demo (SO NO . py EXTENSION !!)
rather than:
run_transcrypt -b demo.py (As used to be the case)
This is because the main module can now also be a JS-only module.
The compiler just looks what's there.