Skip to content

Capistrano extension to run Symfony's Webpack Encore during deployment

License

Notifications You must be signed in to change notification settings

andyexeter/capistrano-webpack-encore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Capistrano extension to run Symfony's Webpack Encore during deployment

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages