mirror of
https://github.com/joeytoday/obsidian-mp-publisher.git
synced 2026-07-22 06:53:08 +00:00
- 提取图片获取工具函数 fetchImageAsArrayBuffer (image-utils.ts) - 提取 Juice CSS 内联工具函数 inlineCSSWithJuice (css-props.ts) - 定义图片描述样式常量 IMAGE_CAPTION_STYLE - 提取 TreeWalker 文本节点收集工具函数 collectTextNodes (dom-utils.ts) - 提取 HTML 解析工具函数 parseHtmlToContainer (dom-utils.ts) - 修复 setCssProps 替代直接 style 设置 (converter.ts, copyManager.ts) - 修复 setTimeout → window.setTimeout (copyManager.ts) - 修复 unsafe any 类型赋值 (wechat.ts, modals.ts, view.ts) - 修复不必要的类型断言 (converter.ts, themeManagerView.ts) - 修复 Promise returned in void function (view.ts)
29 lines
499 B
JSON
29 lines
499 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"inlineSourceMap": true,
|
|
"inlineSources": true,
|
|
"module": "ESNext",
|
|
"target": "ES6",
|
|
"allowJs": true,
|
|
"noImplicitAny": true,
|
|
"moduleResolution": "node",
|
|
"importHelpers": true,
|
|
"isolatedModules": true,
|
|
"strictNullChecks": true,
|
|
"lib": [
|
|
"DOM",
|
|
"ES5",
|
|
"ES6",
|
|
"ES7"
|
|
]
|
|
},
|
|
"include": [
|
|
"**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"skills",
|
|
"**/*.test.ts",
|
|
"vitest.config.ts"
|
|
]
|
|
}
|