Open lppedd opened 2 years ago
Developing a new Collection, given the following:
<Shapes> <Script> <!-- Include JS file (e.g. from the same directory as this Definition.xml file) --> </Script> ... </Shapes>
Is this possible?
So, this seems to be possible, by exposing the script as a Node module, and then using require You can use collection.relURL to know the base path of the collection.
require
collection.relURL
Developing a new Collection, given the following:
Is this possible?