Skip to content

Fix: Shaders bundling - #113

Merged
AlexIchenskiy merged 1 commit into
mainfrom
fix/shaders-bundling
Jul 29, 2026
Merged

Fix: Shaders bundling#113
AlexIchenskiy merged 1 commit into
mainfrom
fix/shaders-bundling

Conversation

@AlexIchenskiy

Copy link
Copy Markdown
Collaborator

This PR moves the WebGL/GLSL shaders from .vert/.frag files to plain TypeScript modules (export default the GLSL as a template string), so consumer bundlers include them instead of silently dropping the unknown extensions. Imports resolve to the new .ts files unchanged, and the now-unneeded Webpack shader loader rule and glsl.d.ts declaration are removed.

@AlexIchenskiy AlexIchenskiy self-assigned this Jul 29, 2026

@tonilastre tonilastre left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@AlexIchenskiy
AlexIchenskiy merged commit 23efa00 into main Jul 29, 2026
4 checks passed
@AlexIchenskiy
AlexIchenskiy deleted the fix/shaders-bundling branch July 29, 2026 07:46
github-actions Bot pushed a commit that referenced this pull request Jul 29, 2026
## [1.0.1](v1.0.0...v1.0.1) (2026-07-29)

### Fix

* Shaders bundling (#113) ([23efa00](23efa00)), closes [#113](#113)
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants