File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ module.exports = {
82
82
},
83
83
84
84
plugins: [
85
- new ExtractText (' output .html' )
85
+ new ExtractText (' file .html' )
86
86
]
87
87
}
88
88
```
@@ -102,7 +102,7 @@ with [handlebars-loader](https://github.com/altano/handlebars-loader)
102
102
{ test: / \. hbs$ / , loader: ' handlebars!html!posthtml' }
103
103
```
104
104
105
- with [ file-loader] ( https://github.com/webpack/file-loader ) and [ val-loader] ( https://github.com/webpack/val-loader )
105
+ with [ file-loader] ( https://github.com/webpack/file-loader ) && [ val-loader] ( https://github.com/webpack/val-loader )
106
106
107
107
``` javascript
108
108
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ module.exports = function (source) {
20
20
if ( options . pack ) {
21
21
plugins = plugins [ options . pack ]
22
22
}
23
- if ( typeof plugins === 'undefined' || typeof plugins === 'object' ) {
23
+ if ( typeof plugins === 'undefined' || ! options . pack && typeof plugins === 'object' ) {
24
24
plugins = plugins . defaults || [ ]
25
25
}
26
26
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " posthtml-loader" ,
3
- "version" : " 0.8.1 " ,
3
+ "version" : " 0.8.2 " ,
4
4
"engine" : " >=4" ,
5
5
"main" : " index.js" ,
6
6
"dependencies" : {
You can’t perform that action at this time.
0 commit comments