Dysfold / craftjs

MIT License
10 stars 2 forks source link

Expose plugin instances #40

Closed bensku closed 3 years ago

bensku commented 3 years ago

Expose JS plugin instances to the plugins themself (instead of internal only __craftjs.plugin).

This requires figuring out where JS plugin data directories go. Having them in same directory as Java plugins would prevent placing the plugin directories in same place due to name conflicts. Maybe place unpacked plugins under plugins/CraftJS and bundles (zip files, not yet implemented) under plugins?