mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2025-02-17 17:01:12 -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-quotes": "^1.0.3",
|
||||||
"esformatter-semicolons": "^1.1.2",
|
"esformatter-semicolons": "^1.1.2",
|
||||||
"eslint": "^1.10.3",
|
"eslint": "^1.10.3",
|
||||||
|
"strip-sourcemap-loader": "0.0.1",
|
||||||
"webpack": "^1.12.11"
|
"webpack": "^1.12.11"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
devtool: 'source-map',
|
||||||
entry: {
|
entry: {
|
||||||
index: './src/entry/index.js',
|
index: './src/entry/index.js',
|
||||||
editor: './src/entry/editor.js'
|
editor: './src/entry/editor.js'
|
||||||
|
@ -9,6 +10,11 @@ module.exports = {
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
loaders: [
|
loaders: [
|
||||||
|
{
|
||||||
|
test: /\.js$/,
|
||||||
|
include: /node_modules/,
|
||||||
|
loaders: ['strip-sourcemap-loader']
|
||||||
|
},
|
||||||
{
|
{
|
||||||
loader: 'babel-loader',
|
loader: 'babel-loader',
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
|
|
Loading…
Reference in a new issue