-
Notifications
You must be signed in to change notification settings - Fork 10
Overrides
Craig Simpson edited this page Oct 20, 2017
·
1 revision
All of the existing configuration can be easily overwritten by passing your new config object into the toolkit.extendConfig()
function. An example from a recent project shows how easy it is to update the array of JS files to be concatenated, and change the localhost URL to point to your project, for instance.
Additional tasks can be added by passing an object to the toolkit.extendTasks()
function, where the key is the name of the task. Example.
You can override any of the lint files contained within this repository by adding a file of the same name in your theme directory. For example, if your theme directory contains a .eslintrc
file or phpcs.xml.dist
, then it will be automatically used instead of the file included within gulp-wp-toolkit
.
- Build
- Clean
- Lint
- Watch
- Serve
- Default
- Bump