Use common JS for stuff imported by eslint

This commit is contained in:
Jordan Eldredge 2019-09-28 15:09:07 -07:00
parent 2e21057b94
commit 36762dcbab
2 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
import std from "./std.json";
const std = require("./std.json");
// Between myself and the author of the decompiler, a number of manual tweaks
// have been made to our current object definitions. This function recreates
@ -30,4 +30,4 @@ std.B4DCCFFF81FE4bcc961B720FD5BE0FFF.functions.push({
result: "Int",
});
export default std;
module.exports = std;

View file

@ -1,6 +1,6 @@
import stdPatched from "./objectData/stdPatched";
import pldir from "./objectData/pldir.json";
import config from "./objectData/config.json";
const stdPatched = require("./objectData/stdPatched");
const pldir = require("./objectData/pldir.json");
const config = require("./objectData/config.json");
const objects = { ...stdPatched, ...pldir, ...config };