refactor: convert /backend to ESM
This commit is contained in:
parent
31d74c05aa
commit
5772e27cda
766 changed files with 3473 additions and 3500 deletions
|
@ -1,10 +1,10 @@
|
|||
// KEEP THIS AS FIRST IMPORT
|
||||
// See comment in module for details
|
||||
import "../threadsSignalFix";
|
||||
import "../threadsSignalFix.js";
|
||||
|
||||
import { connect } from "../data/db";
|
||||
import { env } from "../env";
|
||||
import { setIsAPI } from "../globals";
|
||||
import { connect } from "../data/db.js";
|
||||
import { env } from "../env.js";
|
||||
import { setIsAPI } from "../globals.js";
|
||||
|
||||
if (!env.KEY) {
|
||||
// tslint:disable-next-line:no-console
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue