-
Notifications
You must be signed in to change notification settings - Fork 84
Error: "Sourcemap is likely to be incorrect" usiing rolloutOptions.output.sourcemap = true #34
Comments
FYI It looks like sourcemaps are part of the TODO section at the bottom of the README. (PS: I do see this as well when enabling |
@underfin is there any roadmap for implementing the source maps support yet? Right now this is the only deal-breaker of Vite migration on multiple of our projects. |
Sorry for later feedback. I'm a little busy for work. I will take a look at this week. |
Fixed at #84 |
I'm still seeing this in my Vite projects that use your excellent
"devDependencies": {
"@rollup/plugin-node-resolve": "^13.0.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"autoprefixer": "^10.4.0",
"eslint": "^8.0.0",
"eslint-plugin-vue": "^8.0.0",
"postcss": "^8.0.0",
"rollup-plugin-visualizer": "^5.0.0",
"stylelint": "^14.0.0",
"stylelint-config-recommended": "^6.0.0",
"stylelint-config-standard-scss": "^3.0.0",
"stylelint-config-recommended-vue": "^1.0.0",
"tailwindcss": "^3.0.0",
"vite": "^2.7.0",
"vite-plugin-eslint": "^1.3.0",
"vite-plugin-compression": "^0.4.0",
"vite-plugin-externals": "^0.3.2",
"vite-plugin-restart": "0.0.2",
"vite-plugin-stylelint": "^1.1.0",
"vite-plugin-vue2": "^1.9.0"
}, |
I am also facing the issue: Below is the source map file content: |
I try to generate bundle files together with sourcemaps by running
vite build
and receive these errors:vite.config.ts
Dependencies and system data
vite:
2.0.0-beta.65
vite-plugin-vue2:
1.2.0
vue:
2.6.12
Node.js:
v14.15.4
I think this issue might be related to the one I've described: vitejs/vite#1677
The text was updated successfully, but these errors were encountered: