source maps!
(I think)
This commit is contained in:
parent
1562d8fcfe
commit
fdf03ac83a
1 changed files with 3 additions and 2 deletions
|
@ -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]'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue