All file imports change from commonjs to es-module

This commit is contained in:
2022-08-22 23:03:19 +02:00
parent 628ed52012
commit ce45ed7b7f
94 changed files with 410 additions and 372 deletions

View File

@@ -1,5 +1,5 @@
const path = require("path");
const Field = require("./field");
import path from "path";
import Field from "./field";
let instance = null;
@@ -45,4 +45,4 @@ class Config {
}
}
module.exports = Config;
export default Config;