Skip to content

Commit

Permalink
adding terser gem to replace uglifier
Browse files Browse the repository at this point in the history
  • Loading branch information
sportsbook123 committed May 4, 2023
1 parent 414343b commit 6cddc47
Show file tree
Hide file tree
Showing 3 changed files with 1,017 additions and 899 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ COPY ./src/ /root/src/

RUN ./install.sh
RUN echo "rvm use 3.0.2" >> ~/.bashrc
RUN bash -l -c "gem install pg -v 1.2.1 -- --with-pg-config=/usr/pgsql-11/bin/pg_config"
RUN bash -l -c "gem install pg -v 1.5.3 -- --with-pg-config=/usr/pgsql-11/bin/pg_config"
RUN bash -l -c bundle install --jobs=8
1 change: 1 addition & 0 deletions src/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ gem 'puma', '~> 3.11'

gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'terser'
gem 'yui-compressor'
gem 'coffee-rails', '~> 5.0.0'
# gem 'mini_racer', platforms: :ruby
Expand Down
Loading

0 comments on commit 6cddc47

Please sign in to comment.