Hi,
My add-on references a js file which I have placed in
My
Is this the correct way to do it? I'm asking because in the release the js file is placed in
My add-on references a js file which I have placed in
_files/js/vendor
. In the template modification I reference it this way:
Code:
<xf:js dev="vendor/mylib.js" prod="vendor/mylib.min.js" addon="My/AddOn" />
build.json
looks like this:
Code:
{
"additional_files": [
"js/vendor/"
],
"minify": [
"js/vendor/mylib.js"
]
}
<xenForo Root>/js/vendor
and not somewhere in the add-on's directory. Both directories make sense to me. I just want to be sure that I'm doing it the "official way".