Skip to content

Releases: webpack/webpack-sources

v2.0.0-beta.0

07 Feb 09:03
Compare
Choose a tag to compare

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

20 Sep 09:06
Compare
Choose a tag to compare

Features

  • add name argument to replace and insert in ReplaceSource

Bugfixes

  • fix incorrect offset when lines start with whitespace

Other

  • performance improvements

v1.2.0

29 Aug 12:10
Compare
Choose a tag to compare
  • Performance improvements
  • Improve quality of generated Source Maps when doing replacements

v1.1.0

26 Nov 11:07
Compare
Choose a tag to compare
  • Performance improvements

v1.0.2

04 Nov 07:23
Compare
Choose a tag to compare

Bugfixes

  • Update source-map dep to apply upstream bugfix ( #27 )

v1.0.1

24 Jul 08:33
Compare
Choose a tag to compare

Bugfixes:

  • fixed bug introduced by refactoring in LineToLineMappedSource

v1.0.0

24 Jul 08:36
Compare
Choose a tag to compare

Features:

  • added original() method to ReplaceSource to get the original source
  • Refactoring to es6
  • Upgrade to source-list-map@2

v0.2.0

15 Mar 13:42
Compare
Choose a tag to compare
  • consistent empty line handling in PrefixSource
  • fix replacements when replacements includes or removes lines