mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-25 00:28:20 -05:00
Adding strip-sourcemap-loader for Safari source maps
This commit is contained in:
parent
f16a22c346
commit
6e0356ef68
2 changed files with 7 additions and 0 deletions
|
@ -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": {
|
||||
|
|
|
@ -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/,
|
||||
|
|
Loading…
Reference in a new issue