Commit 23f3917e authored by Emma's avatar Emma 🦉

update dependencies/enable asset integrity hashes

parent 351a1524
Pipeline #55129315 passed with stage
in 56 seconds
This diff is collapsed.
{
"private": true,
"devDependencies": {
"@symfony/webpack-encore": "^0.24.0",
"@symfony/webpack-encore": "^0.26.0",
"font-blast": "^0.7.0",
"fontello-cli": "git+https://git@gitlab.com/postmill/fontello-cli.git",
"less": "^3.9.0",
......
......@@ -2,12 +2,12 @@
{% if hierarchy[0].appendToDefaultStyle ?? true %}
{% if not night_mode %}
<link rel="stylesheet" href="{{ preload(asset('build/postmill.css')) }}">
{{ encore_entry_link_tags('postmill') }}
{% else %}
<link rel="stylesheet" href="{{ preload(asset('build/postmill-night.css')) }}">
{{ encore_entry_link_tags('postmill-night') }}
{% endif %}
<link rel="stylesheet" href="{{ preload(asset('build/core.css')) }}">
{{ encore_entry_link_tags('core') }}
{% endif %}
{% for revision in hierarchy %}
......
......@@ -18,6 +18,7 @@ Encore
.enableSingleRuntimeChunk()
.enableSourceMaps(!Encore.isProduction())
.enableVersioning()
.enableIntegrityHashes()
.setOutputPath('public/build/')
.setPublicPath('/build')
.createSharedEntry('vendor', './assets/js/vendor.js');
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment