Home > @lndsld/config-builders > WebpackConfigBuilder
Builder for webpack configuration
Signature:
declare class WebpackConfigBuilder<Environment = {}>
Constructor | Modifiers | Description |
---|---|---|
(constructor)(environment) | Constructs a new instance of the WebpackConfigBuilder class |
Property | Modifiers | Type | Description |
---|---|---|---|
config | Readonly<Configuration> | Current webpack configuration | |
env | Readonly<Environment> | Readonly build env |
Method | Modifiers | Description |
---|---|---|
addPlugin(plugin) | Add webpack plugin to configuration | |
addRule(rule) | Add module rule to configuration | |
apply(plugin) | Apply builder plugin | |
map(transformer) | Manually transform configuration | |
merge(config) | Merge additional configuration |