2019-01-23
- Updated readme. Plugin is now in maintenance mode, only bugs will be addressed.
2019-01-14
- Decreased rollup peer-dependency version.
- Added backwards compatbility map to readme.
- Updated rollup dependency to v1.1
2019-01-14
- Rewrote internals in order remove overhead and better conform to future rollup API changes.
- Increased performance and reduced plugin size.
2019-01-01
- Compatibility with rollup v1.0. Contains several under the hood changes such as removal of deprecated options and new API hooks.
- Tests reworked to compare results against rollup itself. Should detect breaking changes much easier.
2018-11-20
- Added support for new hooks,
renderStart
andrenderError
.
2018-08-13
- Patch: API hook
transformBundle
wasn't removed as suggested by the docs and is still supported, though deprecated. This patch adds backwards compatibility until rollup v1.0 is released. Changes will be reverted in #4.
2018-07-26
- Added support for deferred initialization of rollup plugins. Prevents plugins from causing side effects.
- Special thanks to chambo-e for making it possible.
2018-07-16
- Conforms to latest rollup API (0.62). Make sure you use this version or higher.
- Properly chains
transform
andtransformChunk
. This was broken in 1.1.1 since it only processed the first occurrence.
2017-02-01
- Minor publication script fix
2017-02-01
- Simplified the syntax for initializing conditional. The older syntax is now deprecated.
// Before
plugins: [
conditional({
condition: process.env.buildTarget === "PROD",
plugins: [
plugin1(),
plugin2(),
...
]
})
]
// After
plugins: [
conditional(process.env.buildTarget === "PROD", [
plugin1(),
plugin2(),
...
])
]
2017-01-31
- Minor hotpatch that updates the build files
2017-01-31
plugin
property is replaced withplugins
to simplify the setup where you need to run many plugins based on the same condition
// Before
plugins: [
conditional({
condition: process.env.buildTarget === "PROD",
plugin: uglify()
}),
conditional({
condition: process.env.buildTarget === "PROD",
plugin: filesize()
})
]
// After
plugins: [
conditional({
condition: process.env.buildTarget === "PROD",
plugins: [
uglify(),
filesize()
]
})
]
2016-09-25
- Unit tests added
2016-09-22
- Removed mutation
2016-09-22
- Initial public release