Move TypeScript files into lib
This commit is contained in:
parent
6e38e2b0d9
commit
8ba4adf199
|
@ -13,11 +13,11 @@ import { PRODUCTION, DEFAULT_DATE } from "../environment.js";
|
||||||
import rehypeExternalLinks from "rehype-external-links";
|
import rehypeExternalLinks from "rehype-external-links";
|
||||||
import visit from "unist-util-visit";
|
import visit from "unist-util-visit";
|
||||||
import { src, dest } from "gulp";
|
import { src, dest } from "gulp";
|
||||||
import renderLayout from "../../src/layout.js";
|
import renderLayout from "../views/layout.js";
|
||||||
import renderArticleLayout from "../../src/article.js";
|
import renderArticleLayout from "../views/article.js";
|
||||||
import renderIndex from "../../src/index.js";
|
import renderIndex from "../views/index.js";
|
||||||
import { renderToStaticMarkup } from "preact-render-to-string";
|
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 { JSX } from "preact/jsx-runtime";
|
||||||
import { reloadAssets } from "../assets.js";
|
import { reloadAssets } from "../assets.js";
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { Document } from "asciidoctor";
|
import { Document } from "asciidoctor";
|
||||||
import { DateTime } from "luxon";
|
import { DateTime } from "luxon";
|
||||||
import { asset } from "../lib/assets.js";
|
import { asset } from "../assets.js";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
article: Document;
|
article: Document;
|
|
@ -1,6 +1,6 @@
|
||||||
import { Document } from "asciidoctor";
|
import { Document } from "asciidoctor";
|
||||||
import { DateTime } from "luxon";
|
import { DateTime } from "luxon";
|
||||||
import { asset } from "../lib/assets.js";
|
import { asset } from "../assets.js";
|
||||||
|
|
||||||
const Header = () => (
|
const Header = () => (
|
||||||
<header class="index-header">
|
<header class="index-header">
|
|
@ -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 { JSX } from "preact/jsx-runtime";
|
||||||
import { asset } from "../lib/assets.js";
|
import { asset } from "../assets.js";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
title?: string;
|
title?: string;
|
Loading…
Reference in New Issue
Block a user