initial commit
This commit is contained in:
commit
ee8aedd857
1599 changed files with 652440 additions and 0 deletions
8
backend/node_modules/ts-node/child-loader.mjs
generated
vendored
Normal file
8
backend/node_modules/ts-node/child-loader.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import { fileURLToPath } from 'url';
|
||||
import { createRequire } from 'module';
|
||||
const require = createRequire(fileURLToPath(import.meta.url));
|
||||
|
||||
// TODO why use require() here? I think we can just `import`
|
||||
/** @type {import('./dist/child-loader')} */
|
||||
const childLoader = require('./dist/child/child-loader');
|
||||
export const { resolve, load, getFormat, transformSource } = childLoader;
|
||||
Loading…
Add table
Add a link
Reference in a new issue