I’m writing a markdown plugin which needs an external JS for server side code. How to import the module properly so it will be detected by
mini_racer. I can either import JS module (as git submodule) or already compiled min.js.
If I just do
register_asset ‘file.js’, :server_side it works in browser, but not when I try to rebuild post HTML.