Skip to content

Commit 1cf8849

Browse files
committed
chore(uniapp): 生成changelog.json 供mcp 获取组件变更日志
1 parent 4c25231 commit 1cf8849

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/tdesign-uniapp-chat/site/vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { defineConfig, loadEnv } from 'vite';
33
import vue from '@vitejs/plugin-vue';
44
import vueJsx from '@vitejs/plugin-vue-jsx';
55

6-
// import changelog2Json from './web/plugins/changelog-to-json';
6+
import changelog2Json from './web/plugins/changelog-to-json';
77
import tdocPlugin from './web/plugins/plugin-tdoc';
88

99
const resolvePath = (r) => path.resolve(__dirname, r);
@@ -100,7 +100,7 @@ export default ({ mode }) => {
100100
isCustomElement,
101101
}),
102102
tdocPlugin(mode),
103-
// changelog2Json(),
103+
changelog2Json(),
104104
disableTreeShakingPlugin(['style/', 'toast/']),
105105
],
106106
});

packages/tdesign-uniapp/site/vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { defineConfig, loadEnv } from 'vite';
33
import vue from '@vitejs/plugin-vue';
44
import vueJsx from '@vitejs/plugin-vue-jsx';
55

6-
// import changelog2Json from './web/plugins/changelog-to-json';
6+
import changelog2Json from './web/plugins/changelog-to-json';
77
import tdocPlugin from './web/plugins/plugin-tdoc';
88

99
const resolvePath = (r) => path.resolve(__dirname, r);
@@ -100,7 +100,7 @@ export default ({ mode }) => {
100100
isCustomElement,
101101
}),
102102
tdocPlugin(mode),
103-
// changelog2Json(),
103+
changelog2Json(),
104104
disableTreeShakingPlugin(['style/', 'toast/']),
105105
],
106106
});

0 commit comments

Comments
 (0)