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(
|
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
|
||||||
|
|
Loading…
Reference in New Issue