@@ -25,80 +25,10 @@ module.exports = {
2525 {
2626 resolve : `gatsby-plugin-google-analytics` ,
2727 options : {
28- // The property ID; the tracking code won't be generated without it
2928 trackingId : process . env . GOOGLE_ANALYTICS_ID ,
30- // Defines where to place the tracking script - `true` in the head and `false` in the body
3129 head : false ,
32- // Setting this parameter is optional
33- // anonymize: true,
34- // Setting this parameter is also optional
35- // respectDNT: true,
36- // Avoids sending pageview hits from custom paths
37- // exclude: ['/preview/**', '/do-not-track/me/too/'],
38- // Delays sending pageview hits on route update (in milliseconds)
3930 pageTransitionDelay : 0 ,
40- // Enables Google Optimize using your container Id
41- // optimizeId: 'YOUR_GOOGLE_OPTIMIZE_TRACKING_ID',
42- // Enables Google Optimize Experiment ID
43- // experimentId: 'YOUR_GOOGLE_EXPERIMENT_ID',
44- // Set Variation ID. 0 for original 1,2,3....
45- // variationId: 'YOUR_GOOGLE_OPTIMIZE_VARIATION_ID',
46- // Defers execution of google analytics script after page load
4731 defer : true ,
48- // Any additional optional fields
49- // sampleRate: 5,
50- // siteSpeedSampleRate: 10,
51- // cookieDomain: 'example.com',
52- // defaults to false
53- // enableWebVitalsTracking: true,
54- } ,
55- } ,
56- // {
57- // resolve: `gatsby-plugin-csp`,
58- // options: {
59- // disableOnDev: true,
60- // reportOnly: false, // Changes header to Content-Security-Policy-Report-Only for csp testing purposes
61- // mergeScriptHashes: true, // you can disable scripts sha256 hashes
62- // mergeStyleHashes: true, // you can disable styles sha256 hashes
63- // mergeDefaultDirectives: true,
64- // directives: {
65- // 'script-src': "'self' www.google-analytics.com",
66- // 'style-src': "'self' 'unsafe-inline'",
67- // 'img-src': "'self' data: www.google-analytics.com",
68- // // you can add your directives or override defaults
69- // },
70- // },
71- // },
72- // {
73- // resolve: 'gatsby-plugin-netlify',
74- // options: {
75- // headers: {
76- // '/*': ['X-Frame-Options: DENY'],
77- // },
78- // mergeSecurityHeaders: false,
79- // },
80- // },
81- {
82- /* Include plugin */
83- resolve : 'gatsby-omni-font-loader' ,
84-
85- /* Plugin options */
86- options : {
87- /* Font loading mode */
88- mode : 'async' ,
89-
90- /* Enable font loading listener to handle FOUT */
91- enableListener : true ,
92-
93- /* Self-hosted fonts config. Add font files and font CSS files to "static" folder */
94- custom : [
95- {
96- /* Exact name of the font as defied in @font-face CSS rule */
97- name : [ 'Apercu-Mono-Pro' ] ,
98- /* Path to the font CSS file inside the "static" folder with @font-face definition */
99- file : '/assets/fonts/fonts.css' ,
100- } ,
101- ] ,
10232 } ,
10333 } ,
10434 {
@@ -109,12 +39,12 @@ module.exports = {
10939 start_url : `/` ,
11040 background_color : `#4FD8C3` ,
11141 theme_color : `#4FD8C3` ,
112- display : `minimal-ui ` ,
42+ display : `standalone ` ,
11343 icon : `src/assets/images/favicon.svg` , // This path is relative to the root of the site.
11444 } ,
11545 } ,
11646 // this (optional) plugin enables Progressive Web App + Offline functionality
11747 // To learn more, visit: https://gatsby.dev/offline
118- // `gatsby-plugin-offline`,
48+ `gatsby-plugin-offline` ,
11949 ] ,
12050}
0 commit comments