Ordering of the css and js files loaded by Meteor

后端 未结 3 1696
你的背包
你的背包 2020-12-02 14:12

Is there any way of specifying an order to the automatically loaded css or js files loaded by Meteor.

Searched the docs and can\'t find anything.

I ask becau

3条回答
  •  醉梦人生
    2020-12-02 14:45

    You are correct, user files are loaded depth first, alphabetically otherwise.

    https://guide.meteor.com/structure.html#load-order

    lib/ directories and main.* files are special cases.

    Packages can also alter load order, but I don't think any of the default packages do that.

提交回复
热议问题