Skip to content

Fix usage in webpack#4

Merged
cyyynthia merged 1 commit intosquirrelchat:mistressfrom
pykeio:fix-webpack
Jul 11, 2023
Merged

Fix usage in webpack#4
cyyynthia merged 1 commit intosquirrelchat:mistressfrom
pykeio:fix-webpack

Conversation

@decahedron1
Copy link
Copy Markdown
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. <carson@pyke.io>
@cyyynthia cyyynthia merged commit 1ee5c1e into squirrelchat:mistress Jul 11, 2023
@cyyynthia
Copy link
Copy Markdown
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