diff options
Diffstat (limited to 'vendor/twbs/bootstrap/build/generate-sri.js')
-rw-r--r-- | vendor/twbs/bootstrap/build/generate-sri.js | 12 |
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' } ] |