[v2] provide non-traspiled version of default-html.js to copy from #6102
Labels
type: maintenance
An issue or pull request describing a change that isn't a bug, feature or documentation change
Description
I want to customize
html.js
but thedefault-html.js
file is transpiled to ES5 by default.Steps to reproduce
Install all the dependencies from
package.json
usingyarn
, rungatsby develop
, it will generate.cache
folder.Copy the
default-html.js
in.cache
folder tosrc/html.js
Expected result
The content of
default-html.js
should be ES6, not be transpiled by default.Actual result
The content of
html.js
is not ES6Environment
File contents (if changed)
gatsby-config.js
:package.json
:gatsby-node.js
:gatsby-browser.js
: N/Agatsby-ssr.js
: N/AThe text was updated successfully, but these errors were encountered: