Skip to content

Commit

Permalink
FIX: Update application_helper logic now that Ember CLI is default (#…
Browse files Browse the repository at this point in the history
…15935)

Followup to a01b1dd
  • Loading branch information
davidtaylorhq committed Feb 14, 2022
1 parent 7ed899f commit f078d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Expand Up @@ -138,7 +138,7 @@ def script_asset_path(script)
def preload_vendor_scripts
scripts = ["vendor"]

if ENV["EMBER_CLI_PROD_ASSETS"] == "1"
if ENV["EMBER_CLI_PROD_ASSETS"] != "0"
@@vendor_chunks ||= begin
all_assets = ActionController::Base.helpers.assets_manifest.assets
all_assets.keys.filter_map { |name| name[/\A(chunk\..*)\.js\z/, 1] }
Expand Down

1 comment on commit f078d1a

@discoursebot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/broken-instance-after-updating-to-2-9-0-beta2/218121/14

Please sign in to comment.