Skip to content

Commit 7aa53bc

Browse files
committed
feat(mp-alipay): 支持添加 sitemap.json 配置文件
1 parent 5418c88 commit 7aa53bc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/uni-mp-alipay/src/compiler/options.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,12 @@ export const options: UniMiniProgramPluginOptions = {
100100
targets: [
101101
...(process.env.UNI_MP_PLUGIN ? [copyMiniProgramPluginJson] : []),
102102
{
103-
src: ['customize-tab-bar', 'ext.json', 'preload.json'],
103+
src: [
104+
'customize-tab-bar',
105+
'ext.json',
106+
'preload.json',
107+
'sitemap.json',
108+
],
104109
get dest() {
105110
return process.env.UNI_OUTPUT_DIR
106111
},

0 commit comments

Comments
 (0)