Skip to content

Commit

Permalink
remove source maps
Browse files Browse the repository at this point in the history
  • Loading branch information
elbywan committed Sep 13, 2017
1 parent 62525d4 commit deb6684
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
3 changes: 1 addition & 2 deletions dist/wretch.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion dist/wretch.js.map

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
},
"nyc": {
"reporter": [
"html",
"text"
"text",
"html"
]
}
}
6 changes: 3 additions & 3 deletions test/mock.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const preload = {
const mockServer = {
launch: port => {
const server = restify.createServer()
mockServer.server = server
mockServer["server"] = server

server.use(restify.plugins.queryParser())
server.use(restify.plugins.bodyParser())
Expand Down Expand Up @@ -56,7 +56,7 @@ const mockServer = {
server.listen(port)
},
stop: () => {
mockServer.server.close()
mockServer["server"].close()
}
}

Expand All @@ -72,7 +72,7 @@ const imgReply = (req, res) => {
}
const binaryReply = (req, res) => {
res.setHeader("content-type", "application/octet-stream")
const binaryData = new Buffer.from([ 0x00, 0x01, 0x02, 0x03 ])
const binaryData = Buffer.from([ 0x00, 0x01, 0x02, 0x03 ])
res.send(binaryData)
}

Expand Down
1 change: 0 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ module.exports = {
resolve: {
extensions: [".ts"]
},
devtool: "source-map",
module: {
loaders: [{
test: /\.tsx?$/,
Expand Down

0 comments on commit deb6684

Please sign in to comment.