Studying all day long)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

35 lines
647 B

import type { Plugin } from 'vite'
export interface Options {
/**
* default: 'defaults'
*/
targets?: string | string[] | { [key: string]: string }
/**
* default: false
*/
ignoreBrowserslistConfig?: boolean
/**
* default: true
*/
polyfills?: boolean | string[]
additionalLegacyPolyfills?: string[]
/**
* default: false
*/
modernPolyfills?: boolean | string[]
/**
* default: true
*/
renderLegacyChunks?: boolean
/**
* default: false
*/
externalSystemJS?: boolean
}
declare function createPlugin(options?: Options): Plugin
export default createPlugin
export const cspHashes: string[]