(
inputFiles: readonly string[],
opts: NativeExtractOptions = {}
)
| 143 | } |
| 144 | |
| 145 | export function extractWithNative( |
| 146 | inputFiles: readonly string[], |
| 147 | opts: NativeExtractOptions = {} |
| 148 | ): string { |
| 149 | const native = loadNative() |
| 150 | return native.extract([...inputFiles], { |
| 151 | additionalComponentNames: opts.additionalComponentNames, |
| 152 | additionalFunctionNames: opts.additionalFunctionNames, |
| 153 | extractSourceLocation: opts.extractSourceLocation, |
| 154 | flatten: opts.flatten, |
| 155 | followLinks: opts.followLinks, |
| 156 | format: opts.format, |
| 157 | idInterpolationPattern: opts.idInterpolationPattern, |
| 158 | ignore: opts.ignore, |
| 159 | inFile: opts.inFile, |
| 160 | pragma: opts.pragma, |
| 161 | preserveWhitespace: opts.preserveWhitespace, |
| 162 | throws: opts.throws, |
| 163 | }) |
| 164 | } |
no test coverage detected