Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/pure compont #15592

Merged
merged 11 commits into from
Apr 28, 2024
2 changes: 1 addition & 1 deletion packages/taro-cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ export default class CLI {
customCommand(command, kernel, args)
break
}

customCommand(command, kernel, {
args,
_,
platform,
plugin,
Expand Down
1 change: 1 addition & 0 deletions packages/taro-vite-runner/src/harmony/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export default function (viteCompilerContext: ViteHarmonyCompilerContext): Plugi
const nativeCompPathList: string[] = []

for (const comp of viteCompilerContext.nativeComponents.values()) {
if (comp.isPackage) continue
nativeCompPathList.push(comp.templatePath + QUERY_IS_NATIVE_SCRIPT)
}

Expand Down
1 change: 1 addition & 0 deletions packages/taro-vite-runner/src/mini/emit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export default function (viteCompilerContext: ViteMiniCompilerContext): PluginOp

// emit native components' json
for (const comp of viteCompilerContext.nativeComponents.values()) {
if (comp.isPackage) continue
generateConfigFile(this, viteCompilerContext, {
filePath: comp.name,
config: comp.config
Expand Down
Loading