- Edited
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?
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?
jordanjay29 So isn't there any automatic tool?
1Dot personally i use yarn
ctml I generated it with npm but I am also interested in yarn Justoverclock can you tell me what it is?
https://classic.yarnpkg.com/en/docs/install/#mac-stable
After that u can use yarn dev
to transpile the js
Justoverclock So I copied my this ext https://github.com/ramesh-dada/mobile-flarum-newdiscuss/tree/main/js source from somewhere so it contain yarn.lock so if i am not using it can i safely remove it??
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.