Skip to content

Commit

Permalink
fix: site build error
Browse files Browse the repository at this point in the history
  • Loading branch information
zengyue committed Jul 6, 2020
1 parent d6a51e3 commit 5ceccda
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/relation/relation/demo/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"demos": [
{
"filename": "treemap.js",
"title": "局形式树图",
"title": "矩形式树图",
"screenshot": "https://gw.alipayobjects.com/zos/finxbff/compress-tinypng/586af851-f89e-4dd4-9b96-f2037b65df3e.png"
}
]
Expand Down
2 changes: 1 addition & 1 deletion examples/relation/relation/index.zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 局形式树图
title: 矩形式树图
order: 0
icon: relation
---
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@
"scripts": {
"start": "npm run site:develop",
"site:develop": "BABEL_ENV=site gatsby develop --open",
"site:build": "BABEL_ENV=site npm run site:clean && gatsby build --prefix-paths",
"site:build": "npm run site:clean && BABEL_ENV=site gatsby build --prefix-paths",
"site:clean": "BABEL_ENV=site gatsby clean",
"site:deploy": "BABEL_ENV=site npm run site:build && gh-pages -d public",
"site:deploy": "npm run site:build && gh-pages -d public",
"build": "npm run build-lib && npm run build-es && npm run build-umd",
"build-lib": "rm -rf lib && babel src --out-dir lib",
"build-es": "rm -rf es && BABEL_ENV=esm babel src --out-dir es",
Expand Down

0 comments on commit 5ceccda

Please sign in to comment.