Don't add {css,js}.map from dapps (#6931)
This commit is contained in:
parent
39e27076ad
commit
152e56c5d9
@ -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) => ({
|
||||
|
Loading…
Reference in New Issue
Block a user