source maps!

(I think)
This commit is contained in:
Devin Howard 2016-10-01 12:32:40 +08:00
parent 1562d8fcfe
commit fdf03ac83a

View file

@ -26,7 +26,7 @@ const config = module.exports = {
test: /\.(js|jsx)?$/,
exclude: /node_modules/,
loaders: [
"babel-loader?cacheDirectory"
"babel-loader?cacheDirectory&retainLines=true"
]
}
]
@ -36,6 +36,7 @@ const config = module.exports = {
},
output: {
path: './app/assets/javascripts/webpacked',
filename: '[name].js'
filename: '[name].js',
devtoolModuleFilenameTemplate: '[absolute-resource-path]'
}
}