Skip to content

Conversation

@06wj
Copy link
Contributor

@06wj 06wj commented Aug 12, 2025

No description provided.

@AndrewRayCode
Copy link
Collaborator

Ah nice, thank you!

import generate from './generator.js';
import { PreprocessorOptions } from './preprocessor.js';
import { GlslSyntaxError } from '../error.js';
import preprocess from './index.js';
Copy link
Collaborator

Choose a reason for hiding this comment

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

this may not be possible with the current test setup. i will check out the PR when I get a chance and take a look

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have temporarily removed this unit test.


export type PreprocessorOptions = {
defines?: { [definitionName: string]: object };
defines?: { [definitionName: string]: Object };
Copy link
Collaborator

Choose a reason for hiding this comment

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

TIL about lowercase o object in Typescript

@AndrewRayCode
Copy link
Collaborator

Thanks!

@AndrewRayCode AndrewRayCode merged commit 421d0bb into ShaderFrog:main Aug 21, 2025
1 check passed
@AndrewRayCode AndrewRayCode mentioned this pull request Sep 5, 2025
@AndrewRayCode
Copy link
Collaborator

Released in @shaderfrog/glsl-parser@6.1.0

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants