+
Skip to content

Commit c976f4c

Browse files
committed
fix: Fixed typo
1 parent 9289977 commit c976f4c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

scripts/rollup.config.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,27 @@ export default defineConfig(() => {
227227
}))
228228
});
229229

230+
// DTS Build Config
231+
config.push({
232+
...commonOptions,
233+
input: makeDtsEntry('src/index.ts'),
234+
plugins: [
235+
Dts({
236+
tsconfig,
237+
compilerOptions: {
238+
composite: false,
239+
customConditions: ['develop']
240+
},
241+
respectExternal: /@whoj\/utils-(?:core|types)/.test(name)
242+
})
243+
],
244+
output: outputFileConfig({
245+
input,
246+
ext: 'd.ts',
247+
format: 'esm'
248+
})
249+
});
250+
230251
return config;
231252
});
232253

0 commit comments

Comments
 (0)
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载