FIX: Do not run Ember CLI chunk files through babel twice (#16183)

This commit is contained in:
David Taylor 2022-03-14 16:11:13 +00:00 committed by GitHub
parent 172d030a45
commit 21cc57674c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -95,7 +95,14 @@ end
def is_ember_cli_asset?(name)
return false if !EMBER_CLI
%w(application.js admin.js ember_jquery.js pretty-text-bundle.js start-discourse.js vendor.js).include?(name)
%w(
application.js
admin.js
ember_jquery.js
pretty-text-bundle.js
start-discourse.js
vendor.js
).include?(name) || name.start_with?("chunk.")
end
def assets_path