Merge pull request #984 from Hornwitser/migrate-to-esm

Migrate to ESM
This commit is contained in:
Cooldude2606 authored and GitHub committed 2026-09-11 23:14:50 +01:00
commit 2aee5379b5
262 files changed
+1161 -1367

No files matched your search

+3 -4
View File
@@ -1,8 +1,7 @@
"use strict";
const assert = require("assert").strict;
import assert from "node:assert/strict";
const lib = require("@clusterio/lib");
const mock = require("../mock");
import * as lib from "@clusterio/lib";
import * as mock from "../mock.js";
const addr = lib.Address.fromShorthand;