Including external files in plugin

For discussion and help with the Construct 3 Plugin SDK

Post » Wed May 24, 2017 4:27 pm

How do I import external js script? In C2, It was "dependency" property defined in edittime.js.
Copying script to c2runtime folder and adding it to "file-list" of addon.json does not help (the latter may work in dev mode I guess).
As workaround, I put script contents into runtime.js file for now.
Posts: 168
Reputation: 1,019

Return to Plugin SDK

Who is online

Users browsing this forum: No registered users and 0 guests