# rollup --config rollup.config.js
(node:2833) Warning: To load an ES module, set "type": "module" in the
package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
[!] RollupError: Node tried to load your configuration file as CommonJS
even though it is likely an ES module. To resolve this, change the
extension of your configuration to ".mjs", set "type": "module" in your
package.json file or pass the "--bundleConfigAsCjs" flag.
Version mismatch between browser and selenium driver breaks the tests.
The Webdriver manager automatically ensures the compatibility by
downloading the right driver for the installed browser.
After a package update, transcrypt produces incomplete JS:
__target__/OOMAnalyser.js (147:15)
145: }
146: if (cols_to_strip) {
147: var line = ;
^
148: }
149: if (line.startswith ('kernel:')) {
instead of
146 if (cols_to_strip) {
147 var line = __getitem__ ((function () {
148 var __accu0__ = line;
149 return __call__ (__accu0__.py_split, __accu0__, ' ', cols_to_strip);
150 }) (), __neg__ (1));
151 }
152 if (line.startswith ('kernel:')) {
A temporary pinning of Transcrypt to Python 3.7 solves this issue.
The Python string formatting mini language isn't enabled by default.
"{}".format(42) works fine but "{0:x}.format(42)" returns "{0:x}"
instead of "2a" if the mini language isn't enabled.
Transcrypt 3.7 generates multiple JS files in __target__ directory. All
output files will be bundled into one single file with the rollup
module bundler (rollup.js). Unfortunately the information of the
original sourcemap file will be lost.