mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 12:28:59 +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
8 lines
140 B
Plaintext
8 lines
140 B
Plaintext
<%
|
|
if Rails.env.development?
|
|
require_asset ("development/jquery-2.0.3.js")
|
|
else
|
|
require_asset ("production/jquery-2.0.3.min.js")
|
|
end
|
|
%>
|