esbuild-plugin-glsl
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "esbuild-plugin-glsl", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "A GLSL plugin for esbuild.", | ||
@@ -9,4 +9,4 @@ "homepage": "https://github.com/vanruesc/esbuild-plugin-glsl", | ||
"sideEffects": false, | ||
"main": "dist/esbuild-plugin-glsl.cjs", | ||
"module": "dist/esbuild-plugin-glsl.js", | ||
"main": "dist/index.cjs", | ||
"module": "dist/index.js", | ||
"types": "dist/types/index.d.ts", | ||
@@ -16,4 +16,4 @@ "exports": { | ||
"types": "./dist/types/index.d.ts", | ||
"import": "./dist/esbuild-plugin-glsl.js", | ||
"require": "./dist/esbuild-plugin-glsl.cjs" | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
} | ||
@@ -20,0 +20,0 @@ }, |
@@ -32,4 +32,6 @@ # esbuild-plugin-glsl | ||
* `minify`: Enables or disables basic shader minification. Default is `false`. | ||
* `resolveIncludes`: When enabled, shaders can include other shaders with the custom `#include "path"` directive. Default is `true`. | ||
| Option | Description | Default | | ||
|--------|-------------|---------| | ||
| minify | Enables or disables basic shader minification. | `false` | | ||
| resolveIncludes | When enabled, shaders can include other shaders with the custom `#include "path"` directive. | `true` | | ||
@@ -36,0 +38,0 @@ ### TypeScript |
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
10049
66