UNPKG
esbuild-plugin-glsl
Version:
latest (1.4.2)
1.4.2
1.4.1
1.4.0
1.3.2
1.3.1
1.3.0
1.2.3
1.2.2
1.2.1
1.2.0
1.1.1
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A GLSL plugin for esbuild.
github.com/vanruesc/esbuild-plugin-glsl
vanruesc/esbuild-plugin-glsl
esbuild-plugin-glsl
/
dist
/
types
/
minifyShader.d.ts
10 lines
(9 loc)
•
239 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
/** * Minifies the given GLSL
source
code. * * Based on https://github.com/vwochnik/rollup-plugin-glsl * * @param
source
The
source
code. * @
return
The minified code. */
export
declare
function
minifyShader(
source
: string): string;