Skip to content

An opinionated toast component for React.

0.1.5

emilkowalski9f1ece5873a6
diff --git a/package.json b/package.json
index ce7e14b..3e92886 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "sonner",
- "version": "0.1.1",
+ "version": "0.1.5",
"description": "An opinionated toast component for React.",
"main": "dist/index.js",
"module": "dist/index.mjs",
diff --git a/tsup.config.ts b/tsup.config.ts
index b7e1bea..098d7d6 100644
--- a/tsup.config.ts
+++ b/tsup.config.ts
@@ -6,7 +6,7 @@ export default defineConfig({
external: ['react'],
sourcemap: true,
dts: true,
- format: ['esm'],
+ format: ['esm', 'cjs'],
injectStyle: true,
esbuildOptions(options) {
options.banner = {