FIX: Do not run Ember CLI chunk files through babel twice (#16183)
This commit is contained in:
parent
172d030a45
commit
21cc57674c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue