Open helenzhou6 opened 6 years ago
Ran into problems using the query-string npm module, since it used ES6, so the Gatsby Uglifier could not process it. For now have not used query-string but could look into an older version of query-string that uses ES5 or another alternative
query-string
const queryCategory = queryString.parse(window.location.href.replace(window.origin + '/', '')).category;
Ran into problems using the
query-string
npm module, since it used ES6, so the Gatsby Uglifier could not process it. For now have not usedquery-string
but could look into an older version ofquery-string
that uses ES5 or another alternative