-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Labels
p3-minor-bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)plugin: legacy
Description
Describe the bug
This code is rendered as part of a chunk rather than a standalone script tag so the sha CSP does not work for it.
Reproduction
Can supply if not obvious.
System Info
System:
OS: Linux 5.10 Ubuntu 20.04.2 LTS (Focal Fossa)
CPU: (16) x64 11th Gen Intel(R) Core(TM) i9-11900KF @ 3.50GHz
Memory: 6.01 GB / 12.38 GB
Container: Yes
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 14.17.0 - ~/.asdf/installs/nodejs/14.17.0/bin/node
Yarn: 1.22.5 - ~/.asdf/shims/yarn
npm: 6.14.13 - ~/.asdf/installs/nodejs/14.17.0/bin/npm
npmPackages:
@vitejs/plugin-vue: ^1.4.0 => 1.4.0
vite: ^2.5.0-beta.2 => 2.5.0-beta.2Used Package Manager
yarn
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
p3-minor-bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)plugin: legacy