Skip to content

Fix usage in webpack #4

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

Merged
merged 1 commit into from
Jul 11, 2023
Merged

Conversation

decahedron1
Copy link
Contributor

Fixes the error Module not found: Error: Default condition should be last one when importing smol-toml in a webpack project.

Signed-off-by: Carson M. <[email protected]>
@cyyynthia cyyynthia merged commit 1ee5c1e into squirrelchat:mistress Jul 11, 2023
@cyyynthia
Copy link
Member

cyyynthia commented Jul 11, 2023

Thanks for the PR! I'll publish this fixed package shortly.

Just a quick note, if you're using this library in a web environment (it should be entirely compatible), make sure to either target modern browsers (this lib uses some new features such as Object.hasOwn) or make sure to have these polyfilled.

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