@whook/dev
v26.3.0
Published
Whook development dependencies.
Maintainers
Readme
@whook/dev
Whook development dependencies.
A module to bring dev dependencies to Whook projects.
Looks at the repository's main README for more documentation.
API
initBuildConstantFilter(services) ⇒ Promise.<function()>
Allow to proxy constants directly by serializing it in the build, saving some computing and increasing boot time of the build.
Kind: global function
Returns: Promise.<function()> - A promise of filter function.
| Param | Type | Default | Description | | --- | --- | --- | --- | | services | Object | | The service dependencies | | services.BUILD_CONSTANTS_NAMES | Array.<string> | | The serializable constants name to gather | | services.BUILD_CONSTANTS_PREFIXES | Array.<string> | | The serializable constants name prefixes to gather | | services.BUILD_CONSTANTS_SUFFIXES | Array.<string> | | The serializable constants name suffixes to gather | | [services.log] | function | noop | An optional logging service |
