提交 5738011c 编写于 作者: fxy060608's avatar fxy060608

fix(x-android): 修复 加密插件编译

上级 69d0ed53
......@@ -57,7 +57,7 @@ export async function compileEncrypt(
const outputPluginDir = normalizePath(join(outputDir, pluginRelativeDir))
const isNative = isX && utsPlatform === 'app-android'
let code = isNative
? ''
? 'export default {}'
: isRollup
? createRollupCommonjsCode(pluginDir, pluginRelativeDir)
: createWebpackCommonjsCode(pluginRelativeDir)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册