diff --git a/packages/editor/scripts/build.mjs b/packages/editor/scripts/build.mjs
index 88a5270c5..c276c5475 100755
--- a/packages/editor/scripts/build.mjs
+++ b/packages/editor/scripts/build.mjs
@@ -17,6 +17,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
+import "isomorphic-fetch";
import path from "path";
import fs from "fs";
import { langen } from "./langen.mjs";
diff --git a/packages/editor/scripts/langen.mjs b/packages/editor/scripts/langen.mjs
index 1a794bb02..62d54f82b 100644
--- a/packages/editor/scripts/langen.mjs
+++ b/packages/editor/scripts/langen.mjs
@@ -21,7 +21,7 @@ along with this program. If not, see .
* Quick & dirty script to download & transform all language details from
* the PrismJS repo.
*/
-import "isomorphic-fetch";
+
import fs from "fs";
import path from "path";