-
Notifications
You must be signed in to change notification settings - Fork 58
refactor: Revamp website built on Gatsby. #274
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
base: master
Are you sure you want to change the base?
Conversation
| { | ||
| resolve: "gatsby-source-filesystem", | ||
| options: { | ||
| path: `${__dirname}/content`, |
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.
'template literal syntax' is only available in ES6 (use 'esversion: 6').
| { | ||
| resolve: "gatsby-source-filesystem", | ||
| options: { | ||
| path: `${__dirname}/content`, |
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.
'template literal syntax' is only available in ES6 (use 'esversion: 6').
9ae8e06 to
32a48a2
Compare
| const { createFilePath } = require(`gatsby-source-filesystem`); | ||
|
|
||
| exports.createPages = async ({ graphql, actions }) => { | ||
| const { createPage } = actions; |
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.
'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').
Expected ')' to match '{' from line 4 and instead saw '{'.
Expected an identifier and instead saw 'const' (a reserved word).
Missing semicolon.
Unrecoverable syntax error. (7% scanned).
| const path = require(`path`); | ||
| const { createFilePath } = require(`gatsby-source-filesystem`); | ||
|
|
||
| exports.createPages = async ({ graphql, actions }) => { |
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.
'object short notation' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
Expected '(' and instead saw '{'.
| @@ -0,0 +1,64 @@ | |||
| const path = require(`path`); | |||
| const { createFilePath } = require(`gatsby-source-filesystem`); | |||
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.
'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
'destructuring binding' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
'template literal syntax' is only available in ES6 (use 'esversion: 6').
| @@ -0,0 +1,64 @@ | |||
| const path = require(`path`); | |||
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.
'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
'template literal syntax' is only available in ES6 (use 'esversion: 6').
|
Tip Preview URL: https://deploy-preview-274--toktok.netlify.app |
This change is