-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
support sourcemap #1
support sourcemap #1
Comments
Any updates? |
May we have sourcemap support or just skipping sourcemaps for locale files, but not broke it at all?
{"version":3,"file":"main.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"} |
Is there any way to solve this? I'm getting this same error while trying to generate sourcemaps for Sentry. |
I would really like to support it ... |
@kazupon how can we (Cypress) help? |
Hello! @JessicaSachs 😺 At the time, I had a hard time mapping the source map retrieved from the rollup to the source map returned by the json and yaml generator. If you (Cypress) can support it, I would be really happy. |
I've just fixed it and released out |
Thank you! |
We are missing a source map with Console ErrorDevTools failed to load source map: Could not load content for http://localhost:3000/@vite/client.mjs.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE Steps to reproduce
package.json {
"name": "my-vue-app",
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@intlify/vite-plugin-vue-i18n": "^3.2.1",
"vue": "^3.2.25",
"vue-i18n": "^9.1.9"
},
"devDependencies": {
"@vitejs/plugin-vue": "^2.0.1",
"vite": "^2.7.12"
}
} vite.config.js import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import i18n from '@intlify/vite-plugin-vue-i18n'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue(), i18n()],
}) EnvironmentmacOS 12.1 I can see the inlined source map for http://localhost:3000/@vite/client when I don't have installed the plugin, that's why I suspect that it's related. I don't know how I can help to fix it, I hope somebody can address me. |
Can confirm this problem exists, also running macOS 12.1 and tried in Chrome and Safari. If @kazupon has very little time to look into it, perhaps he can point us in the right direction to look for a fix ourselves so we can make a pull request? |
Hmm 🤔 , The issue with no support for source map has been resolved. The new issue will be opened as a separate #82 Thanks! |
No description provided.
The text was updated successfully, but these errors were encountered: