esbuild-plugin-glsl

A GLSL plugin for esbuild.

ZLIB License

Downloads
3.7K
Stars
40
Committers
5

Bot releases are hidden (Show)

esbuild-plugin-glsl - v1.2.2 Latest Release

Published by vanruesc about 1 year ago

  • Fixed flaky include behaviour. See #9. Thanks @Swoorup!
esbuild-plugin-glsl - v1.2.1

Published by vanruesc over 1 year ago

  • Fixed a bug regarding nested shader includes.
esbuild-plugin-glsl - v1.2.0

Published by vanruesc over 1 year ago

  • Added support for custom #include "path" directives inside shaders. See #7. Thanks @josemac95!
  • Added resolveIncludes settings. Default is true.
  • Updated package.exports to include types.
esbuild-plugin-glsl - v1.1.1

Published by vanruesc over 1 year ago

  • Improved minification to support WGSL syntax. See #5.
esbuild-plugin-glsl - v1.1.0

Published by vanruesc over 2 years ago

  • Added support for the .wgsl file extension. Thanks @zentyk.
  • Updated the shader minification to remove spaces around ? and : symbols.
esbuild-plugin-glsl - v1.0.5

Published by vanruesc about 3 years ago

  • NPM package
    • Doc comments are no longer removed from the generated .d.ts type files.
esbuild-plugin-glsl - v1.0.4

Published by vanruesc about 3 years ago

  • Updated dev dependencies.
esbuild-plugin-glsl - v1.0.3

Published by vanruesc over 3 years ago

  • Changed package type to module to fix importing from native modules.
  • Added named export for better compatibility with require():
    import { glsl } from "esbuild-plugin-glsl";
    const { glsl } = require("esbuild-plugin-glsl");
esbuild-plugin-glsl - v1.0.2

Published by vanruesc over 3 years ago

Expanded support to [email protected]

esbuild-plugin-glsl - v1.0.1

Published by vanruesc almost 4 years ago

Fixed CommonJS export.

esbuild-plugin-glsl - v1.0.0

Published by vanruesc almost 4 years ago

Initial release.