From 5867448446c30a7f7b846229c7d1153b6901979e Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Tue, 3 Feb 2026 15:21:17 +0100 Subject: [PATCH] fix exports --- dist/{unom-style.d.ts => index.d.ts} | 0 dist/{unom-style.js => index.js} | 0 package.json | 2 +- src/{unom-style.ts => index.ts} | 0 tsdown.config.ts | 2 +- 5 files changed, 2 insertions(+), 2 deletions(-) rename dist/{unom-style.d.ts => index.d.ts} (100%) rename dist/{unom-style.js => index.js} (100%) rename src/{unom-style.ts => index.ts} (100%) diff --git a/dist/unom-style.d.ts b/dist/index.d.ts similarity index 100% rename from dist/unom-style.d.ts rename to dist/index.d.ts diff --git a/dist/unom-style.js b/dist/index.js similarity index 100% rename from dist/unom-style.js rename to dist/index.js diff --git a/package.json b/package.json index 092b08e..7044b1c 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,8 @@ ], "types": "dist/unom-style.d.ts", "exports": { + ".": "./dist/index.js", "./easings/easings": "./dist/easings/easings.js", - "./unom-style": "./dist/unom-style.js", "./package.json": "./package.json" }, "scripts": { diff --git a/src/unom-style.ts b/src/index.ts similarity index 100% rename from src/unom-style.ts rename to src/index.ts diff --git a/tsdown.config.ts b/tsdown.config.ts index 2472293..3230a42 100644 --- a/tsdown.config.ts +++ b/tsdown.config.ts @@ -1,7 +1,7 @@ import { defineConfig } from "tsdown"; export default defineConfig({ - entry: ["./src/unom-style.ts", "./src/easings/easings.ts"], + entry: ["./src/index.ts", "./src/easings/easings.ts"], format: "esm", dts: true, exports: true,