Move TypeScript files into lib

This commit is contained in:
Thibault “Adædra” Hamel 2024-06-24 19:44:08 +02:00
parent 6e38e2b0d9
commit 8ba4adf199
5 changed files with 8 additions and 8 deletions

View File

@ -13,11 +13,11 @@ import { PRODUCTION, DEFAULT_DATE } from "../environment.js";
import rehypeExternalLinks from "rehype-external-links";
import visit from "unist-util-visit";
import { src, dest } from "gulp";
import renderLayout from "../../src/layout.js";
import renderArticleLayout from "../../src/article.js";
import renderIndex from "../../src/index.js";
import renderLayout from "../views/layout.js";
import renderArticleLayout from "../views/article.js";
import renderIndex from "../views/index.js";
import { renderToStaticMarkup } from "preact-render-to-string";
import { SITE_TITLE, SITE_DESCRIPTION } from "../../src/constants.js";
import { SITE_TITLE, SITE_DESCRIPTION } from "../constants.js";
import { JSX } from "preact/jsx-runtime";
import { reloadAssets } from "../assets.js";

View File

@ -1,6 +1,6 @@
import { Document } from "asciidoctor";
import { DateTime } from "luxon";
import { asset } from "../lib/assets.js";
import { asset } from "../assets.js";
type Props = {
article: Document;

View File

@ -1,6 +1,6 @@
import { Document } from "asciidoctor";
import { DateTime } from "luxon";
import { asset } from "../lib/assets.js";
import { asset } from "../assets.js";
const Header = () => (
<header class="index-header">

View File

@ -1,6 +1,6 @@
import { SITE_DEFAULT_META, SITE_TITLE } from "./constants.js";
import { SITE_DEFAULT_META, SITE_TITLE } from "../constants.js";
import { JSX } from "preact/jsx-runtime";
import { asset } from "../lib/assets.js";
import { asset } from "../assets.js";
type Props = {
title?: string;