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
122 B
Plaintext
8 lines
122 B
Plaintext
<%
|
|
if Rails.env.development?
|
|
require_asset ("development/ember.js")
|
|
else
|
|
require_asset ("production/ember.js")
|
|
end
|
|
%>
|