-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Gatsby and all other packages #186
Changes from 8 commits
569710f
cb5be8c
75450a9
57f6a5d
cbc7c0a
d815b0d
fbb74b4
e656453
4a66c18
ad97012
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,6 +49,13 @@ const plugins = [ | |
path: path.join(__dirname, 'content') | ||
} | ||
}, | ||
{ | ||
resolve: 'gatsby-source-filesystem', | ||
options: { | ||
name: 'images', | ||
path: path.join(__dirname, 'static', 'img') | ||
} | ||
}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Glad we're using There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I remember the same solution to this problem, but after implementing it I don't notice any improvement. 🤔 |
||
{ | ||
resolve: 'gatsby-transformer-remark', | ||
options: { | ||
|
@@ -102,18 +109,14 @@ const plugins = [ | |
{ | ||
resolve: 'gatsby-plugin-svgr', | ||
options: { | ||
ref: true, | ||
svgoConfig: { | ||
plugins: [{ removeViewBox: false }] | ||
} | ||
ref: true | ||
} | ||
}, | ||
'gatsby-plugin-sharp', | ||
'gatsby-plugin-catch-links', | ||
{ | ||
resolve: 'gatsby-plugin-manifest', | ||
options: { | ||
/* eslint-disable @typescript-eslint/camelcase */ | ||
background_color: '#663399', | ||
display: 'minimal-ui', | ||
icon: 'static/favicon-512x512.png', | ||
|
@@ -168,7 +171,6 @@ const plugins = [ | |
type: 'image/png' | ||
} | ||
] | ||
/* eslint-enable @typescript-eslint/camelcase */ | ||
} | ||
}, | ||
{ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,6 @@ | |
} | ||
|
||
@media (--xs-scr) { | ||
padding: 0 31px 0 31px; | ||
padding: 0 31px; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should look into adding this to dvc.org!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dvc.org took a different approach by changing
format-staged
not to target css files, but giving it this configuration will probably make linting more robust.