Skip to content

Commit

Permalink
Update import paths and build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
coji committed Feb 22, 2024
1 parent e7c88b0 commit fd836aa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { json, type LinksFunction, type LoaderFunctionArgs, type MetaFunction }
import { useEffect } from 'react'
import { getToast } from 'remix-toast'
import { toast } from 'sonner'
import { Toaster } from './components/ui'
import { Toaster } from '~/components/ui'
import biographyStyle from './styles/biography.css?url'
import globalStyles from './styles/globals.css?url'
import privacyStyles from './styles/privacy.css?url'
Expand Down
3 changes: 0 additions & 3 deletions app/routes/privacy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ import { Link } from '@remix-run/react'
import type { MetaFunction } from '@vercel/remix'
import Content from '~/assets/privacy.md'
import { Button, Heading } from '~/components/ui'
import styles from '~/styles/privacy.css?url'

export const meta: MetaFunction = () => [{ title: 'プライバシーポリシー - TechTalk' }]

export const links = () => [{ rel: 'stylesheet', href: styles }]

export default function Privacy() {
return (
<>
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"sideEffects": false,
"type": "module",
"scripts": {
"build": "remix vite:build",
"dev": "remix vite:dev",
"build": "remix build",
"dev": "remix dev",
"lint": "biome lint .",
"format": "prettier --check --ignore-path .gitignore '**/*.{ts,tsx}'",
"validate": "run-p format lint typecheck",
Expand Down
4 changes: 4 additions & 0 deletions remix.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('@remix-run/dev').AppConfig} */
export default {
ignoredRouteFiles: ['**/.*'],
}

0 comments on commit fd836aa

Please sign in to comment.