Skip to content

A platform for community discussion. Free, open, simple.

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

David Taylor21cc57674ce9
diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake
index 3c580944bbb..24eac30fda3 100644
--- a/lib/tasks/assets.rake
+++ b/lib/tasks/assets.rake
@@ -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