(filename: string)
| 34 | } |
| 35 | |
| 36 | function get_extname(filename: string): string { |
| 37 | filename = path.extname(filename) |
| 38 | let idx = filename.indexOf('?') |
| 39 | if (idx === -1) |
| 40 | idx = filename.length |
| 41 | return filename.slice(1, idx) |
| 42 | } |
| 43 | |
| 44 | // This export is used for configuration. |
| 45 | export const devtoolsPlugin = (_options: DevtoolsPluginOptions = {}): vite.PluginOption => { |
no outgoing calls
no test coverage detected
searching dependent graphs…