No commit activity in last 3 years
No release in over 3 years
Run webpack encore during deployment
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
~> 0

Runtime

>= 3.0.0, ~> 3.0
 Project Readme

capistrano-webpack-encore

Capistrano v3.* extension to run Symfony's Webpack Encore during deployment.

Installation

Add this line to your application's Gemfile:

gem 'capistrano', '~> 3.3.0'
gem 'capistrano-webpack-encore'

And then execute:

$ bundle

Or install it yourself as:

$ gem install capistrano-webpack-encore

Usage

Require in Capfile to use the default task:

require 'capistrano/webpack_encore'

The build command is executed during deploy:updated

Configurable options:

set :webpack_encore_env, "production"    # default
set :webpack_encore_flags, ""            # default

License

Released under the MIT license