wordpress-debug-webpack-plugin
Enable or disable Wordpress debug using webpack
Install
npm install --save-dev wordpress-debug-webpack-plugin
Usage
Enable debug:
; plugins: wpConfigPath: 'path/to/wp-config.php' debug: true ;
Disable debug:
; plugins: wpConfigPath: 'path/to/wp-config.php' debug: false ;
API
wpConfigPath
(require)string
- Path towp-config.php
.debug
(optional) (default:true
)boolean
- Enable or disable debug.runOnce
(optional) (default:true
)boolean
- Enable or disable multiple run, useful for watchmode
.
Related
- wordpress-debug - Api for this package.
Contribution
Feel free to push your code if you agree with publishing under the MIT license.