Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
fix: update gatsby version, add option to not add trailing slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkmcadoo committed Mar 16, 2022
1 parent 5ee6252 commit dc670d9
Show file tree
Hide file tree
Showing 4 changed files with 2,893 additions and 2,745 deletions.
5 changes: 2 additions & 3 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ const resolveQuickstartSlug = require('./src/utils/resolveQuickstartSlug');

module.exports = {
pathPrefix: `/instant-observability`,
trailingSlash: 'ignore',
flags: {
DEV_SSR: true,
DEV_SSR: false,
PRESERVE_WEBPACK_CACHE: true,
PRESERVE_FILE_DOWNLOAD_CACHE: true,
},
Expand All @@ -24,7 +25,6 @@ module.exports = {
resolve: '@newrelic/gatsby-theme-newrelic',
options: {
oneTrustID: '77dd4d78-49db-4057-81ea-4bc325d6ecdd',
forceTrailingSlashes: true,
layout: {
contentPadding: '2rem',
maxWidth: '1700px',
Expand Down Expand Up @@ -147,7 +147,6 @@ module.exports = {
},
},
'gatsby-plugin-mdx', // Not used, but required by the theme
'gatsby-plugin-meta-redirect',
'gatsby-plugin-use-query-params',
{
resolve: 'gatsby-plugin-gatsby-cloud',
Expand Down
7 changes: 7 additions & 0 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,12 @@ exports.onCreateWebpackConfig = ({ actions, plugins }) => {
externals: {
tessen: 'Tessen',
},
resolve: {
fallback: {
http: false,
https: false,
zlib: false,
},
},
});
};
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,18 @@
"@mdx-js/react": "^1.6.19",
"@newrelic/gatsby-theme-newrelic": "^4.0.5",
"@splitsoftware/splitio-react": "^1.2.0",
"gatsby": "^3.8.0",
"gatsby-plugin-gatsby-cloud": "^3.0.0",
"gatsby-source-filesystem": "^3.8.0",
"gatsby-transformer-json": "^3.3.0",
"gatsby-transformer-sharp": "^3.13.0",
"gatsby": "^4.10.0",
"gatsby-plugin-emotion": "^6.8.0",
"gatsby-plugin-gatsby-cloud": "^4.11.0-next.0",
"gatsby-plugin-manifest": "^3.13.0",
"gatsby-plugin-meta-redirect": "^1.1.1",
"gatsby-plugin-mdx": "^2.8.0",
"gatsby-plugin-use-query-params": "^1.0.1",
"gatsby-plugin-react-helmet": "^4.8.0",
"gatsby-plugin-sass": "^4.8.0",
"gatsby-plugin-sharp": "^3.14.1",
"gatsby-plugin-use-query-params": "^1.0.1",
"gatsby-source-filesystem": "^3.8.0",
"gatsby-transformer-json": "^3.3.0",
"gatsby-transformer-sharp": "^3.13.0",
"node-sass": "^6.0.1",
"pluralize": "^8.0.0",
"react": "^17.0.1",
Expand Down
Loading

0 comments on commit dc670d9

Please sign in to comment.