File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ T> webpack 1 需要特定的 loader 来转换 ES 2015 `import`,然而通过 we
31
31
32
32
## 支持的模块类型
33
33
34
- webpack 通过_加载器(loader) _ 可以支持各种语言和预处理器编写模块。 _ 加载器_描述了 webpack ** 如何** 处理 非 JavaScript(non-JavaScript) _ 模块_ ,并且在_包_中引入这些_依赖 _ 。
35
- webpack 社区已经为以及各种流行语言和语言处理器构建了_加载器 _ ,包括:
34
+ webpack 通过 _ loader _ 可以支持各种语言和预处理器编写模块。 _ loader _ 描述了 webpack ** 如何** 处理 非 JavaScript(non-JavaScript) _ 模块_ ,并且在_bundle_中引入这些_依赖 _ 。
35
+ webpack 社区已经为各种流行语言和语言处理器构建了 _ loader _ ,包括:
36
36
37
37
* [ CoffeeScript] ( http://coffeescript.org )
38
38
* [ TypeScript] ( https://www.typescriptlang.org )
@@ -43,7 +43,7 @@ webpack 社区已经为以及各种流行语言和语言处理器构建了_加
43
43
44
44
总的来说,webpack 提供了可定制的、强大和丰富的 API,允许** 任何技术栈** 使用 webpack,保持了在你的开发、测试和生成流程中** 无侵入性(non-opinionated)** 。
45
45
46
- 有关完整列表,请参考[ ** 加载器列表 ** ] ( /loaders ) 或 [ ** 自己编写** ] ( /api/loaders ) 。
46
+ 有关完整列表,请参考 [ ** loader 列表 ** ] ( /loaders ) 或 [ ** 自己编写** ] ( /api/loaders ) 。
47
47
48
48
***
49
49
Original file line number Diff line number Diff line change @@ -3,18 +3,17 @@ title: coffee-redux-loader
3
3
source : https://raw.githubusercontent.com/webpack/coffee-redux-loader/master/README.md
4
4
edit : https://github.com/webpack/coffee-redux-loader/edit/master/README.md
5
5
---
6
- # coffee-script-redux loader for webpack
6
+ # webpack 的 coffee-script-redux loader
7
7
8
- ## Usage使用
8
+ ## 用法
9
9
10
10
``` javascript
11
11
var exportsOfFile = require (" coffee-redux-loader!./file.coffee" );
12
12
// => return exports of executed and compiled file.coffee
13
13
```
14
14
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 ` 文档。
18
17
19
18
20
19
## License
You can’t perform that action at this time.
0 commit comments