Skip to content

Commit 9660561

Browse files
authored
fix: update gist embed options (#269)
1 parent 759d8b5 commit 9660561

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

packages/example/gatsby-config.js

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const {
44
} = require('../gatsby-theme-iterative/package.json')
55

66
module.exports = {
7+
jsxRuntime: 'automatic',
78
siteMetadata: {
89
title: 'Example website',
910
description: 'Example website description',

packages/gatsby-theme-iterative/gatsby-config.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ module.exports = ({
108108
{
109109
resolve: 'gatsby-remark-embed-gist',
110110
options: {
111-
includeDefaultCss: true
111+
gistDefaultCssInclude: false
112112
}
113113
},
114114
'gatsby-remark-external-links',
@@ -173,5 +173,6 @@ module.exports = ({
173173
plausibleAPI,
174174
plausibleDomain
175175
},
176-
trailingSlash: 'never'
176+
trailingSlash: 'never',
177+
jsxRuntime: 'automatic'
177178
})

packages/gatsby-theme-iterative/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dvcorg/gatsby-theme-iterative",
3-
"version": "0.3.17",
3+
"version": "0.3.18",
44
"description": "",
55
"main": "index.js",
66
"types": "src/typings.d.ts",

packages/gatsby-theme-iterative/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"allowSyntheticDefaultImports": true,
55
"alwaysStrict": true,
66
"jsx": "react-jsx",
7-
"lib": ["dom", "es2015", "es2017", "es2021"],
7+
"lib": ["dom", "ESNext"],
88
"module": "commonjs",
99
"noEmit": true,
1010
"noFallthroughCasesInSwitch": true,
@@ -20,7 +20,7 @@
2020
"strictFunctionTypes": true,
2121
"strictNullChecks": true,
2222
"strictPropertyInitialization": true,
23-
"target": "es5"
23+
"target": "ESNext"
2424
},
2525
"include": ["./src/**/*", "./*.js"]
2626
}

tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"compilerOptions": {
3-
"target": "es5",
3+
"target": "ESNext",
44
"module": "commonjs",
55
"resolveJsonModule": true,
6-
"lib": ["dom", "es2015", "es2017", "es2021"],
76
"jsx": "react-jsx",
7+
"lib": ["dom", "ESNext"],
88
"sourceMap": true,
99
"strict": true,
1010
"noImplicitAny": true,

0 commit comments

Comments
 (0)