-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
da3d305
commit 26a636d
Showing
3 changed files
with
47 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import type { MetadataRoute } from "next"; | ||
|
||
const manifest: () => MetadataRoute.Manifest = () => { | ||
const titleText = "부마위키"; | ||
const descriptionText = "여러분이 가꾸어 나가는 역사의 고서"; | ||
|
||
return { | ||
name: titleText, | ||
short_name: titleText, | ||
description: descriptionText, | ||
start_url: "/", | ||
display: "standalone", | ||
background_color: "#ffffff", | ||
theme_color: "#274168", | ||
icons: [ | ||
{ | ||
src: "/icon512_rounded.png", | ||
sizes: "192x192", | ||
type: "image/png", | ||
}, | ||
{ | ||
src: "/icon512_rounded.png", | ||
sizes: "512x512", | ||
type: "image/png", | ||
}, | ||
], | ||
}; | ||
}; | ||
|
||
export default manifest; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,26 @@ | ||
import { createVanillaExtractPlugin } from "@vanilla-extract/next-plugin"; | ||
import withPWA from "next-pwa"; | ||
|
||
const withVanillaExtract = createVanillaExtractPlugin({ | ||
identifiers: ({ hash }) => `bumawiki_${hash}`, | ||
}); | ||
|
||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = withPWA( | ||
withVanillaExtract({ | ||
swcMinify: true, | ||
images: { | ||
domains: [ | ||
"bumawiki.kro.kr", | ||
"lh3.googleusercontent.com", | ||
"media.tenor.com", | ||
"ifh.cc", | ||
"velog.velcdn.com", | ||
"bumawiki.s3.ap-northeast-2.amazonaws.com", | ||
"cdn.discordapp.com", | ||
"previews.123rf.com", | ||
"yt3.googleusercontent.com", | ||
"raw.githubusercontent.com", | ||
], | ||
}, | ||
}), | ||
); | ||
const nextConfig = withVanillaExtract({ | ||
swcMinify: true, | ||
images: { | ||
domains: [ | ||
"bumawiki.kro.kr", | ||
"lh3.googleusercontent.com", | ||
"media.tenor.com", | ||
"ifh.cc", | ||
"velog.velcdn.com", | ||
"bumawiki.s3.ap-northeast-2.amazonaws.com", | ||
"cdn.discordapp.com", | ||
"previews.123rf.com", | ||
"yt3.googleusercontent.com", | ||
"raw.githubusercontent.com", | ||
], | ||
}, | ||
}); | ||
|
||
export default nextConfig; |