(
inputFiles: string[],
opts: NativeCompileOptions = {}
)
| 115 | } |
| 116 | |
| 117 | export function compileWithNative( |
| 118 | inputFiles: string[], |
| 119 | opts: NativeCompileOptions = {} |
| 120 | ): string { |
| 121 | const native = loadNative() |
| 122 | return native.compile(inputFiles, { |
| 123 | ast: opts.ast, |
| 124 | format: opts.format, |
| 125 | followLinks: opts.followLinks, |
| 126 | ignoreTag: opts.ignoreTag, |
| 127 | pseudoLocale: opts.pseudoLocale, |
| 128 | skipErrors: opts.skipErrors, |
| 129 | }) |
| 130 | } |
| 131 | |
| 132 | export function compileMessagesWithNative( |
| 133 | messages: NativeCompileMessage[], |
no test coverage detected