Skip to content

Commit

Permalink
Update gatsby-config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
s1smart committed Jun 3, 2024
1 parent 6364c02 commit 09f3970
Showing 1 changed file with 0 additions and 83 deletions.
83 changes: 0 additions & 83 deletions gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1,83 +0,0 @@
/* eslint-disable no-undef */
// eslint-disable-next-line no-undef
module.exports = {
pathPrefix: process.env.PATH_PREFIX || '/',
siteMetadata: {
siteTitle: '太空战士',
siteUrl: 'https://s1smart.github.io/running_page',
logo: 'https://dgalywyr863hv.cloudfront.net/pictures/clubs/1115150/26570966/1/medium.jpg',
description: 'Personal site and blog',
navLinks: [
{
name: 'Blog',
url: 'https://github.com/s1smart',
},
{
name: 'About',
url: 'https://github.com/s1smart/running_page',
},
],
},
plugins: [
'gatsby-transformer-json',
'gatsby-plugin-react-helmet',
'gatsby-plugin-offline',

{
resolve: 'gatsby-plugin-vercel',
options: {
// (optional) Prints metrics in the console when true
debug: false,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: './src/static/',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: './src/images/',
},
},
{
resolve: 'gatsby-alias-imports',
options: {
rootFolder: '.',
},
},
{
resolve: 'gatsby-plugin-sass',
options: {
cssLoaderOptions: {
esModule: false,
modules: {
namedExport: false,
},
},
},
},
{
resolve: 'gatsby-plugin-react-svg',
options: {
rule: {
include: /assets/,
},
},
},
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'gatsby-starter-default',
short_name: 'starter',
start_url: '/',
background_color: '#e1e1e1',
theme_color: '#e1e1e1',
display: 'standalone',
icon: 'src/images/favicon.png', // This path is relative to the root of the site.
},
},
],
};

0 comments on commit 09f3970

Please sign in to comment.