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

Prettier package showing unexpected behaviour with Vite 3 #9277

Closed
7 tasks done
fwouts opened this issue Jul 21, 2022 · 1 comment
Closed
7 tasks done

Prettier package showing unexpected behaviour with Vite 3 #9277

fwouts opened this issue Jul 21, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@fwouts
Copy link
Contributor

fwouts commented Jul 21, 2022

Describe the bug

Using Prettier's browser API results in unexpected behaviour (but not a crash) when running a Vite 3 build, compared to dev mode or a Vite 2 build.

Reproduction

https://github.com/fwouts/vite3-prettier-bug

System Info

System:
    OS: macOS 12.3.1
    CPU: (8) arm64 Apple M1
    Memory: 85.38 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 8.9.0 - ~/.config/yarn/global/node_modules/.bin/npm
  Browsers:
    Chrome: 103.0.5060.114
    Firefox: 102.0.1
    Safari: 15.4
  npmPackages:
    vite: ^3.0.0 => 3.0.2

Used Package Manager

pnpm

Logs

No response

Validations

@sapphi-red
Copy link
Member

Duplicate of #9191.

@sapphi-red sapphi-red closed this as not planned Won't fix, can't repro, duplicate, stale Jul 21, 2022
@sapphi-red sapphi-red added duplicate This issue or pull request already exists and removed pending triage labels Jul 21, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Aug 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants