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

Sourcemaps not available for script and template at the same time #202

Closed
8 of 9 tasks
sawmurai opened this issue Jul 13, 2023 · 1 comment
Closed
8 of 9 tasks

Sourcemaps not available for script and template at the same time #202

sawmurai opened this issue Jul 13, 2023 · 1 comment

Comments

@sawmurai
Copy link

Related plugins

Describe the bug

Generating sourcemaps for the playground/vue-sourcemap example shows that, if a .vue file has a script and a template block, only the script block yields sourcemaps.

Reproduction

https://github.com/vitejs/vite-plugin-vue/tree/main/playground/vue-sourcemap

Steps to reproduce

Run pnpm install followed by pnpm run build and checkout the sourcemaps.

System Info

System:
    OS: Linux 5.19 Ubuntu 22.04.2 LTS 22.04.2 LTS (Jammy Jellyfish)
    CPU: (16) x64 AMD Ryzen 7 3800X 8-Core Processor
    Memory: 58.94 GB / 62.68 GB
    Container: Yes
    Shell: 3.6.1 - /usr/bin/fish
  Binaries:
    Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v16.14.0/bin/yarn
    npm: 8.3.1 - ~/.nvm/versions/node/v16.14.0/bin/npm
    pnpm: 8.6.7 - ~/.nvm/versions/node/v16.14.0/bin/pnpm
  Browsers:
    Chrome: 109.0.5414.74
    Chromium: 114.0.5735.198

Used Package Manager

pnpm

Logs

No response

Validations

@sawmurai
Copy link
Author

Apologies, it works fine when checking the source maps in the browser. Closing as a non-issue.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant