Releases: webpack/webpack-sources
Releases · webpack/webpack-sources
v2.0.0-beta.0
API
- add
buffer
method to Source
- remove node and listNode methods from public API
- remove LineToLineMappedSource
- add SizeOnlySource
Bugfixes
- ConcatSource falls back to sourceAndMap when node() or listMap() is not available
- PrefixSource do no longer insert prefix in the middle of the line in some cases
Performance:
- avoid unnecessary sorting in ReplaceSource
- make exports lazy
Other
add Source types to hash
v1.3.0
Features
- add
name
argument to replace
and insert
in ReplaceSource
Bugfixes
- fix incorrect offset when lines start with whitespace
Other
v1.2.0
- Performance improvements
- Improve quality of generated Source Maps when doing replacements
v1.0.2
Bugfixes
- Update
source-map
dep to apply upstream bugfix ( #27 )
v1.0.1
Bugfixes:
- fixed bug introduced by refactoring in LineToLineMappedSource
v1.0.0
Features:
- added
original()
method to ReplaceSource to get the original source
- Refactoring to es6
- Upgrade to source-list-map@2
v0.2.0
- consistent empty line handling in PrefixSource
- fix replacements when replacements includes or removes lines