Files
metamask-integration/chain138-snap/packages/site/gatsby-config.ts
2026-03-02 12:14:14 -08:00

28 lines
670 B
TypeScript

import type { GatsbyConfig } from 'gatsby';
const config: GatsbyConfig = {
// When deployed under explorer at /snap/, set pathPrefix so assets load correctly.
pathPrefix: process.env.GATSBY_PATH_PREFIX || '/',
// This is required to make use of the React 17+ JSX transform.
jsxRuntime: 'automatic',
plugins: [
'gatsby-plugin-svgr',
'gatsby-plugin-styled-components',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Chain 138 Snap',
icon: 'src/assets/logo.svg',
theme_color: '#6F4CFF',
background_color: '#FFFFFF',
display: 'standalone',
},
},
],
};
export default config;