Skip to content

Commit

Permalink
Merge pull request webpack#131 from dear-lizhihua/cn
Browse files Browse the repository at this point in the history
fix coffee-redux-loader.md
  • Loading branch information
dear-lizhihua authored Feb 6, 2017
2 parents fe801a3 + 72fd52c commit 5718a43
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions content/concepts/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ T> webpack 1 需要特定的 loader 来转换 ES 2015 `import`,然而通过 we

## 支持的模块类型

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

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

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

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

***

Expand Down
9 changes: 4 additions & 5 deletions generated/loaders/coffee-redux-loader.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@ title: coffee-redux-loader
source: https://raw.githubusercontent.com/webpack/coffee-redux-loader/master/README.md
edit: https://github.com/webpack/coffee-redux-loader/edit/master/README.md
---
# coffee-script-redux loader for webpack
# webpack 的 coffee-script-redux loader

## Usage使用
## 用法

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

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


## License
Expand Down

0 comments on commit 5718a43

Please sign in to comment.