-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Conversation
Deploy preview for cn-webpack ready! Built with commit 41b96fb |
There was a problem hiding this 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/) 时都会触发。 |
There was a problem hiding this comment.
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`—选项给指定的入口点。 |
There was a problem hiding this comment.
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 共享模块: |
There was a problem hiding this comment.
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 是入口文件所处的目录的绝对路径的字符串。 |
There was a problem hiding this comment.
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 是入口文件所处的目录的绝对路径的字符串。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
entry 也是
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请按 review 修改内容,谢谢
No description provided.