Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to override esbuild config #17

Merged
merged 2 commits into from
Jan 2, 2023
Merged

Add option to override esbuild config #17

merged 2 commits into from
Jan 2, 2023

Conversation

willfarrell
Copy link
Contributor

@willfarrell willfarrell commented Dec 31, 2022

I ran into No loader is configured for ".node" files: node_modules/@node-rs/argon2-darwin-arm64/argon2.darwin-arm64.node. There is an esbuild workaround (evanw/esbuild#1051 (comment)), but I think a Lamba Layer will be better approach in this case. To achieve this I needed to be able to override the esbuild options.

While I was at it I added in override for format and target. I can't imagine any others that can be required.

Sorry the TS isn't as good as it could be.

Thanks for supporting such a useful package.

@MikeBild
Copy link
Owner

MikeBild commented Jan 2, 2023

Nice. Thank you.

@MikeBild MikeBild merged commit 982c885 into MikeBild:master Jan 2, 2023
@willfarrell willfarrell deleted the feature/esbuild-options branch January 2, 2023 20:14
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