mirror of
https://github.com/apache/superset.git
synced 2024-09-19 12:09:42 -04:00
86 lines
2.4 KiB
JavaScript
86 lines
2.4 KiB
JavaScript
/**
|
|
* Licensed to the Apache Software Foundation (ASF) under one
|
|
* or more contributor license agreements. See the NOTICE file
|
|
* distributed with this work for additional information
|
|
* regarding copyright ownership. The ASF licenses this file
|
|
* to you under the Apache License, Version 2.0 (the
|
|
* "License"); you may not use this file except in compliance
|
|
* with the License. You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing,
|
|
* software distributed under the License is distributed on an
|
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
* KIND, either express or implied. See the License for the
|
|
* specific language governing permissions and limitations
|
|
* under the License.
|
|
*/
|
|
|
|
module.exports = {
|
|
siteMetadata: {
|
|
title: `Superset`,
|
|
description: `Community website for Apache Superset, a data visualization and data exploration platform`,
|
|
author: `@apache-superset`,
|
|
},
|
|
plugins: [
|
|
`gatsby-plugin-sass`,
|
|
`gatsby-theme-docz`,
|
|
`gatsby-plugin-react-helmet`,
|
|
{
|
|
resolve: `gatsby-source-filesystem`,
|
|
options: {
|
|
name: `images`,
|
|
path: `${__dirname}/src/images`,
|
|
},
|
|
},
|
|
`gatsby-transformer-sharp`,
|
|
`gatsby-plugin-sharp`,
|
|
{
|
|
resolve: `gatsby-plugin-google-fonts`,
|
|
options: {
|
|
fonts: [
|
|
`Inter`,
|
|
`source sans pro\:300,400,400i,700`, // you can also specify font weights and styles
|
|
],
|
|
display: 'swap',
|
|
},
|
|
},
|
|
{
|
|
resolve: 'gatsby-plugin-eslint',
|
|
options: {
|
|
test: /\.js$|\.jsx$/,
|
|
exclude: /(node_modules|.cache|public|gatsby-config.js)/,
|
|
stages: ['develop'],
|
|
options: {
|
|
emitWarning: true,
|
|
failOnError: false,
|
|
},
|
|
},
|
|
},
|
|
'gatsby-plugin-antd',
|
|
'gatsby-plugin-emotion',
|
|
{
|
|
resolve: `gatsby-plugin-manifest`,
|
|
options: {
|
|
name: `gatsby-starter-default`,
|
|
short_name: `starter`,
|
|
start_url: `/`,
|
|
},
|
|
},
|
|
`gatsby-plugin-client-side-redirect`,
|
|
{
|
|
resolve: `gatsby-plugin-gtag`,
|
|
options: {
|
|
// your google analytics tracking id
|
|
trackingId: `G-133LHD3B3N`,
|
|
// Puts tracking script in the head instead of the body
|
|
head: false,
|
|
// enable ip anonymization
|
|
anonymize: true,
|
|
},
|
|
},
|
|
'gatsby-plugin-remove-serviceworker',
|
|
],
|
|
};
|