ember-cli-one-script is built and maintained by DockYard, contact us for expert Ember.js consulting.
ember install ember-cli-one-script
This addon combines your vendor.js
and <your-app-name>.js
into a single
file called app.js
.
You also need to update your app/index.html
:
<!-- change the following -->
<script src="{{rootURL}}assets/vendor.js"></script>
<script src="{{rootURL}}assets/my-project.js"></script>
<!-- to -->
<script async src="{{rootURL}}assets/app.js"></script>
Please do! We are always looking to improve this library. Please see our Contribution Guidelines on how to properly submit issues and pull requests.
DockYard, Inc. © 2016