forked from pub-solar/pub.solar
Benjamin Bädorf
a047e8ae24
The build was failing because old dependencies of lume 1.12 were not available in the registries anymore. This commit updates lume and its plugins.
32 lines
566 B
TypeScript
32 lines
566 B
TypeScript
import lume from "lume/mod.ts";
|
|
import sass from "lume/plugins/sass.ts";
|
|
import date from "lume/plugins/date.ts";
|
|
import jsx from "lume/plugins/jsx.ts";
|
|
import terser from "lume/plugins/terser.ts";
|
|
import postcss from "lume/plugins/postcss.ts";
|
|
|
|
const site = lume();
|
|
|
|
site.use(sass());
|
|
site.use(date());
|
|
site.use(jsx());
|
|
site.use(terser());
|
|
site.use(postcss());
|
|
|
|
site.loadAssets([
|
|
".png",
|
|
".jpg",
|
|
".svg",
|
|
".pdf",
|
|
".woff2",
|
|
".woff",
|
|
".ttf",
|
|
".otf",
|
|
".js",
|
|
".txt",
|
|
]);
|
|
|
|
site.ignore("README.md", "CHANGELOG.md", "LICENSE.md");
|
|
|
|
export default site;
|