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 { ObjectURLResource } from 'filepond/extensions/object-url-resource.js';

defineFilePond({
    locale,
    extensions: [
        // Add the ObjectURLResource extension
        ObjectURLResource
    ]
})