We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System: OS: macOS 13.3.1 CPU: (8) x64 Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz Memory: 33.02 MB / 16.00 GB Shell: 5.9 - /bin/zsh Browsers: Chrome: 120.0.6099.129 Safari: 16.4
我尝试用bundleless模式下打包d.ts 但是报错
{ buildType: 'bundleless', outDir: './dist/types', autoExternal: false, transformLodash: true, dts: { only: true, }, }
x
error ModuleBuildError:
bundleless DTS failed:
../../node_modules/parse5/dist/index.d.ts:1:15 - error TS1005: ',' expected.
1 import { type ParserOptions } from './parser/index.js'; ~~~~~~~~~~~~~
../../node_modules/parse5/dist/index.d.ts:4:15 - error TS1005: ',' expected.
4 export { type DefaultTreeAdapterMap, defaultTreeAdapter } from './tree-adapters/default.js';
The text was updated successfully, but these errors were encountered:
Can you give us a example? You can try to enable skipLibCheck.
Sorry, something went wrong.
If you still have any question, please reopen.
No branches or pull requests
版本信息
问题详情
我尝试用bundleless模式下打包d.ts 但是报错
复现链接
x
复现步骤
error ModuleBuildError:
bundleless DTS failed:
../../node_modules/parse5/dist/index.d.ts:1:15 - error TS1005: ',' expected.
1 import { type ParserOptions } from './parser/index.js';
~~~~~~~~~~~~~
../../node_modules/parse5/dist/index.d.ts:4:15 - error TS1005: ',' expected.
4 export { type DefaultTreeAdapterMap, defaultTreeAdapter } from './tree-adapters/default.js';
The text was updated successfully, but these errors were encountered: