0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-26 23:54:23 +01:00

fix: temp trick to deploy on Netlify

This commit is contained in:
Julien Déramond 2025-02-26 22:21:38 +01:00
parent ea25cec081
commit b18060eed0
No known key found for this signature in database
GPG Key ID: EE5F274EA1F477FA
2 changed files with 4 additions and 4 deletions

View File

@ -19,11 +19,11 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url))
sh.config.fatal = true
const configFile = path.join(__dirname, '../hugo.yml')
const configFile = path.join(__dirname, '../config.yml')
// Array of objects which holds the files to generate SRI hashes for.
// `file` is the path from the root folder
// `configPropertyName` is the hugo.yml variable's name of the file
// `configPropertyName` is the config.yml variable's name of the file
const files = [
{
file: 'dist/css/bootstrap.min.css',

View File

@ -94,10 +94,10 @@
"watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm-run-all js-lint js-compile\"",
"watch-js-docs": "nodemon --watch site/assets/js/ --ext js --exec \"npm run js-lint\"",
"astro-dev": "astro dev --root site --port 9001",
"astro-build": "astro build --root site",
"astro-build": "astro build --root site-new && rm -rf _site && cp -r site-new/dist _site",
"astro-preview": "astro preview --root site",
"astro-lint": "prettier --config site/.prettierrc.json -c --cache site && astro check --root site && tsc -p site --noEmit",
"astro-netlify": "npm-run-all dist release-sri astro-build"
"netlify": "npm-run-all dist release-sri astro-build"
},
"peerDependencies": {
"@popperjs/core": "^2.11.8"