Adding strip-sourcemap-loader for Safari source maps

This commit is contained in:
Tim Mickel 2016-01-13 15:20:19 -05:00
parent f16a22c346
commit 6e0356ef68
2 changed files with 7 additions and 0 deletions

View file

@ -20,6 +20,7 @@
"esformatter-quotes": "^1.0.3",
"esformatter-semicolons": "^1.1.2",
"eslint": "^1.10.3",
"strip-sourcemap-loader": "0.0.1",
"webpack": "^1.12.11"
},
"dependencies": {

View file

@ -1,4 +1,5 @@
module.exports = {
devtool: 'source-map',
entry: {
index: './src/entry/index.js',
editor: './src/entry/editor.js'
@ -9,6 +10,11 @@ module.exports = {
},
module: {
loaders: [
{
test: /\.js$/,
include: /node_modules/,
loaders: ['strip-sourcemap-loader']
},
{
loader: 'babel-loader',
exclude: /node_modules/,