Skip to content

Commit

Permalink
fix(client): fix dts export
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Feb 23, 2025
1 parent 3ccc513 commit 9821d16
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@waline/client",
"version": "3.5.4",
"version": "3.5.5",
"description": "client for waline comment system",
"keywords": [
"valine",
Expand Down
4 changes: 2 additions & 2 deletions packages/client/rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default [

// components
{
input: './src/entries/components.ts',
input: './src/entries/component.ts',
output: [
{
file: './dist/component.js',
Expand Down Expand Up @@ -166,7 +166,7 @@ export default [

// components declaration files
{
input: './src/components/WalineComment.d.ts',
input: './src/entries/component-type.d.ts',
output: [{ file: './dist/component.d.ts', format: 'esm' }],
plugins: [dts({ compilerOptions: { preserveSymlinks: false } })],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type {

import type { WalineProps } from '../typings/index.js';

declare const _default: DefineComponent<
export const Waline: DefineComponent<
WalineProps,
{},
{},
Expand All @@ -30,4 +30,4 @@ declare const _default: DefineComponent<
{},
HTMLDivElement
>;
export default _default;
export const version: string;
File renamed without changes.

0 comments on commit 9821d16

Please sign in to comment.