fix: update TypeScript definition path in package.json and configure dts plugin with tsconfig path
All checks were successful
Publish to npm / publish (push) Successful in 28s
All checks were successful
Publish to npm / publish (push) Successful in 28s
This commit is contained in:
parent
69dcbd282f
commit
952b053e9c
|
@ -37,7 +37,7 @@
|
|||
},
|
||||
"main": "dist/index.cjs.js",
|
||||
"module": "dist/datenel.es.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"types": "dist/src/index.d.ts",
|
||||
"files": [
|
||||
"dist"
|
||||
]
|
||||
|
|
|
@ -20,8 +20,7 @@ export default defineConfig(({mode}) => ({
|
|||
},
|
||||
},
|
||||
plugins: [react(), dts({
|
||||
insertTypesEntry: true,
|
||||
logLevel: "info"
|
||||
tsconfigPath: "./tsconfig.app.json"
|
||||
})],
|
||||
resolve: {
|
||||
alias: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user