Implement rollup or browserify into the editor giving a “bundle” or “build” button when first clicked asks the developer to click the client side entry point, such as “src/main.js”, after that it will always build a “bundle.js” file into the “public” folder. A rollup implementation could also create a “bundle.css” in the “public” folder. This will improve client performance and lower the load on Glitch servers.
It should also default to minify and uglify the bundles.