diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -12,6 +12,8 @@ Install with [npm](https://npmjs.org/package/purs-loader). | |||
12 | 12 | ||
13 | ``` | 13 | ``` |
14 | npm install purs-loader --save-dev | 14 | npm install purs-loader --save-dev |
15 | |||
16 | npm install purs-loader@next --save-dev | ||
15 | ``` | 17 | ``` |
16 | 18 | ||
17 | ## Example | 19 | ## Example |
@@ -27,8 +29,7 @@ const webpackConfig = { | |||
27 | exclude: /node_modules/, | 29 | exclude: /node_modules/, |
28 | query: { | 30 | query: { |
29 | psc: 'psa', | 31 | psc: 'psa', |
30 | src: ['bower_components/purescript-*/src/**/*.purs', 'src/**/*.purs'], | 32 | src: ['bower_components/purescript-*/src/**/*.purs', 'src/**/*.purs'] |
31 | ffi: ['bower_components/purescript-*/src/**/*.js', 'src/**/*.js'], | ||
32 | } | 33 | } |
33 | } | 34 | } |
34 | // ... | 35 | // ... |
@@ -59,11 +60,7 @@ Default options: | |||
59 | src: [ | 60 | src: [ |
60 | path.join('src', '**', '*.purs'), | 61 | path.join('src', '**', '*.purs'), |
61 | path.join('bower_components', 'purescript-*', 'src', '**', '*.purs') | 62 | path.join('bower_components', 'purescript-*', 'src', '**', '*.purs') |
62 | ], | 63 | ] |
63 | ffi: [ | ||
64 | path.join('src', '**', '*.js'), | ||
65 | path.join('bower_components', 'purescript-*', 'src', '**', '*.js') | ||
66 | ], | ||
67 | } | 64 | } |
68 | ``` | 65 | ``` |
69 | 66 | ||