Skip to content
Permalink
Browse files

Admin assets are now compiled in production

  • Loading branch information
riggraz committed Oct 16, 2019
1 parent a97c952 commit 9e3bf6dd0b0ddd4bdbe7c91cbfaa52a9da552dd7
Showing with 2 additions and 2 deletions.
  1. +1 −1 config/webpacker.yml
  2. +1 −1 docker-entrypoint.sh
@@ -11,7 +11,7 @@ default: &default

# Additional paths webpack should lookup modules
# ['app/assets', 'engine/foo/app/assets']
resolved_paths: []
resolved_paths: ['app/assets']

# Reload manifest.json on all requests so we reload latest compiled packs
cache_manifest: false
@@ -53,6 +53,6 @@ if [ $ENVIRONMENT == "development" ]; then
foreman start -p 3000
else # production
# Compile assets and launch server
./bin/webpack
rails assets:precompile
rails server -e production
fi

0 comments on commit 9e3bf6d

Please sign in to comment.
You can’t perform that action at this time.