Skip to content

Is it possible to use enum types with the Errors plugin? #606

Answered by garth
garth asked this question in Q&A
Discussion options

You must be logged in to vote

I tried running the build via esbuild and swc and they gave different errors that hinted at cyclic dependency issues.

After quite a bit of trial an error, it seems that moving the enums and classes out into separate files has resolved the issue.

Replies: 1 comment 5 replies

Comment options

garth
Sep 25, 2022
Author Sponsor

You must be logged in to vote
5 replies
@hayes
Comment options

@garth
Comment options

garth Sep 26, 2022
Author Sponsor

@hayes
Comment options

@hayes
Comment options

@garth
Comment options

garth Sep 27, 2022
Author Sponsor

Answer selected by garth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants