I have a relative import in my files like this:
#pragma glslify: someModule = require("../../shaders/utils/someModule.glsl")
And the extension fails to compile like this:
GLSL Lint: GLSL Lint: failed to compile the glslify file! Error: Cannot find module
As it is using only the basedir indicated as an option or the working directory path.
Is it possible to set an option to solve the import relative to the current file directory?
I have a relative import in my files like this:
#pragma glslify: someModule = require("../../shaders/utils/someModule.glsl")And the extension fails to compile like this:
GLSL Lint: GLSL Lint: failed to compile the glslify file! Error: Cannot find moduleAs it is using only the
basedirindicated as an option or the working directory path.Is it possible to set an option to solve the import relative to the current file directory?