UNPKG

unplugin-mtl

Version:

Import .mtl files as strings 🧵 in Vite, Rollup, Webpack + more

13 lines (11 loc) • 227 B
interface ExtRefData { width: number; height: number; src: string; } declare module '*.mtl' { const mtl: string; const extRef: boolean; const extRefHelpers: ExtRefData[]; export { mtl, extRef, extRefHelpers }; }