Skip to content

Commit aa4dd18

Browse files
committed
docs(config): document the need to install dependencies in configuration-languages.md
Resolves #1286
1 parent 0b15c05 commit aa4dd18

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

content/configuration/configuration-languages.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,17 @@ contributors:
77
- tarang9211
88
---
99

10-
webpack lets you define your configuration files in any language. The list of supported file extensions can be found at the [node-interpret](https://github.com/js-cli/js-interpret) package. webpack with the help of [node-interpret](https://github.com/js-cli/js-interpret) will run your configuration through the language of your choice.
10+
webpack accepts configuration files written in multiple programming and data languages. The list of supported file extensions can be found at the [node-interpret](https://github.com/js-cli/js-interpret) package. Using [node-interpret](https://github.com/js-cli/js-interpret), webpack can handle many different types of configuration files.
1111

12-
For example if you use **coffeescript**, your file would be as follows:
12+
For example, to use [CoffeeScript](http://coffeescript.org/), you would first install the necessary dependencies:
1313

14-
**webpack.config.coffee**
14+
``` bash
15+
npm i --save-dev coffee-script
16+
```
17+
18+
and then proceed to write your configuration:
19+
20+
__webpack.config.coffee__
1521

1622
```javascript
1723
HtmlWebpackPlugin = require('html-webpack-plugin')

0 commit comments

Comments
 (0)