Skip to content

Commit

Permalink
build: remove cache before building site
Browse files Browse the repository at this point in the history
This is a workaround for gatsbyjs/gatsby#38483
and should be reverted once it's fixed by Gatsby.
  • Loading branch information
danroc committed Oct 20, 2023
1 parent d3fcf62 commit 342e2d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"private": true,
"license": "(MIT-0 OR Apache-2.0)",
"scripts": {
"build": "cross-env GATSBY_TELEMETRY_DISABLED=1 gatsby build --prefix-paths",
"clean": "rimraf public",
"build": "rimraf .cache && cross-env GATSBY_TELEMETRY_DISABLED=1 gatsby build --prefix-paths",
"clean": "rimraf public .cache",
"lint": "yarn lint:eslint && yarn lint:misc && yarn lint:deps && yarn lint:types",
"lint:deps": "depcheck",
"lint:eslint": "eslint . --cache --ext js,jsx,ts,tsx",
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
"lint:misc": "prettier '**/*.json' '**/*.md' '!CHANGELOG.md' --check",
"lint:types": "tsc --noEmit",
"start": "cross-env GATSBY_TELEMETRY_DISABLED=1 gatsby develop"
"start": "rimraf .cache && cross-env GATSBY_TELEMETRY_DISABLED=1 gatsby develop"
},
"browserslist": {
"production": [
Expand Down

0 comments on commit 342e2d5

Please sign in to comment.