Skip to content

Commit 227a1cd

Browse files
fix: remove dts plugin, instead of buildin
1 parent 5059881 commit 227a1cd

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

rolldown.config.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import type { RolldownOutputPlugin } from 'node_modules/rolldown/dist/types/plug
33
import type { OutputOptions, RolldownOptions, RolldownPlugin } from 'rolldown'
44
import type { Options as ESBuildOptions } from 'rollup-plugin-esbuild'
55
import fs from 'node:fs'
6-
import dts from 'rollup-plugin-dts'
76
import esbuild from 'rollup-plugin-esbuild'
87
import { PluginPure as pure } from 'rollup-plugin-pure'
98
import { globSync } from 'tinyglobby'
@@ -14,7 +13,6 @@ const functions = metadata.functions as PackageIndexes['functions']
1413
const configs: RolldownOptions[] = []
1514

1615
const pluginEsbuild = esbuild()
17-
const pluginDts = dts()
1816
const pluginPure = pure({
1917
functions: ['defineComponent'],
2018
})
@@ -133,9 +131,6 @@ export function createRolldownConfig(
133131
{ file: `${fn}.d.mts` },
134132
{ file: `${fn}.d.ts` }, // for node10 compatibility
135133
],
136-
plugins: [
137-
pluginDts as RolldownPlugin,
138-
],
139134
external: [
140135
...externals,
141136
...(external || []),
@@ -173,9 +168,6 @@ export function createRolldownConfig(
173168
{ file: `${fn}/component.d.mts` },
174169
{ file: `${fn}/component.d.ts` }, // for node10 compatibility
175170
],
176-
plugins: [
177-
pluginDts as RolldownPlugin,
178-
],
179171
external: [
180172
...externals,
181173
...(external || []),

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy