kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Remove unused filters in index.ejs
rodzic
27dfc64261
commit
badd64571f
|
@ -13,8 +13,6 @@
|
||||||
<script id="css-chunks" type="application/json">[<%=
|
<script id="css-chunks" type="application/json">[<%=
|
||||||
compilation.getAssets()
|
compilation.getAssets()
|
||||||
.filter(a => a.name.match(/^css\/(.*).css$/))
|
.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.name.substr(4, a.name.length-14))
|
||||||
.map(a => `"${a}"`)
|
.map(a => `"${a}"`)
|
||||||
.join(',')
|
.join(',')
|
||||||
|
|
Ładowanie…
Reference in New Issue