Skip to content

Commit 379c56f

Browse files
committed
build success
1 parent 4ba3260 commit 379c56f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

rollup.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ export default [
3737
},
3838
],
3939
plugins: [
40-
typescript(),
4140
useSrc({
4241
ext: [
4342
'.astro',
@@ -51,18 +50,18 @@ export default [
5150
],
5251
dir,
5352
}),
53+
typescript(),
5454
],
5555
},
5656
{
57-
input: 'src/index.ts',
57+
input: 'dist/src/index.d.ts',
5858
output: [
5959
{
6060
file: 'dist/index.d.ts',
6161
format: 'es',
6262
},
6363
],
6464
plugins: [
65-
dts(),
6665
useSrc({
6766
ext: [
6867
'.astro',
@@ -76,6 +75,7 @@ export default [
7675
],
7776
dir,
7877
}),
78+
dts(),
7979
],
8080
},
8181
]

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,3 @@ export default {
3333
} satisfies ClubsFunctionPlugin
3434

3535
export * from './types'
36-
export * from './components'

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"extends": "astro/tsconfigs/strict",
33
"compilerOptions": {
44
"noEmit": false,
5+
"emitDeclarationOnly": true,
56
"outDir": "dist",
67
"rootDir": ".",
78
"declaration": true,

0 commit comments

Comments
 (0)