UNPKG
esbuild-plugin-glsl-minify
Version:
latest (0.0.1)
0.0.1
A GLSL plugin for esbuild.
github.com/w8r/esbuild-plugin-glsl
w8r/esbuild-plugin-glsl
esbuild-plugin-glsl-minify
/
dist
/
types
/
minifyShader.d.ts
10 lines
(9 loc)
•
256 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
, mangle:
boolean
):
string
;