FIX: Add wizard.js to ember-cli assets (#17153)

This commit is contained in:
Jarek Radosz 2022-06-20 17:18:35 +02:00 committed by GitHub
parent 9c6ce0fa3e
commit a1170970db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 12 deletions

View File

@ -4,6 +4,7 @@ module EmberCli
ASSETS = %w(
discourse.js
admin.js
wizard.js
ember_jquery.js
pretty-text-bundle.js
start-discourse.js

View File

@ -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