This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
86 lines (85 loc) · 2.37 KB
/
gatsby-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
const targetAddress = new URL('https://www.lawmatics.com');
module.exports = {
siteMetadata: {
title: 'Lawmatics',
description: 'Engage > Convert > Nurture > Grow your law firm with the most'
+ 'powerful Client Intake and Marketing Automation Platform built for the modern practice',
author: '@lawmatics',
siteWidth: 1320,
siteUrl: targetAddress.href,
},
plugins: [
'gatsby-plugin-next-seo',
'gatsby-transformer-sharp',
'gatsby-plugin-sharp',
'gatsby-plugin-less',
'gatsby-plugin-postcss',
'gatsby-plugin-react-svg',
'gatsby-plugin-styled-components',
'gatsby-plugin-sitemap',
'gatsby-plugin-robots-txt',
{
resolve: 'gatsby-plugin-scroll-reveal',
options: {
once: true,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: `${__dirname}/src/assets/images`,
},
},
{
resolve: 'gatsby-plugin-purgecss',
options: {
tailwind: true, // Enable tailwindcss support
ignore: ['/sal.css'], // Ignore files/folders
// printRejected: true, // Print removed selectors and processed file names
// whitelist: ['whitelist'], // Don't remove this selector
// purgeOnly : ['components/', '/main.css', 'bootstrap/'], // Purge only these files/folders
},
},
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'lawmatics',
start_url: '/',
background_color: '#FFFFFF',
theme_color: '#FF8800',
display: 'minimal-ui',
icon: 'src/assets/images/lawmatics-mark.png',
},
},
{
resolve: 'gatsby-plugin-s3',
options: {
bucketName: 'lm-gatsby-marketing',
protocol: 'https',
hostname: targetAddress.href,
},
},
{
resolve: 'gatsby-plugin-canonical-urls',
options: {
siteUrl: targetAddress.href.slice(0, -1),
},
},
{
resolve: 'gatsby-plugin-eslint',
options: {
test: /\.js$|\.jsx$/,
exclude: /(node_modules|.cache|public)/,
stages: ['develop'],
options: {
emitWarning: true,
failOnError: false,
},
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`,
],
};