Skip to content

Commit 3ae954d

Browse files
doc: update readme.md
1 parent 4558ef8 commit 3ae954d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

packages/rollup-plugin-glsl/readme.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# rollup-plugin-glsl-bundler
22

3-
Rollup plugin that allows imports of glsl files. Resolves import pragma and minifies glsl code using [@plutotcool/glsl-bundler](https://github.com/plutotcool/glsl-bundler).
3+
Rollup plugin that allows imports of glsl files. Resolves `#include` directives and minifies glsl code using [@plutotcool/glsl-bundler](https://github.com/plutotcool/glsl-bundler/tree/alpha/packages/glsl-bundler).
44

55
## Install
66

@@ -48,7 +48,7 @@ interface GLSLBundlerParameters {
4848
filter?: (id: string) => boolean
4949

5050
/**
51-
* Enable loader pragma
51+
* Enable #include directives
5252
*
5353
* Default: true
5454
*/
@@ -75,3 +75,5 @@ interface GLSLBundlerParameters {
7575
transforms?: ((source: string) => Promise<string> | string)[]
7676
}
7777
```
78+
79+
Get more informations from [@plutotcool/glsl-bundler](https://github.com/plutotcool/glsl-bundler/tree/alpha/packages/glsl-bundler#readme) package.

0 commit comments

Comments
 (0)