Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/pages/Events.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { getCollection } from "astro:content";
import If from "@components/utils/If.astro";
import type { Lang } from "@components/types";
import { getLocaleDateString } from "src/util";
import { getLocaleDateString } from "../../util";

interface EventInformation {
key: string;
Expand Down
2 changes: 1 addition & 1 deletion src/components/pages/NewsLetter.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import type { MarkdownInstance } from "astro";
import type { Lang } from "@components/types";
import { getISODateString } from "src/util";
import { getISODateString } from "../../util";

interface Frontmatter {
title: string;
Expand Down
2 changes: 1 addition & 1 deletion src/components/pages/Notice.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { getEntry } from "astro:content";
import Markdown from "@components/utils/Markdown.astro";
import type { Lang } from "@components/types";
import { getISODateString, getLocaleDateString } from "src/util";
import { getISODateString, getLocaleDateString } from "../../util";

/**
* `Markdown`の利用例として紹介されています.
Expand Down
2 changes: 1 addition & 1 deletion src/content.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineCollection } from "astro:content";
import { z } from "astro/zod";
import { glob } from "astro/loaders";
import { FORMATS, NUMBERS, TOOLS, KEYWORDS } from "@components/pages/GoodPractice";
import { getISODateString } from "src/util";
import { getISODateString } from "./util";

const emergencies = defineCollection({
loader: glob({ pattern: "*.{md,mdx}", base: "./src/emergencies" }),
Expand Down
2 changes: 1 addition & 1 deletion src/styles/layout.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use "node_modules/normalize.css/normalize";
@use "../../node_modules/normalize.css/normalize";
@use "sass:meta";

* {
Expand Down
9 changes: 4 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"extends": "astro/tsconfigs/strict",
"compilerOptions": {
"baseUrl": ".",
"jsx": "preserve",
"paths": {
"@components/*": ["src/components/*"],
"@data/*": ["src/data/*"],
"@layouts/*": ["src/layouts/*"],
"@styles/*": ["src/styles/*"]
"@components/*": ["./src/components/*"],
"@data/*": ["./src/data/*"],
"@layouts/*": ["./src/layouts/*"],
"@styles/*": ["./src/styles/*"]
}
},
"mdx": {
Expand Down
Loading