mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 10:33:51 +08:00
FIX: Add wizard.js to ember-cli assets (#17153)
This commit is contained in:
parent
9c6ce0fa3e
commit
a1170970db
|
@ -4,6 +4,7 @@ module EmberCli
|
|||
ASSETS = %w(
|
||||
discourse.js
|
||||
admin.js
|
||||
wizard.js
|
||||
ember_jquery.js
|
||||
pretty-text-bundle.js
|
||||
start-discourse.js
|
||||
|
|
|
@ -90,18 +90,6 @@ task 'assets:flush_sw' => 'environment' do
|
|||
end
|
||||
end
|
||||
|
||||
def is_ember_cli_asset?(name)
|
||||
%w(
|
||||
discourse.js
|
||||
admin.js
|
||||
wizard.js
|
||||
ember_jquery.js
|
||||
pretty-text-bundle.js
|
||||
start-discourse.js
|
||||
vendor.js
|
||||
).include?(name) || name.start_with?("chunk.")
|
||||
end
|
||||
|
||||
def assets_path
|
||||
"#{Rails.root}/public/assets"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user