Is there an easy way to make sure the compiler picks up files used by plugins when you use the 'Exclude Unused Files' option?
If you pick the 'Exclude Unused Files' option during deployment, the compiler will pick up files that the base engine uses, but it fails to pick up files that are just used by plugins, leading to nasty errors for your players when the engine goes looking for them. Up to this point, I've gotten around that by manually adding back in files I know it missed, but I'm thinking there has to be a better way.
I tried writing a plugin that allows you to choose a file and tags it with `@require 1`, but the compiler didn't grab that file:
Ideally, I'd like a way to tag both specific files AND specific directories. Does anyone know of a way to do that? Thanks!
If you pick the 'Exclude Unused Files' option during deployment, the compiler will pick up files that the base engine uses, but it fails to pick up files that are just used by plugins, leading to nasty errors for your players when the engine goes looking for them. Up to this point, I've gotten around that by manually adding back in files I know it missed, but I'm thinking there has to be a better way.
I tried writing a plugin that allows you to choose a file and tags it with `@require 1`, but the compiler didn't grab that file:
Code:
//===========================================================================
// RequiredFiles.js
//===========================================================================
/*:
*
* @author Me
* @plugindesc Ensures necessary files are picked up by the compiler.
*
* @help
* No help here!
*
* @param include1
* @text File to Include no 1
* @type file
* @require 1
*
*/
(function() {
console.log("Hello, world!");
})();
Ideally, I'd like a way to tag both specific files AND specific directories. Does anyone know of a way to do that? Thanks!