webpack-glsl-minify icon indicating copy to clipboard operation
webpack-glsl-minify copied to clipboard

nomangle on command line ignored

Open mcost45 opened this issue 3 years ago • 0 comments

Thank you for the package!!

There are several function names I need to prevent the mangling of, however they are always getting mangled regardless of all the settings I have tried. This is my command:

webpack-glsl-minify '**/*.glsl' --e='.prod.ts' --output='source' --esModule=true --preserveDefines=true --preserveUniforms=true --nomangle=['picking_uActive', 'project_position_to_clipspace', 'project_size_to_pixel', 'project_pixel_size_to_clipspace', 'DECKGL_FILTER_COLOR', 'DECKGL_FILTER_GL_POSITION', 'texture']

mcost45 avatar Jul 18 '22 10:07 mcost45