I decided to go with applying the compile-step to all client-side scripts options.
Nonetheless this might be nice to have 😉
I have a problem with implementing a masonry library script into my theme. I followed this https://github.com/NodeBB/nodebb-theme-lavender/blob/master/plugin.json to see how it should be done. Of course I changed "lavender" to "my theme name". So now my files looks like this:
The problem is that my site then crashes. And it says that the problem is
unexpected token } http://screencast.com/t/QXeJAsgwF and that is weird because I never changed those files.
Remove the comma at the end of the template line in your theme.json file
@a_5mith and once again you saved my day, tnx. I had to remove coma in plugin.json too on last line
"static/vendor/masonry.js" but yes, commas were problem.^^
@Jelena You're welcome, didn't look in the plugin file. glad you've got it working,