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

docs(cn): update translation. docs/javascript-api/index.md #111

Merged
merged 3 commits into from
Feb 25, 2024

Conversation

vsdzgdzvzdgj
Copy link
Contributor

… the parser

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:

Description

update translation. docs/javascript-api/index.md

Copy link

netlify bot commented Feb 2, 2024

Deploy Preview for relaxed-alfajores-47dd1b failed.

Name Link
🔨 Latest commit e7fe367
🔍 Latest deploy log https://app.netlify.com/sites/relaxed-alfajores-47dd1b/deploys/65d748f57d735000071beb55

Copy link

vercel bot commented Feb 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rollup-docs-cn ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 22, 2024 1:16pm

@iDestin iDestin changed the title docs(cn): update translation. docs/javascript-api/index.md, Accessing… docs(cn): update translation. docs/javascript-api/index.md Feb 18, 2024

In order to parse arbitrary code using Rollup's parser, plugins can use [`this.parse`](../plugin-development/index.md#this-parse). To use this functionality outside the context of a Rollup build, the parser is also exposed as a separate export. It has the same signature as `this.parse`:
为了使用 Rollup 的解析器解析任意代码,插件可以使用 [`this.parse`](../plugin-development/index.md#this-parse) 。若要在 Rollup 构建之外使用此功能,解析器也会作为单独的导出文件公开。它的签名与 `this.parse` 相同:
Copy link
Member

@iDestin iDestin Feb 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To use this functionality outside the context of a Rollup build, the parser is also exposed as a separate export. It has the same signature as `this.parse`: 

上面这句可以参考这段翻译略做调整

为了在Rollup构建的上下文之外使用这个功能,解析器也作为一个单独的导出项暴露出来。它的签名与this.parse相同

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To use this functionality outside the context of a Rollup build, the parser is also exposed as a separate export. It has the same signature as `this.parse`: 

上面这句可以参考这段翻译略做调整

为了在Rollup构建的上下文之外使用这个功能,解析器也作为一个单独的导出项暴露出来。它的签名与this.parse相同

已修改

@iDestin iDestin merged commit c6f4e2c into rollup:master Feb 25, 2024
24 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants