Creates an ObjectURL for a file entry and adds it to the entry. Automatically revokes the ObjectURL when the file data changes or when the file is removed.
import { defineFilePond } from 'filepond';
import { locale } from 'filepond/locales/en-gb.js';
import { ObjectURLView } from 'filepond/extensions/object-url-view.js';
defineFilePond({
locale,
extensions: [
// Add the ObjectURLView extension
ObjectURLView
]
})