blob: 554bb54691640921869d16de045e839b2f71c783 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*jshint esversion: 6 */
const dayjs = require("dayjs");
module.exports = function (config) {
config.addPassthroughCopy("./src/css");
config.addWatchTarget("./src/css");
config.addPassthroughCopy({
"src/css/fonts": "./fonts",
});
config.addFilter("dateFilter", function (date) {
return dayjs(date).format("DD MMM YYYY");
});
return {
dir: {
input: "src",
output: "public",
},
};
};
|