• Dev
  • How to generate compiled js?

Hello I am new in Extensions, So I made a extension but now I am unable to make /dist/ compiled js file how can I mak that?

1Dot So isn't there any automatic tool?

This will compile your browser-ready JavaScript code into the js/dist/forum.js file, and keep watching for changes to the source files. Nifty!

auto-magic 🧙 did you read the link jordan posted?

  • 1Dot replied to this.

    Yarn replaces Npm, they both do the same thing. Yarn was born because (at some point) npm was terribly slow and often couldn't match dependencies properly. Today this advantage is mostly lost though and they are interchangeable.

      luceos OK Thanks a Lot for such a great explanation, I decided to prefer npm only.