Skip to content

Conversation

@mackwang112
Copy link
Collaborator

当 defineOptions 存在 ObjectMethod 语法构建报错

TypeError: Cannot read properties of undefined (reading 'start')
    at compileScriptSetup (/node_modules/@mpxjs/webpack-plugin/lib/script-setup-compiler/index.js:608:51)
  defineOptions({
    ready() {}, // 报错
    ready: function (){} // 正常
  })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants