split js with vendor/application

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
This commit is contained in:
Sam
2013-12-23 10:32:07 +11:00
parent f7827456af
commit b67a3a85dd
7 changed files with 57 additions and 68 deletions

View File

@@ -0,0 +1,7 @@
<%
if Rails.env.development?
require_asset ("development/jquery-2.0.3.js")
else
require_asset ("production/jquery-2.0.3.min.js")
end
%>