The createFilePondExtensionSet function creates an array of default extensions used by FilePond in the following order.

  1. FileInputSource is used to load files from the file input inside the file-pond custom element.
  2. DataTransferLoader is used to load files inside datatransfers dropped on FilePond.
  3. ValueCallbackStore is used to link up the FilePond element value property with the internal state.
  4. EntryListView renders the file list view.

When we set additional extensions using defineFilePond they’re automatically passed to createFilePondExtensionSet and added to the default extension list after FileInputSource.

const extensions = createFilePondExtensionSet(CanvasLoader, BlobLoader);
console.log(extensions);

// Logs:
// - FileInputSource
// - CanvasLoader
// - BlobLoader
// - DataTransferLoader
// - ValueCallbackStore
// - EntryListView