Create a bundle for css
This commit is contained in:
parent
9093d47677
commit
d76d3310fc
|
|
@ -1,8 +1,4 @@
|
||||||
import { inspect } from "util";
|
import { inspect } from "util";
|
||||||
import browserslist from "browserslist";
|
|
||||||
import * as sass from "sass";
|
|
||||||
import path from "node:path";
|
|
||||||
import { bundle, browserslistToTargets, composeVisitors, transform } from "lightningcss" ;
|
|
||||||
|
|
||||||
export default async function (eleventyConfig) {
|
export default async function (eleventyConfig) {
|
||||||
eleventyConfig.setUseGitIgnore(false);
|
eleventyConfig.setUseGitIgnore(false);
|
||||||
|
|
@ -31,6 +27,8 @@ export default async function (eleventyConfig) {
|
||||||
|
|
||||||
eleventyConfig.addPassthroughCopy('src/favicon.ico')
|
eleventyConfig.addPassthroughCopy('src/favicon.ico')
|
||||||
|
|
||||||
|
eleventyConfig.addBundle("css");
|
||||||
|
|
||||||
return {
|
return {
|
||||||
markdownTemplateEngine: 'liquid',
|
markdownTemplateEngine: 'liquid',
|
||||||
dataTemplateEngine: 'liquid',
|
dataTemplateEngine: 'liquid',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue