UNPKG

@pizca/esbuild-webgl

Version:

An esbuild plugin to import WebGL shader files as strings, with optional comment stripping for cleaner bundles.

14 lines (12 loc) 250 B
declare module '*.glsl' { const content: string; export default content; } declare module '*.vert' { const content: string; export default content; } declare module '*.frag' { const content: string; export default content; }