mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 23:53:13 +09:00
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:
1 parent
b814d8a400
commit
a17e9295e7
12 files changed
+24
-24
No files matched your search
@@ -7,8 +7,8 @@
|
||||
* @module lib/command
|
||||
*/
|
||||
"use strict";
|
||||
const libLink = require("@clusterio/lib/link");
|
||||
const libErrors = require("@clusterio/lib/errors");
|
||||
const libLink = require("./link");
|
||||
const libErrors = require("./errors");
|
||||
|
||||
/**
|
||||
* Represents a command that can be runned by clusterioctl
|
||||
|
||||
Reference in new issue
Block a user