interface ViteFetchResult {
    code: string;
    file: null | string;
}

Properties

Properties

code: string

Code that will be evaluated by vite runtime by default this will be wrapped in an async function

file: null | string

File path of the module on disk. This will be resolved as import.meta.url/filename