Skip to content

Commit

Permalink
Merge branch 'second-build'
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlisewski committed Nov 4, 2024
2 parents 19d9326 + 83093d0 commit 0974d78
Show file tree
Hide file tree
Showing 103 changed files with 2,181 additions and 535 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- AUTO-GENERATED-CONTENT:START (STARTER) -->
<p align="center">
<p align="center">°°
<a href="https://www.gatsbyjs.com">
<img alt="Gatsby" src="https://www.gatsbyjs.com/Gatsby-Monogram.svg" width="60" />
</a>
Expand Down
9 changes: 8 additions & 1 deletion gatsby-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,11 @@

// You can delete this file if you're not using it

import './src/styles/global.css'
import './src/styles/global.css'

// Temporär Prefetching deaktivieren
export const onClientEntry = () => {
if (typeof window !== 'undefined') {
window.___loader = { enqueue: () => {}, hovering: () => {} }
}
}
8 changes: 8 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
/**
* @type {import('gatsby').GatsbyConfig}
*/
const isProduction = process.env.NODE_ENV === 'production'

module.exports = {
pathPrefix: `/mfn-landingpages`,
siteMetadata: {
Expand Down Expand Up @@ -62,4 +64,10 @@ module.exports = {
},
},
],
flags: {
FAST_DEV: true,
DEV_SSR: false,
PRESERVE_FILE_DOWNLOAD_CACHE: false,
},
pathPrefix: isProduction ? "/mfn-landingpages" : "/",
}
Loading

0 comments on commit 0974d78

Please sign in to comment.