Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing package.json and using better-define throws SyntaxError #381

Closed
5 tasks done
zam157 opened this issue May 26, 2023 · 2 comments
Closed
5 tasks done

Importing package.json and using better-define throws SyntaxError #381

zam157 opened this issue May 26, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@zam157
Copy link

zam157 commented May 26, 2023

Describe the bug

After updating vue-macros version to 2.2.0, importing package.json and using better-define throws SyntaxError
image

Reproduction

https://stackblitz.com/edit/github-pwbvmq?file=src%2FApp.vue

System Info

CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz
    Memory: 4.48 GB / 15.70 GB
  Binaries:
    Node: 18.15.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 9.6.6 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.1702.0), Chromium (113.0.1774.50)
    Internet Explorer: 11.0.22621.1

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@stackblitz
Copy link

stackblitz bot commented May 26, 2023

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

@sxzz sxzz added the bug Something isn't working label May 26, 2023
@sxzz sxzz closed this as completed in 34be70e May 26, 2023
@sxzz
Copy link
Member

sxzz commented May 26, 2023

Released as unplugin-vue-macros@2.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants