mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 19:11:32 +03:00
90c00b6db9
This reverts commit 4868f6e611
.
12 lines
263 B
JavaScript
12 lines
263 B
JavaScript
import { create, createEsmHooks } from 'ts-node';
|
|
|
|
const service = create({
|
|
experimentalSpecifierResolution: 'node',
|
|
transpileOnly: true,
|
|
logError: true,
|
|
skipProject: true,
|
|
});
|
|
const hooks = createEsmHooks(service);
|
|
|
|
export const resolve = hooks.resolve;
|