Reputation: 87
And if this function needs other libraries declared before it? (such as bootstrap, less, paperjs)
In other words, how can I control the import order?
Upvotes: 0
Views: 37
Reputation: 5708
If the function needs access to the DOM, put it in client/lib
else, put it in /lib
Upvotes: 0
Reputation: 2386
Packages always load first, so you can simply define them inside /lib/*
.
Upvotes: 2