Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.

Commit

Permalink
Updates for deployment (#1064)
Browse files Browse the repository at this point in the history
Removes the package-lock.json file and updates the production
configuration to make assets compile successfully.
  • Loading branch information
awead committed Jul 17, 2019
1 parent 12ef841 commit 3824ce7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11,654 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ public/assets
/yarn-error.log
yarn-debug.log*
.yarn-integrity
package-lock.json
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?

# Compress JavaScripts and CSS.
config.assets.js_compressor = :uglifier
config.assets.js_compressor = Uglifier.new(harmony: true)
# config.assets.css_compressor = :sass

# Do not fallback to assets pipeline if a precompiled asset is missed.
Expand Down

0 comments on commit 3824ce7

Please sign in to comment.