Uh oh!
There was an error while loading. Please reload this page.
Releases: posthtml/posthtml-loader
Releases · posthtml/posthtml-loader
Release list
v2.0.1
v2.0.0
v1.0.1
v1.0.0
2017-12-16
Bug Fixes
- Error: add missing
'use strict'pragma (1316255)
Features
- index: support
posthtml.config.js&&result.messages(e05b44c)
v0.10.3
v0.10.2
- Fix a regression that was causing functions passed as a config value to be passed the wrong context. They now receive a webpack loader context again.
- Fix a bug in which the plugin would return a resolved promise even if passed invalid config values
v0.10.1
v0.10.0
⛔ CAUTION: BREAKING RELEASE! ⛔
- Configuration now accepts an array, an object, or a function that returns an array or object
- Support for posthtml-load-config removed, you can load config manually just as easily
- If passing an object to the configuration, use the
pluginskey instead ofdefaultsto specify the plugins you would like to be used. - Now accepts
parseras a parameter when using a custom parser (like sugarml) - Much more thorough tests, and all dependencies up to date
- More thorough documentation, clarity and code examples in the readme
Upgrade Path
- If you are using posthtml-load-config (autoload), you can remove it, require your plugins, and pass them in directly.
- If you are using an object as configuration, change
defaultstoplugins