提交 8480de6e 编写于 作者: fxy060608's avatar fxy060608

wip(uts): sourcemap

上级 96350d2f
......@@ -102,6 +102,14 @@ export async function compile(pluginDir: string) {
if (filename) {
await getCompiler('kotlin').runProd(filename, androidComponents)
if (cacheDir) {
// 存储 sourcemap
storeSourceMap(
'app-android',
pluginRelativeDir,
outputDir,
cacheDir,
pkg.is_uni_modules
)
genManifestFile('app-android', {
pluginDir,
env,
......@@ -122,6 +130,13 @@ export async function compile(pluginDir: string) {
if (filename) {
await getCompiler('swift').runProd(filename, iosComponents)
if (cacheDir) {
storeSourceMap(
'app-ios',
pluginRelativeDir,
outputDir,
cacheDir,
pkg.is_uni_modules
)
genManifestFile('app-ios', {
pluginDir,
env,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册