Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Don't add {css,js}.map from dapps (#6931)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr committed Oct 30, 2017
1 parent 39e2707 commit 152e56c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion js/webpack/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,11 @@ module.exports = {
: Api.util.sha3(dapp.url);

return [
'index.html', 'dist.css', 'dist.css.map', 'dist.js', 'dist.js.map'
'index.html', 'dist.css', 'dist.js',
isProd ? null : 'dist.css.map',
isProd ? null : 'dist.js.map'
]
.filter((file) => file)
.map((file) => path.join(dir, file))
.filter((from) => fs.existsSync(from))
.map((from) => ({
Expand Down

0 comments on commit 152e56c

Please sign in to comment.