Fixed module exports?
This commit is contained in:
parent
973a884b3e
commit
1d9ad2ef63
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user