Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

Commit f3ec459

Browse files
committed
修改 gh-page.sh,准备申请 nodeppt.js.org
1 parent 2dd72f9 commit f3ec459

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
yarn.lock
12
/node_modules
23
/.sass-cache
34
/src/index.html

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
npm install -g nodeppt
1414
```
1515

16+
## TODO
17+
* bug fix
18+
* 增加多页编辑公共资源,说人话就是 splitChunks
19+
1620
<h2 align="center">Usage</h2>
1721

1822
简化了,就三个命令:

gh-page.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
2+
set -e
33
rm -rf publish
44
cd site
55

@@ -12,6 +12,7 @@ node ../packages/nodeppt/bin/nodeppt build background.md
1212

1313
cd dist
1414

15+
echo 'js8.in\nnodeppt.js.org' > CNAME
1516
git init
1617
git add -A
1718
date_str=`date "+DATE: %m/%d/%Y%nTIME: %H:%M:%S"`

0 commit comments

Comments
 (0)