diff options
author | eric <thul.eric@gmail.com> | 2015-01-17 16:31:01 -0500 |
---|---|---|
committer | eric <thul.eric@gmail.com> | 2015-01-17 16:31:01 -0500 |
commit | 84bdfea8eab66d3f797d1616db0e4fd63138fb6f (patch) | |
tree | 254850b971c699f0547b70b3c5e5137c29555e9f /README.md | |
parent | ebf06d39692b92058df757b2ec0009f0935d4563 (diff) | |
parent | 9f398b64af9025e146362a6cf7a2817255700337 (diff) | |
download | purs-loader-84bdfea8eab66d3f797d1616db0e4fd63138fb6f.tar.gz purs-loader-84bdfea8eab66d3f797d1616db0e4fd63138fb6f.tar.zst purs-loader-84bdfea8eab66d3f797d1616db0e4fd63138fb6f.zip |
Merge pull request #6 from ethul/topic/bower-components
Topic/bower components
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 25 |
1 files changed, 1 insertions, 24 deletions
@@ -27,27 +27,4 @@ npm install purs-loader --save-dev | |||
27 | 27 | ||
28 | ## Example | 28 | ## Example |
29 | 29 | ||
30 | ```js | 30 | See the [example](https://github.com/ethul/purs-loader/tree/topic/bower-components/example) directory for a complete example. |
31 | var path = require('path'); | ||
32 | |||
33 | module.exports = { | ||
34 | entry: './src/test', | ||
35 | output: { | ||
36 | path: path.join(__dirname, 'dist'), | ||
37 | filename: 'app.js' | ||
38 | }, | ||
39 | module: { | ||
40 | loaders: [{ | ||
41 | test: /\.purs$/, | ||
42 | loader: 'purs-loader?no-prelude&output=output' | ||
43 | }] | ||
44 | }, | ||
45 | resolve: { | ||
46 | modulesDirectories: [ | ||
47 | 'node_modules', | ||
48 | 'web_modules', | ||
49 | 'output' | ||
50 | ] | ||
51 | } | ||
52 | }; | ||
53 | ``` | ||