Can I use require to import additional files?


#1

Yes. Note that require file resolution does not align with Node.js-style resolution. You can only require files in your plugin directory, and there’s no lookup in a package.json should it exist.