-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eleventy.js
35 lines (27 loc) · 1.04 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
module.exports = function(eleventyConfig) {
eleventyConfig.setServerOptions({
// https://www.11ty.dev/docs/dev-server/#options
// https://github.com/FiloSottile/mkcert
https: {
key: "./localhost-key.pem",
cert: "./localhost.pem",
},
});
eleventyConfig.addPassthroughCopy('./src/img');
eleventyConfig.addPassthroughCopy('./src/manifest.json');
eleventyConfig.addPassthroughCopy({
"node_modules/lz-string/libs/lz-string.min.js": "/js/lz-string.min.js",
"node_modules/ace-builds/src-min-noconflict/worker-css.js": "/js/worker-css.js",
"node_modules/stylus-lang-bundle/dist/stylus-renderer.min.js": "/js/stylus-renderer.min.js",
"node_modules/less/dist/less.min.js": "/js/less.min.js",
"node_modules/less/dist/less.min.js.map": "/js/less.min.js.map",
"node_modules/usercss-meta/dist/usercss-meta.min.js": "/js/usercss-meta.min.js",
"node_modules/usercss-meta/dist/usercss-meta.min.js.map": "/js/usercss-meta.min.js.map"
});
return {
dir: {
input: "src",
output: "dist",
}
};
}