chore: wording

This commit is contained in:
CNine 2020-04-20 23:26:33 +08:00
parent 0792906b23
commit c934ae6d38
1 changed files with 2 additions and 2 deletions

View File

@ -149,8 +149,8 @@ module.exports = {
// 已适配多页
if (process.env.VUE_APP_BUILD_MODE !== 'NOMOCK') {
const multiEntry = keys(pages || {})
const entrys = multiEntry.length ? multiEntry : ['app']
each(entrys, entry => {
const entries = multiEntry.length ? multiEntry : ['app']
each(entries, entry => {
config.entry(entry).add('@/mock').end()
})
}