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

less inline import for http urls is not working #12155

Closed
7 tasks done
lubomirblazekcz opened this issue Feb 22, 2023 · 0 comments · Fixed by #12195
Closed
7 tasks done

less inline import for http urls is not working #12155

lubomirblazekcz opened this issue Feb 22, 2023 · 0 comments · Fixed by #12195
Labels
feat: css p3-minor-bug An edge case that only affects very specific usage (priority)

Comments

@lubomirblazekcz
Copy link
Contributor

Describe the bug

Inline http imports in less are not working within Vite.
If you run lessc on the same file in the repro on stackblitz, it works correctly.

Reproduction

https://stackblitz.com/edit/vitejs-vite-kzcmnx

Steps to reproduce

No response

System Info

System:
    OS: macOS 13.0.1
    CPU: (8) arm64 Apple M1
    Memory: 132.69 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 19.5.0 - /opt/homebrew/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.3.1 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 110.0.5481.100
    Firefox: 110.0
    Safari: 16.1
    Safari Technology Preview: 16.4
  npmPackages:
    vite: ^4.1.4 => 4.1.4

Used Package Manager

npm

Logs

No response

Validations

@sapphi-red sapphi-red added feat: css p3-minor-bug An edge case that only affects very specific usage (priority) labels Feb 24, 2023
sun0day added a commit to sun0day/vite that referenced this issue Feb 25, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feat: css p3-minor-bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants