test: read vendored shared source in container build
This commit is contained in:
@@ -3,7 +3,7 @@ import { readFile } from 'node:fs/promises'
|
||||
import test from 'node:test'
|
||||
import ts from 'typescript'
|
||||
|
||||
const source = await readFile(new URL('../../../../packages/shared/src/index.ts', import.meta.url), 'utf8')
|
||||
const source = await readFile(new URL('../../shared/src/index.ts', import.meta.url), 'utf8')
|
||||
const compiled = ts.transpileModule(source, {
|
||||
compilerOptions: { module: ts.ModuleKind.ESNext, target: ts.ScriptTarget.ES2022 },
|
||||
}).outputText
|
||||
|
||||
Reference in New Issue
Block a user