Build fix
All checks were successful
Lint / lint (push) Successful in 11s
Test build / test-build (pull_request) Successful in 15s

This commit is contained in:
Julien Valverdé
2024-08-20 02:22:46 +02:00
parent ca1d28a93c
commit a8229bc0cf
2 changed files with 13 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@thilawyn/thilalib",
"version": "0.1.9",
"version": "0.1.10",
"type": "module",
"files": [
"./dist"
@@ -27,16 +27,6 @@
"default": "./dist/Layers/index.cjs"
}
},
"./Types": {
"import": {
"types": "./dist/Types/index.d.ts",
"default": "./dist/Types/index.js"
},
"require": {
"types": "./dist/Types/index.d.cts",
"default": "./dist/Types/index.cjs"
}
},
"./Schema": {
"import": {
"types": "./dist/Schema/index.d.ts",
@@ -56,6 +46,16 @@
"types": "./dist/Schema/MobX/index.d.cts",
"default": "./dist/Schema/MobX/index.cjs"
}
},
"./Types": {
"import": {
"types": "./dist/Types/index.d.ts",
"default": "./dist/Types/index.js"
},
"require": {
"types": "./dist/Types/index.d.cts",
"default": "./dist/Types/index.cjs"
}
}
},
"scripts": {

View File

@@ -4,9 +4,10 @@ import { defineConfig } from "tsup"
export default defineConfig({
entry: [
"./src/index.ts",
"./src/Types/index.ts",
"./src/Layers/index.ts",
"./src/Schema/index.ts",
"./src/Schema/MobX/index.ts",
"./src/Types/index.ts",
],
format: ["esm", "cjs"],
skipNodeModulesBundle: true,