mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 15:14:52 +09:00
Move the majority of the script files into a src directory to be consistent with the organisation of the other packages.
10 lines
314 B
JavaScript
10 lines
314 B
JavaScript
/* eslint-disable node/global-require */
|
|
"use strict";
|
|
// eslint-disable-next-line node/no-process-env
|
|
if (process.env.APP_ENV === "browser") {
|
|
// eslint-disable-next-line node/no-extraneous-require
|
|
module.exports = require("fast-deep-equal/es6");
|
|
} else {
|
|
module.exports = require("util").isDeepStrictEqual;
|
|
}
|