refactor: Revamp website built on Gatsby.#274
Conversation
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.
'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.
'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.
'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.
'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