mardi 27 novembre 2018

Separate Ember Addon from vendor.js file to a separate file

I'm using a "core"-addon which contains logic that is used in multiple "boilerplate" - ember applications, when I build a boilerplate-application, the addon code is added to the "vendor.js" file found in the "assets"-folder. Is there a way I can make this code build to a separate "my-addon-vendor.js" file?

My "core"-addon is linked to my "boilerplate"-project using "npm link my-core-addon".

Thanks in advance

Versions:

  • Ember Version: 3.5.0
  • Ember CLI: 3.5.0
  • Node: 8.11.3
  • npm: 5.6.0



Aucun commentaire:

Enregistrer un commentaire