- Updates webpack config file
- Adds an option to watch/compile just the JS files with webpack
This commit is contained in:
@@ -47,6 +47,10 @@ class RoboFile extends \Robo\Tasks {
|
||||
->run();
|
||||
}
|
||||
|
||||
function watchJs() {
|
||||
$this->_exec('./node_modules/webpack/bin/webpack.js --watch');
|
||||
}
|
||||
|
||||
function compileAll() {
|
||||
$this->compileJs();
|
||||
$this->compileCss();
|
||||
|
Reference in New Issue
Block a user