aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/build/generate-sri.js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-06-07 12:56:27 +0200
committerMario <mario@mariovavti.com>2021-06-07 12:56:27 +0200
commitf3b4308cb59bf4b21ff186f8479c82239446d139 (patch)
tree0dcbdcffcfe0dd678958cbcc34f41cb1c470c69b /vendor/twbs/bootstrap/build/generate-sri.js
parent67322c12643ced03bec0be70667f8b1c45de752f (diff)
downloadvolse-hubzilla-f3b4308cb59bf4b21ff186f8479c82239446d139.tar.gz
volse-hubzilla-f3b4308cb59bf4b21ff186f8479c82239446d139.tar.bz2
volse-hubzilla-f3b4308cb59bf4b21ff186f8479c82239446d139.zip
upgrade to bootstrap 5.0.1 and first batch of fixes
Diffstat (limited to 'vendor/twbs/bootstrap/build/generate-sri.js')
-rw-r--r--vendor/twbs/bootstrap/build/generate-sri.js12
1 files changed, 5 insertions, 7 deletions
diff --git a/vendor/twbs/bootstrap/build/generate-sri.js b/vendor/twbs/bootstrap/build/generate-sri.js
index f0aa7340b..221873b8f 100644
--- a/vendor/twbs/bootstrap/build/generate-sri.js
+++ b/vendor/twbs/bootstrap/build/generate-sri.js
@@ -17,8 +17,6 @@ const fs = require('fs')
const path = require('path')
const sh = require('shelljs')
-const pkg = require('../package.json')
-
sh.config.fatal = true
const configFile = path.join(__dirname, '../config.yml')
@@ -32,6 +30,10 @@ const files = [
configPropertyName: 'css_hash'
},
{
+ file: 'dist/css/bootstrap.rtl.min.css',
+ configPropertyName: 'css_rtl_hash'
+ },
+ {
file: 'dist/js/bootstrap.min.js',
configPropertyName: 'js_hash'
},
@@ -40,11 +42,7 @@ const files = [
configPropertyName: 'js_bundle_hash'
},
{
- file: `site/static/docs/${pkg.config.version_short}/assets/js/vendor/jquery.slim.min.js`,
- configPropertyName: 'jquery_hash'
- },
- {
- file: 'node_modules/popper.js/dist/umd/popper.min.js',
+ file: 'node_modules/@popperjs/core/dist/umd/popper.min.js',
configPropertyName: 'popper_hash'
}
]