Skip to content

docs(cn): translate src/content/configuration/entry-context.md #757

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

Merged
merged 3 commits into from
Jun 27, 2020

Conversation

jungor
Copy link

@jungor jungor commented Jun 16, 2020

No description provided.

@netlify
Copy link

netlify bot commented Jun 16, 2020

Deploy preview for cn-webpack ready!

Built with commit 41b96fb

https://deploy-preview-757--cn-webpack.netlify.app

Copy link
Member

@hijiangtao hijiangtao left a comment

Choose a reason for hiding this comment

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

翻译保持一致,以及注意下文中有好几处中英文排版可以检查一下,指出了一处,比如空格问题。其他问题见 comments。


> Note that the make event triggers when webpack starts and for every invalidation when [watching for file changes](/configuration/watch/).
> 要注意的是,make 事件在 webpack 启动和每当 [watching for file changes](/configuration/watch/) 时都会触发。
Copy link
Member

Choose a reason for hiding this comment

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

watching for file changes 没有翻译?

@@ -102,12 +102,12 @@ module.exports = {
};
```

Descriptor syntax was used here to pass `filename`-option to the specific entry points.
这里描述符语法就用来传入 `filename`—选项给指定的入口点。
Copy link
Member

Choose a reason for hiding this comment

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

描述符语法在这里被用来将 filename—选项传递给指定的入口点。



### Dependencies

By default, every entry chunk stores all the modules that it uses. With `dependOn`-option you can share the modules from one entry chunk to another:
默认情况下,每个入口 chunk 保存了全部其用的模块(modules)。使用`dependOn`—选项你可以与另一个入口 chunk 共享模块:
Copy link
Member

Choose a reason for hiding this comment

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

中英文排版

@@ -11,14 +11,14 @@ contributors:
- smelukov
---

The entry object is where webpack looks to start building the bundle. The context is an absolute string to the directory that contains the entry files.
entry 对象是用于 webpack 查找开始构建 bundle 的地方。context 是入口文件所处的目录的绝对路径的字符串。
Copy link
Member

Choose a reason for hiding this comment

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

context 翻译就保持一致吧,要么翻译要么不翻译,看看约定里有没有这个词。

@@ -11,14 +11,14 @@ contributors:
- smelukov
---

The entry object is where webpack looks to start building the bundle. The context is an absolute string to the directory that contains the entry files.
entry 对象是用于 webpack 查找开始构建 bundle 的地方。context 是入口文件所处的目录的绝对路径的字符串。
Copy link
Member

Choose a reason for hiding this comment

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

entry 也是

@QC-L QC-L mentioned this pull request Jun 17, 2020
49 tasks
Copy link
Member

@QC-L QC-L left a comment

Choose a reason for hiding this comment

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

请按 review 修改内容,谢谢

@jungor jungor requested review from hijiangtao and QC-L June 26, 2020 09:11
@QC-L QC-L merged commit 02cdcfa into docschina:cn Jun 27, 2020
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.

3 participants