Closed revolunet closed 6 years ago
(tried with devtool: 'eval-source-map',
and every other option without luck)
This doesn't work for two reasons:
Thanks for the feedback ! so is there any way to fix this ?
when using browserify/brfs i think i had the sourcemaps working;
when using browserify/brfs i think i had the sourcemaps working;
I tried it again, but brfs
doesn't emit a SourceMap. coffeeify
does.
ok thanks man!
for a quick and dirty workaround: https://github.com/thaiat/webpack-babel-sourcemap
@thaiat solution worked for me ! move babel to the first loader and add a query block with retainLines: true
module: {
loaders: [{
test: /\.js$/,
loader: "babel",
exclude: /node_modules/,
include: __dirname,
query: {
retainLines: true,
cacheDirectory: true
}
}]
Hey!
When using transform-loader with babel looks like it breaks the source maps.
Here's my config :
when
transform
enabled, chrome directs me to the ES5 transpiled code. if i comment the line, i have the correct sources in chrome.any idea how to fix this ?
Thanks!