Skip to content

Commit 54d2a1e

Browse files
committed
updated packages including Bootstrap (5.3.0 to 5.3.2)
1 parent 1f94365 commit 54d2a1e

File tree

8 files changed

+385
-434
lines changed

8 files changed

+385
-434
lines changed

gulpfile.mjs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// FIRST LOAD EVERYTHING NEEDED…
22
import { readFileSync } from "fs";
33
import { deleteAsync } from "del";
4-
import { compile as nunjucksCompile } from "gulp-nunjucks";
4+
import { nunjucksCompile } from "gulp-nunjucks";
55
import gulp from "gulp";
66
const { series, parallel, src, dest, watch } = gulp;
77
import sass from "gulp-dart-sass";
@@ -34,7 +34,7 @@ const cleanupStatic = () =>
3434
"dist/**/*", // delete all files from /dist/
3535
"!dist/**/*.{html,css,css.map}", // except HTML, CSS and CSS map files
3636
],
37-
{ onlyFiles: true } // do not delete folders (would delete all folders otherwise)
37+
{ onlyFiles: true }, // do not delete folders (would delete all folders otherwise)
3838
);
3939

4040
// 2) functions that generate files
@@ -57,7 +57,7 @@ const sassCompile = () =>
5757
// see browserslist in package.json for included browsers
5858
// Official Bootstrap browser support policy:
5959
// https://getbootstrap.com/docs/5.3/getting-started/browsers-devices/#supported-browsers
60-
])
60+
]),
6161
)
6262
.pipe(csso()) // compresses CSS
6363
.pipe(sourcemaps.write("./")) // writes the sourcemap
@@ -74,7 +74,7 @@ const removeUnusedCss = () =>
7474
media: ["print"], // process additional media queries
7575
ignore: [], // provide a list of selectors that should not be removed by UnCSS
7676
}),
77-
])
77+
]),
7878
)
7979
.pipe(dest("dist"));
8080

@@ -133,7 +133,7 @@ const processStatic = series(cleanupStatic, copyStatic);
133133
export const develop = series(
134134
cleanupAll,
135135
parallel(htmlCompile, sassCompile, copyStatic),
136-
parallel(startBrowsersync, watchFiles)
136+
parallel(startBrowsersync, watchFiles),
137137
);
138138

139139
// build everything for production

0 commit comments

Comments
 (0)