Skip to content

Commit 97449c4

Browse files
committed
project
1 parent 5facf33 commit 97449c4

File tree

13 files changed

+22894
-1596
lines changed

13 files changed

+22894
-1596
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules/
22
public/bundle.js
3+
dist/

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,17 @@ npm install
88
npm run dev
99
```
1010

11-
Then visit <http://localhost:8080/>.
11+
It will open <http://localhost:8080/> automatically.
12+
13+
14+
---
15+
16+
### `tsconfig.json`
17+
18+
`module`必须为`commonjs`或者`amd`,不能为`umd`,否则会报错:
19+
20+
```
21+
WARNING in ./entry.tsx 3:24-31
22+
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
23+
```
24+

0 commit comments

Comments
 (0)