mirror of
https://github.com/discourse/discourse.git
synced 2026-08-27 05:37:29 -05: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
ERB
9 lines
145 B
ERB
<%
|
|
require_asset ("./main_include.js")
|
|
|
|
# Include plugin javascripts
|
|
DiscoursePluginRegistry.javascripts.each do |js|
|
|
require_asset(js)
|
|
end
|
|
%>
|