We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c7cd71 commit e7a2461Copy full SHA for e7a2461
rollup.config.js
@@ -8,7 +8,7 @@ import fs from 'fs';
8
9
const production = !process.env.ROLLUP_WATCH;
10
const imageArray = fs.readdirSync("./public/images");
11
-const imageList = imageArray.map((item, index) => ({ id: index, filename: item }));
+const imageList = imageArray.map((item, index) => ({ id: index, filename: item })).filter(image => image.filename != '.gitkeep');
12
13
function serve() {
14
let server;
0 commit comments