mirror of
https://github.com/discourse/discourse.git
synced 2024-12-18 13:03:46 +08:00
9ebebfb4cc
The previous sprockets implementation was including admin-specific JS in the plugin's main JS file, which would be served to all users regardless of admin status. This commit achieves the same result under the ember-cli plugin asset compiler with one difference: the admin js is compiled into a separate file. That means that in future, we'll be able to make it loaded only for admins. For now though, it's loaded for everyone, just like before. |
||
---|---|---|
.. | ||
index.js | ||
package.json |