Support for Javascript modules looks like it is in-progress: https://github.com/playcanvas/engine/issues/4767
Developing offline with the engine-only (https://github.com/playcanvas/engine) is obviously an option, but I wouldn't hold your breath for an offline editor.