-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eleventy.js
45 lines (44 loc) · 2.29 KB
/
.eleventy.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
const groupBy = require("./js/groupBy");
module.exports = config => {
config.addPassthroughCopy("img");
config.addPassthroughCopy("CNAME");
config.addPassthroughCopy("css/prism.css");
config.addPassthroughCopy("css/settings.css");
config.addPassthroughCopy("css/video-js.css");
config.addPassthroughCopy("css/videojs-hls-quality-selector.css");
config.addPassthroughCopy("css/videojs-controls.css");
config.addPassthroughCopy("css/videojs-tps.css");
config.addPassthroughCopy("css/chapter-plugin.min.css");
config.addPassthroughCopy("js/settings.js");
config.addPassthroughCopy("js/video.js");
config.addPassthroughCopy("js/videojs-hls-quality-selector.js");
config.addPassthroughCopy("js/videojs-sprite-thumbnails.js");
config.addPassthroughCopy("js/prism.js");
config.addPassthroughCopy("js/chapter-plugin.min.js");
config.addPassthroughCopy("node_modules/preline/dist/preline.js");
config.addPassthroughCopy("node_modules/clipboard/dist/clipboard.min.js");
config.addPassthroughCopy("node_modules/preline/dist/helper-clipboard.js");
config.addPassthroughCopy("node_modules/@themesberg/tailwind-datepicker/dist/js/datepicker-full.js");
config.addPassthroughCopy("node_modules/@themesberg/tailwind-datepicker/dist/css/datepicker.min.css");
config.addPassthroughCopy("node_modules/jquery/dist/jquery.min.js");
config.addPassthroughCopy("node_modules/datatables.net/js/dataTables.min.js");
config.addPassthroughCopy("node_modules/datatables.net-colreorder/js/dataTables.colReorder.min.js");
config.addPassthroughCopy("node_modules/apexcharts/dist/apexcharts.css");
config.addPassthroughCopy("node_modules/preline/dist/helper-apexcharts.js");
config.addPassthroughCopy("node_modules/lodash/lodash.min.js");
config.addPassthroughCopy("node_modules/apexcharts/dist/apexcharts.min.js");
config.addPassthroughCopy("./tailwind.css")
config.addPassthroughCopy('./tailwind.config.js')
config.addPassthroughCopy("css/tailwind.css");
config.addPassthroughCopy("fonts");
config.addFilter("groupBy", groupBy);
return {
markdownTemplateEngine: 'njk',
dataTemplateEngine: 'njk',
htmlTemplateEngine: 'njk',
dir: {
input: 'src',
output: 'public'
}
};
};