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,