How to modify/edit a Meteor package?

后端 未结 3 865
北恋
北恋 2021-01-04 02:37

I want to run two different Meteor apps on the same server (on different ports) but I want to change something in one of Meteor\'s core packages and I want one app to use th

3条回答
  •  长情又很酷
    2021-01-04 03:02

    I have my packages in my user folder at its root as a hidden folder called .meteor.

    Perhaps you can check there? On a mac it would be under:

    ~/.meteor/packages/your package name

    You must also now go into a file there os.json, and change the "length" variable for the file you changed to match the new byte file size. Otherwise it might not compile, but try compiling first and see if its an issue that you changed some package code.

提交回复
热议问题