mirror of
https://github.com/zhigang1992/examples.git
synced 2026-01-12 17:13:21 +08:00
43 lines
1.2 KiB
JavaScript
43 lines
1.2 KiB
JavaScript
module.exports = {
|
|
siteMetadata: {
|
|
title: `Gatsby Default Starter`,
|
|
description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`,
|
|
author: `@expo`,
|
|
},
|
|
plugins: [
|
|
// TypeScript support
|
|
`gatsby-plugin-typescript`,
|
|
// Expo support
|
|
`gatsby-plugin-react-native-web`,
|
|
// SEO
|
|
`gatsby-plugin-react-helmet`,
|
|
`gatsby-transformer-sharp`,
|
|
`gatsby-plugin-sharp`,
|
|
{
|
|
resolve: `gatsby-plugin-manifest`,
|
|
options: {
|
|
name: `gatsby-starter-default`,
|
|
short_name: `starter`,
|
|
start_url: `/`,
|
|
background_color: `#663399`,
|
|
theme_color: `#663399`,
|
|
display: `minimal-ui`,
|
|
icon: `assets/icon.png`, // This path is relative to the root of the site.
|
|
},
|
|
},
|
|
|
|
// Bundle size
|
|
{
|
|
resolve: 'gatsby-plugin-webpack-bundle-analyzer',
|
|
options: {
|
|
production: true,
|
|
openAnalyzer: false,
|
|
analyzerMode: 'static',
|
|
},
|
|
},
|
|
|
|
// this (optional) plugin enables Progressive Web App + Offline functionality
|
|
// To learn more, visit: https://gatsby.dev/offline
|
|
// `gatsby-plugin-offline`,
|
|
],
|
|
} |