mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 18:03:38 +08:00
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
Block a user