mirror of
https://github.com/discourse/discourse.git
synced 2025-03-10 16:35:36 +08:00

avoid one huge js bundle and instead break it down to application and vendor (3rd party) our app changes a lot, vendor changes a lot less
9 lines
145 B
Plaintext
9 lines
145 B
Plaintext
<%
|
|
require_asset ("./main_include.js")
|
|
|
|
# Include plugin javascripts
|
|
DiscoursePluginRegistry.javascripts.each do |js|
|
|
require_asset(js)
|
|
end
|
|
%>
|