We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
async getComponents(components, instance) { const { usingComponents = {} } = (await readJson(${instance}.json).catch( err => err && err.code !== 'ENOENT' && console.error(err) )) || {}; const componentBase = parse(instance).dir; for (const relativeComponent of values(usingComponents)) { if (relativeComponent.indexOf('plugin://') === 0) continue; if (relativeComponent.indexOf('plugin-private://') === 0) continue; const component = resolve(componentBase, relativeComponent); if (!components.has(component)) { components.add(relative(this.base, component)); await this.getComponents(components, component); } } }
async getComponents(components, instance) { const { usingComponents = {} } = (await readJson(
).catch( err => err && err.code !== 'ENOENT' && console.error(err) )) || {}; const componentBase = parse(instance).dir; for (const relativeComponent of values(usingComponents)) { if (relativeComponent.indexOf('plugin://') === 0) continue; if (relativeComponent.indexOf('plugin-private://') === 0) continue; const component = resolve(componentBase, relativeComponent); if (!components.has(component)) { components.add(relative(this.base, component)); await this.getComponents(components, component); } } }
插件中应该添加 if (relativeComponent.indexOf('plugin-private://') === 0) continue;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
async getComponents(components, instance) { const { usingComponents = {} } = (await readJson(
${instance}.json).catch( err => err && err.code !== 'ENOENT' && console.error(err) )) || {}; const componentBase = parse(instance).dir; for (const relativeComponent of values(usingComponents)) { if (relativeComponent.indexOf('plugin://') === 0) continue; if (relativeComponent.indexOf('plugin-private://') === 0) continue; const component = resolve(componentBase, relativeComponent); if (!components.has(component)) { components.add(relative(this.base, component)); await this.getComponents(components, component); } } }
插件中应该添加 if (relativeComponent.indexOf('plugin-private://') === 0) continue;
The text was updated successfully, but these errors were encountered: