Only real code changes are in Scene.js
line 27:
this.onEnter = globals.require(this.sceneConfig.onEnter); -> this.onEnter = globals.require(this.sceneConfig.onEnter).default;
line 30:
this.onExit = globals.require(this.sceneConfig.onExit); -> this.onExit = globals.require(this.sceneConfig.onExit).default;
line 100:
var script = this.globals.require(system.name); -> var script = this.globals.require(system.name).default;
everything else is linting formatting, updating packages and changing to module from commonjs.
Only real code changes are in Scene.js line 27:
this.onEnter = globals.require(this.sceneConfig.onEnter);
->this.onEnter = globals.require(this.sceneConfig.onEnter).default;
line 30:this.onExit = globals.require(this.sceneConfig.onExit);
->this.onExit = globals.require(this.sceneConfig.onExit).default;
line 100:var script = this.globals.require(system.name);
->var script = this.globals.require(system.name).default;
everything else is linting formatting, updating packages and changing to module from commonjs.