mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
FIX: Add wizard.js to ember-cli assets (#17153)
This commit is contained in:
@ -4,6 +4,7 @@ module EmberCli
|
|||||||
ASSETS = %w(
|
ASSETS = %w(
|
||||||
discourse.js
|
discourse.js
|
||||||
admin.js
|
admin.js
|
||||||
|
wizard.js
|
||||||
ember_jquery.js
|
ember_jquery.js
|
||||||
pretty-text-bundle.js
|
pretty-text-bundle.js
|
||||||
start-discourse.js
|
start-discourse.js
|
||||||
|
@ -90,18 +90,6 @@ task 'assets:flush_sw' => 'environment' do
|
|||||||
end
|
end
|
||||||
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
|
def assets_path
|
||||||
"#{Rails.root}/public/assets"
|
"#{Rails.root}/public/assets"
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user