glslify / glslify/glslify

It it possible to transform the 'require()' path ??

Open
#146 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.3k
Forks
83
PR merge metrics
No merged PRs in 30d

Description

As it is possible to do it in js with the different bundlers, I would like to create an alias that I could use to target the path of my glsl files (to avoid `require(../../foo/bar/noise. glsl)` ). Is it possible ?

For exemple : `require(@utils/noise.glsl')` -> `require('../../foo/bar/noise.glsl')`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.