forked from danieldlima/azzurra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.ts
66 lines (63 loc) · 1.76 KB
/
gatsby-config.ts
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
import type { GatsbyConfig } from 'gatsby';
// eslint-disable-next-line
const path = require('path');
/** @type {import('tailwindcss').Config} */
const config: GatsbyConfig = {
graphqlTypegen: true,
plugins: [
{
resolve: 'gatsby-plugin-htaccess',
options: {
https: true,
www: true,
SymLinksIfOwnerMatch: true,
host: 'www.azzurracapital.com.br',
custom: `
##### LOCAWEB - NAO REMOVER #####
AddHandler php80-script .php
suPHP_ConfigPath /home/azzurracapital1/
##### LOCAWEB - NAO REMOVER #####
# Custom HTTPS force Rule
`,
},
},
'gatsby-plugin-postcss',
`gatsby-plugin-image`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `photos`,
path: `${__dirname}/src/images`,
},
},
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
'gatsby-plugin-svgr',
`gatsby-plugin-sass`,
{
resolve: `gatsby-plugin-portal`,
options: {
key: 'portal',
id: 'portal'
}
},
{
resolve: `gatsby-plugin-alias-imports`,
options: {
alias: {
'@root': path.resolve(__dirname, 'src'),
'@static': path.resolve(__dirname, 'static'),
'@content': path.resolve(__dirname, 'content'),
'@constant': path.resolve(__dirname, 'src/constant'),
'@images': path.resolve(__dirname, 'src/images'),
'@components': path.resolve(__dirname, 'src/components'),
'@pages': path.resolve(__dirname, 'src/pages'),
'@styles': path.resolve(__dirname, 'src/styles'),
'@templates': path.resolve(__dirname, 'src/templates')
},
extensions: []
}
}
]
};
export default config;