Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gauravtiwari/webpacker-custom-env
Webpacker with custom rails env like staging or demo
https://github.com/gauravtiwari/webpacker-custom-env
Last synced: 18 days ago
JSON representation
Webpacker with custom rails env like staging or demo
- Host: GitHub
- URL: https://github.com/gauravtiwari/webpacker-custom-env
- Owner: gauravtiwari
- Created: 2018-04-05T08:03:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-04-05T08:05:25.000Z (over 6 years ago)
- Last Synced: 2024-11-25T12:42:05.688Z (28 days ago)
- Language: Ruby
- Size: 189 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Webpacker with custom rails env like staging or demo
```bash
RAILS_ENV=staging bundle exec rails assets:precompile
``````bash
RAILS_ENV=staging bundle exec rails webpacker:compile
``````bash
RAILS_ENV=staging NODE_ENV=production ./bin/webpack
```