Use relative imports in lib

Use relative imports in lib to avoid an issue with webpack thinking
absolute imports inside @clusterio/lib are for a separate module and
giving out warnings for it being missing in package.json.
This commit is contained in:
Hornwitser committed 2021-03-07 15:14:38 +01:00
1 parent b814d8a400
commit a17e9295e7
12 files changed
+24 -24

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
*/
"use strict";
const libErrors = require("@clusterio/lib/errors");
const libErrors = require("./errors");
const path = require("path");