提交 20b25f10 编写于 作者: fxy060608's avatar fxy060608 提交者: qiang

wip(uts): add isExtApi

上级 81795964
......@@ -233,6 +233,7 @@ export async function compile(
isX,
isSingleThread,
isPlugin,
isExtApi,
isModule: !!indexModuleFilename,
extApis,
transform,
......@@ -291,6 +292,7 @@ export async function compile(
isX,
isSingleThread,
isPlugin: true, // iOS 目前仅有 plugin 模式
isExtApi,
extApis,
transform,
sourceMap: !!sourceMap,
......@@ -451,6 +453,7 @@ export async function compile(
isX,
isSingleThread,
isPlugin,
isExtApi,
cacheDir,
pluginRelativeDir,
is_uni_modules: pkg.is_uni_modules,
......
......@@ -123,6 +123,7 @@ export async function runKotlinProd(
isModule,
isX,
isSingleThread,
isExtApi,
hookClass,
extApis,
transform,
......@@ -145,6 +146,7 @@ export async function runKotlinProd(
isSingleThread,
isPlugin,
isModule,
isExtApi,
extApis,
transform,
uniModules,
......@@ -567,6 +569,7 @@ export async function compile(
isSingleThread,
isPlugin,
isModule,
isExtApi,
extApis,
transform,
uniModules,
......@@ -634,6 +637,7 @@ export async function compile(
isSingleThread,
isPlugin,
isModule,
isExtApi,
outDir: outputDir,
package: pluginPackage,
sourceMap: sourceMap ? resolveUTSSourceMapPath() : false,
......
......@@ -48,6 +48,7 @@ export async function runSwiftProd(
isPlugin,
isX,
isSingleThread,
isExtApi,
extApis,
transform,
sourceMap,
......@@ -69,6 +70,7 @@ export async function runSwiftProd(
isX,
isSingleThread,
isPlugin,
isExtApi,
extApis,
transform,
uniModules,
......@@ -221,6 +223,7 @@ export async function compile(
isX,
isSingleThread,
isPlugin,
isExtApi,
extApis,
transform,
uniModules,
......@@ -259,6 +262,7 @@ export async function compile(
isX,
isSingleThread,
isPlugin,
isExtApi,
outDir: outputDir,
package: namespace,
sourceMap: sourceMap ? resolveUTSSourceMapPath() : false,
......
......@@ -36,6 +36,7 @@ interface ToOptions {
isX: boolean
isSingleThread: boolean
isPlugin: boolean
isExtApi?: boolean
isModule?: boolean
extApis?: Record<string, [string, string]>
transform?: UTSOutputOptions['transform']
......@@ -52,6 +53,7 @@ export interface RunOptions {
isPlugin: boolean
isSingleThread: boolean
isX: boolean
isExtApi?: boolean
sourceMap: boolean
transform?: UTSOutputOptions['transform']
uniModules: string[]
......
......@@ -59,6 +59,7 @@ export type UTSOutputOptions = {
isSingleThread?: boolean
isPlugin?: boolean
isModule?: boolean
isExtApi?: boolean
split?: boolean
disableSplitManifest?: boolean
removeImports?: boolean
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册