mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 12:53:44 +08:00
b67a3a85dd
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
|
|
%>
|