mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 16:18:42 -05: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
7 lines
122 B
Text
7 lines
122 B
Text
<%
|
|
if Rails.env.development?
|
|
require_asset ("development/ember.js")
|
|
else
|
|
require_asset ("production/ember.js")
|
|
end
|
|
%>
|