mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 06:09:55 +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
|
|
%>
|