val-loader
Advanced tools
Changelog
1.0.0 (2017-03-16)
Property | Type | Description
:--------|:-----|:-----------
code
| string|Buffer
| Required. The code that is passed to the next loader or to webpack.
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.
Changelog
1.0.0 (2017-03-16)
Property | Type | Description
:--------|:-----|:-----------
code
| string|Buffer
| Required. The code that is passed to the next loader or to webpack.
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.