Mantra load meteor packages

Hi,

Do you know how to create meteor packages (instead of npm package) with mantra architecture to be able to use meteor build system (for css etc…).
How to load this package on the main module of my meteor app ?

Thanks !
Léo

Could you make an example of what you want?

I find the solution here http://guide.meteor.com/writing-packages.html#exporting. I had a problem when I was exporting my module.
Do you know how to load this package only when the user visit a special url ex: /admin ? (I mean all the js, css etc …) associated with my package ? instead of sending all the bundle when the user visit home. Thanks !

Code-splitting / incremental loading is not currently supported yet but is available through the webpack implementation for Meteor

I haven’t used it though so I’m not sure what the method is :slight_smile:

Okay thanks a lot I will take a look !