Skip to content

Commit a1eb06d

Browse files
committed
feat: use CommonJS
1 parent 8f838a5 commit a1eb06d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
// 订阅网站的一级分类
2-
export const SITE_NAME = {
2+
const SITE_NAME = {
33
GITHUB: 'Github',
44
JUEJIN: '掘金',
55
ENGLISH: '英文'
66
}
77

88
// 订阅网站的二级分类 - 话题
9-
export const TOPIC_NAME = {
9+
const TOPIC_NAME = {
1010
DEV_ARCHITECTURE: 'DEV Architecture',
1111
REACT_STATUS: 'React Status'
1212
}
13+
14+
module.exports = {
15+
SITE_NAME,
16+
TOPIC_NAME
17+
}

0 commit comments

Comments
 (0)