mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-23 16:54:08 +01:00
872 B
872 B
webpack_encore
Installing
Add to your deploy.php
require 'contrib/webpack_encore.php';
Configuration
- webpack_encore/package_manager (optional): set yarn or npm. We try to find if yarn or npm is available and used.
Usage
For Yarn
after('deploy:update_code', 'yarn:install');
For npm
after('deploy:update_code', 'npm:install');
after('deploy:update_code', 'webpack_encore:build');
- Require
- Tasks
Tasks
webpack_encore:build
Run webpack encore build