webpack-contrib / babel-minify-webpack-plugin

[DEPRECATED] Babel Minify Webpack Plugin
MIT License
491 stars 44 forks source link

source maps issue #23

Open pavel06081991 opened 7 years ago

pavel06081991 commented 7 years ago

I used devtool: 'source-map' in webpack config and did not use babili-webpack-plugin. Here are some code of my source file:

var b = 1024;

console.log(10)

All worked great, I could set breakpoint to line: var b = 1024; and to line console.log(10) Also I could see the value of "b" variable during debugging.

But after I added babili-webpack-plugin I can not see the value of "b" variable. Also now I can set breakpoint only to line: console.log(10) and can not set breakpoint to line: var b = 1024;

Is it an issue or maybe I do something wrong? Here is part of my webpack.config.js

const config = {
    devtool: 'source-map',
    plugins: [
        new BabiliPlugin({}, {
            comments: false
        })
    ]
}
jknight12882 commented 7 years ago

+1 on this, it is screwing up any ability to set breakpoints and debug

pavel06081991 commented 7 years ago

Are there any updates on this issue?

QuentinRoy commented 7 years ago

I have the same kind of issues except that I barely see any source maps at all once I activate the babili plugin... Is it possible that there is an incompatibility between the Babili plugin and ExtractTextPlugin, or handlebars-loader ?