fix exports
This commit is contained in:
0
dist/unom-style.d.ts → dist/index.d.ts
vendored
0
dist/unom-style.d.ts → dist/index.d.ts
vendored
0
dist/unom-style.js → dist/index.js
vendored
0
dist/unom-style.js → dist/index.js
vendored
@@ -9,8 +9,8 @@
|
|||||||
],
|
],
|
||||||
"types": "dist/unom-style.d.ts",
|
"types": "dist/unom-style.d.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
".": "./dist/index.js",
|
||||||
"./easings/easings": "./dist/easings/easings.js",
|
"./easings/easings": "./dist/easings/easings.js",
|
||||||
"./unom-style": "./dist/unom-style.js",
|
|
||||||
"./package.json": "./package.json"
|
"./package.json": "./package.json"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { defineConfig } from "tsdown";
|
import { defineConfig } from "tsdown";
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
entry: ["./src/unom-style.ts", "./src/easings/easings.ts"],
|
entry: ["./src/index.ts", "./src/easings/easings.ts"],
|
||||||
format: "esm",
|
format: "esm",
|
||||||
dts: true,
|
dts: true,
|
||||||
exports: true,
|
exports: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user