Fixed module exports?
All checks were successful
Build / Build NPM Project (push) Successful in 38s
Build / Tag Version (push) Successful in 5s
Build / Publish (push) Successful in 7s

This commit is contained in:
Zakary Timson 2024-06-16 08:29:49 -04:00
parent 973a884b3e
commit 1d9ad2ef63

View File

@ -1,6 +1,6 @@
{ {
"name": "@ztimson/utils", "name": "@ztimson/utils",
"version": "0.11.0", "version": "0.11.1",
"description": "Utility library", "description": "Utility library",
"author": "Zak Timson", "author": "Zak Timson",
"license": "MIT", "license": "MIT",
@ -12,6 +12,12 @@
"main": "./dist/utils.cjs", "main": "./dist/utils.cjs",
"module": "./dist/utils.mjs", "module": "./dist/utils.mjs",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/utils.cjs",
"import": "./dist/utils.mjs"
}
},
"scripts": { "scripts": {
"build": "npx tsc && npx vite build", "build": "npx tsc && npx vite build",
"test": "npx jest", "test": "npx jest",