Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andyexeter/capistrano-webpack-encore
Capistrano extension to run Symfony's Webpack Encore during deployment
https://github.com/andyexeter/capistrano-webpack-encore
capistrano capistrano-plugin symfony webpack webpack-encore
Last synced: 18 days ago
JSON representation
Capistrano extension to run Symfony's Webpack Encore during deployment
- Host: GitHub
- URL: https://github.com/andyexeter/capistrano-webpack-encore
- Owner: andyexeter
- License: mit
- Created: 2017-09-14T18:43:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-23T12:34:33.000Z (over 5 years ago)
- Last Synced: 2024-04-26T06:22:23.714Z (7 months ago)
- Topics: capistrano, capistrano-plugin, symfony, webpack, webpack-encore
- Language: Ruby
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
capistrano-webpack-encore
=====================Capistrano v3.* extension to run Symfony's [Webpack Encore](https://github.com/symfony/webpack-encore) during deployment.
## Installation
Add this line to your application's Gemfile:
```ruby
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:
```ruby
require 'capistrano/webpack_encore'
```The build command is executed during `deploy:updated`
Configurable options:
```ruby
set :webpack_encore_env, "production" # default
set :webpack_encore_flags, "" # default
```## License
Released under the [MIT license](LICENSE)