Skip to content

Releases: webpack-contrib/val-loader

v2.0.1

19 Nov 11:00
Compare
Choose a tag to compare

2.0.1 (2019-11-19)

Bug Fixes

v2.0.0

14 Nov 17:15
Compare
Choose a tag to compare

Bug Fixes

  • support webpack@5

Features

  • better handle errors from a module
  • pass module.parent to a module
  • validate loader options

BREAKING CHANGES

  • minimum supported node version is 10.13.0
  • minimum supported webpack version is 4.0.0

v1.1.1

21 Jun 10:36
Compare
Choose a tag to compare

1.1.1 (2018-06-21)

Bug Fixes

v1.1.0

19 Nov 23:51
Compare
Choose a tag to compare

2017-11-19

Features

  • add support for contextDependencies in the {Object} interface (options.contextDependencies) (#23) (78aa6fe)

v1.0.2

21 Mar 12:09
b0c6f35
Compare
Choose a tag to compare

Bug Fixes

  • .babelrc: enable modules (b0b116a)

v1.0.1

20 Mar 15:53
e35feb8
Compare
Choose a tag to compare

Bug Fixes

v1.0.0

16 Mar 16:16
07964c4
Compare
Choose a tag to compare

Features

  • change expected module API (caf2aab)

BREAKING CHANGES

  • this commit introduces a major refactoring of the loader.
  • remove node 0.10 and node 0.12 support
  • the loaded module must now export a function
  • this function will be called with the loader options
  • this function must return an object with this structure
Property Type Description
code `string Buffer`
sourceMap SourceMap Optional. Will be pased to the next loader or to webpack.
ast any Optional. An Abstract Syntax Tree that will be passed to the next loader. Useful to speed up the build time if the next loader uses the same AST.
dependencies Array<string> Default: []. An array of absolute, native paths to file dependencies that need to be watched for changes.
cacheable boolean Default: false. Flag whether the code can be re-used in watch mode if none of the dependencies have changed.
  • the function may also return a promise for async results
  • switch tooling to webpack-defaults

Release v0.5.1

25 Feb 02:53
Compare
Choose a tag to compare

0.5.1 (2017-02-24)

Bug Fixes

  • package: fix loader util deprecation warning (#10) (d2db561)