However, the result directory 'build' contains all of the required extra files, does NOT have Utils.js in its right spot.
I was under the impression that files listed in extraDependencies were supposed to be left as "stand alone" files. However, it doesn't seem to be the case for Utils.js.
I realise that it's a bit weird, needing that as an external file... but I do.
Self answer: one of my views importedUtils.js; for whatever reason, if ONE view imports a file, even if it's listed as a dependency, it won't be copied over!
[UPDATE: there is only actually one problem]
I need a bunch of external Javascript libraries in my application. At the moment, I am doing this:
In
index.html
I have:I then added them as
extraDependencies
in my polymer.json:However, the result directory 'build' contains all of the required extra files, does NOT have
Utils.js
in its right spot.I was under the impression that files listed in extraDependencies were supposed to be left as "stand alone" files. However, it doesn't seem to be the case for
Utils.js
.I realise that it's a bit weird, needing that as an external file... but I do.