Skip to content

Commit 5718a43

Browse files
Merge pull request webpack#131 from dear-lizhihua/cn
fix coffee-redux-loader.md
2 parents fe801a3 + 72fd52c commit 5718a43

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

content/concepts/modules.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ T> webpack 1 需要特定的 loader 来转换 ES 2015 `import`,然而通过 we
3131

3232
## 支持的模块类型
3333

34-
webpack 通过_加载器(loader)_可以支持各种语言和预处理器编写模块。_加载器_描述了 webpack **如何**处理 非 JavaScript(non-JavaScript) _模块_并且在_包_中引入这些_依赖_
35-
webpack 社区已经为以及各种流行语言和语言处理器构建了_加载器_,包括:
34+
webpack 通过 _loader_ 可以支持各种语言和预处理器编写模块。_loader_ 描述了 webpack **如何**处理 非 JavaScript(non-JavaScript) _模块_并且在_bundle_中引入这些_依赖_
35+
webpack 社区已经为各种流行语言和语言处理器构建了 _loader_,包括:
3636

3737
* [CoffeeScript](http://coffeescript.org)
3838
* [TypeScript](https://www.typescriptlang.org)
@@ -43,7 +43,7 @@ webpack 社区已经为以及各种流行语言和语言处理器构建了_加
4343

4444
总的来说,webpack 提供了可定制的、强大和丰富的 API,允许**任何技术栈**使用 webpack,保持了在你的开发、测试和生成流程中**无侵入性(non-opinionated)**
4545

46-
有关完整列表,请参考[**加载器列表**](/loaders)[**自己编写**](/api/loaders)
46+
有关完整列表,请参考 [**loader 列表**](/loaders)[**自己编写**](/api/loaders)
4747

4848
***
4949

generated/loaders/coffee-redux-loader.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,17 @@ title: coffee-redux-loader
33
source: https://raw.githubusercontent.com/webpack/coffee-redux-loader/master/README.md
44
edit: https://github.com/webpack/coffee-redux-loader/edit/master/README.md
55
---
6-
# coffee-script-redux loader for webpack
6+
# webpack 的 coffee-script-redux loader
77

8-
## Usage使用
8+
## 用法
99

1010
``` javascript
1111
var exportsOfFile = require("coffee-redux-loader!./file.coffee");
1212
// => return exports of executed and compiled file.coffee
1313
```
1414

15-
Don't forget to polyfill `require` if you want to use it in node.
16-
See `webpack` documentation.
17-
如果你要使用coffee-redux-loader在node的运行环境里面,必须在开始的时候用'require'引入这个组件,更多详见'webpack'的文档
15+
如果你想要在 node 运行环境中使用,不要忘了 polyfill `require`
16+
请查看 `webpack` 文档。
1817

1918

2019
## License

0 commit comments

Comments
 (0)