aboutsummaryrefslogtreecommitdiffstats
path: root/test/dummy/config/environments
diff options
context:
space:
mode:
authorJavan Makhmali <javan@javan.us>2018-02-12 10:34:29 -0500
committerJavan Makhmali <javan@javan.us>2018-02-12 10:34:29 -0500
commit2f13b3c9fe21debec4bd9afe4601125f4fe29ce2 (patch)
tree973bfc4599de65fddfe39206374b7424f4e7e7ec /test/dummy/config/environments
parent63add5acc4a9bd84907bf6bf17de307792336539 (diff)
downloadrails-2f13b3c9fe21debec4bd9afe4601125f4fe29ce2.tar.gz
rails-2f13b3c9fe21debec4bd9afe4601125f4fe29ce2.tar.bz2
rails-2f13b3c9fe21debec4bd9afe4601125f4fe29ce2.zip
Pull activetext.js into dummy app with webpacker
Diffstat (limited to 'test/dummy/config/environments')
-rw-r--r--test/dummy/config/environments/development.rb2
-rw-r--r--test/dummy/config/environments/production.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/test/dummy/config/environments/development.rb b/test/dummy/config/environments/development.rb
index 366e75ad77..42768bf68c 100644
--- a/test/dummy/config/environments/development.rb
+++ b/test/dummy/config/environments/development.rb
@@ -1,4 +1,6 @@
Rails.application.configure do
+ # Verifies that versions and hashed value of the package contents in the project's package.json
+ config.webpacker.check_yarn_integrity = true
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded on
diff --git a/test/dummy/config/environments/production.rb b/test/dummy/config/environments/production.rb
index 9ea5ad2784..2aaa79f620 100644
--- a/test/dummy/config/environments/production.rb
+++ b/test/dummy/config/environments/production.rb
@@ -1,4 +1,6 @@
Rails.application.configure do
+ # Verifies that versions and hashed value of the package contents in the project's package.json
+ config.webpacker.check_yarn_integrity = false
# Settings specified here will take precedence over those in config/application.rb.
# Code is not reloaded between requests.