diff --git a/packages/templates/node.js-compiler-next/src/main.ts b/packages/templates/node.js-compiler-next/src/main.ts index e2772202..e3b8320b 100644 --- a/packages/templates/node.js-compiler-next/src/main.ts +++ b/packages/templates/node.js-compiler-next/src/main.ts @@ -2,7 +2,10 @@ import * as _1 from '@myriaddreamin/typst-ts-renderer'; import * as _2 from '@myriaddreamin/typst-ts-web-compiler'; -import { createTypstCompiler, createTypstRenderer } from '@myriaddreamin/typst.ts'; +import { + createTypstCompiler, + createTypstRenderer, +} from '@myriaddreamin/typst.ts/dist/cjs/index.cjs'; import { cachedFontInitOptions } from './cached-font-middleware'; async function main() {