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

4.3.0-beta.3: postcss-import resolveId is not a function #12795

Closed
7 tasks done
intrnl opened this issue Apr 8, 2023 · 0 comments · Fixed by #12796
Closed
7 tasks done

4.3.0-beta.3: postcss-import resolveId is not a function #12795

intrnl opened this issue Apr 8, 2023 · 0 comments · Fixed by #12796
Assignees

Comments

@intrnl
Copy link
Contributor

intrnl commented Apr 8, 2023

Describe the bug

#12770 removed the resolve dependency from postcss-import by stubbing it, but it seems that I've encountered a situation where the import plugin actually calls out to that dependency.

https://github.com/postcss/postcss-import/blob/08dc5e76cf60ec40a81c4c12d3514a9b71088309/index.js#L318

Reproduction

https://github.com/intrnl/vite-postcss-resolveid

Steps to reproduce

  1. pnpm install
  2. pnpm dev

System Info

System:
    OS: Linux 6.2 Arch Linux
    CPU: (16) x64 AMD Ryzen 7 5700U with Radeon Graphics
    Memory: 13.34 GB / 18.41 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 19.8.1 - /run/user/1000/fnm_multishells/17134_1680994027551/bin/node
    npm: 9.5.1 - /run/user/1000/fnm_multishells/17134_1680994027551/bin/npm
    Watchman: 20230222.123454.0 - /usr/bin/watchman
  Browsers:
    Chromium: 112.0.5615.49
  npmPackages:
    vite: 4.3.0-beta.3 => 4.3.0-beta.3

Used Package Manager

pnpm

Logs

No response

Validations

@volta-net volta-net bot assigned bluwy Apr 9, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Apr 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants