DavyJonesLocker / ember-cli-one-script

This addon combines your `vendor.js` and `<your-app-name>.js` into a single file called `app.js`

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ember-cli-one-script

ember-cli-one-script is built and maintained by DockYard, contact us for expert Ember.js consulting.

Installation

ember install ember-cli-one-script

Usage

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>

Want to help?

Please do! We are always looking to improve this library. Please see our Contribution Guidelines on how to properly submit issues and pull requests.

Legal

DockYard, Inc. © 2016

@dockyard

Licensed under the MIT license

About

This addon combines your `vendor.js` and `<your-app-name>.js` into a single file called `app.js`

License:MIT License


Languages

Language:JavaScript 100.0%