Remove unused filters in index.ejs

merge-requests/35/head
Alex Gleason 4 years ago
parent 27dfc64261
commit badd64571f
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

@ -13,8 +13,6 @@
<script id="css-chunks" type="application/json">[<%=
compilation.getAssets()
.filter(a => a.name.match(/^css\/(.*).css$/))
.filter(a => !a.name.startsWith('css/common'))
.filter(a => !a.name.startsWith('css/mailer'))
.map(a => a.name.substr(4, a.name.length-14))
.map(a => `"${a}"`)
.join(',')

Loading…
Cancel
Save