-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
productionSourceMap not built #84
Comments
I can confirm this still doesnt work. But you can at least easily workaround it by setting devtool manually in your module.exports = {
// productionSourceMap: true, // doesnt work currently
chainWebpack: (config) => {
config
.devtool('source-map')
}
} Edit: If you do this, you'll get a very ugly error in production build (when going to a subroute on first request): vuejs/vue#9488. Because of this, you will also need css: {
extract: true,
sourceMap: true,
} in your vue.config.js, so the css mappings are also generated. Not sure if the And if you're getting a Good thing I didnt just lose 5 hours on this :-/ |
Client-source maps are never built in production mode:
vue-cli-plugin-ssr/lib/webpack.js
Line 65 in 2037d18
vue.config.js includes a
productionSourceMap
option, that istrue
by default.:https://cli.vuejs.org/config/#productionsourcemap
IMHO it should be considered as in
https://github.com/vuejs/vue-cli/blob/2cf5849222db24ce5c3b5607513f32ac79a476a7/packages/%40vue/cli-service/lib/config/prod.js#L13
version: @akryum/[email protected]
The text was updated successfully, but these errors were encountered: