Skip to content

Commit

Permalink
feat(mp-alipay): copy preload.json
Browse files Browse the repository at this point in the history
  • Loading branch information
yurj26 committed Jul 19, 2023
1 parent d2d22d9 commit dca594c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/uni-mp-alipay/lib/uni.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
project: 'mini.project.json'
},
copyWebpackOptions (platformOptions, vueOptions) {
const copyOptions = ['mycomponents', 'customize-tab-bar', 'ext.json']
const copyOptions = ['mycomponents', 'customize-tab-bar', 'ext.json', 'preload.json']

global.uniModules.forEach(module => {
copyOptions.push('uni_modules/' + module + '/mycomponents')
Expand All @@ -38,4 +38,4 @@ module.exports = {

return copyOptions
}
}
}

0 comments on commit dca594c

Please sign in to comment.