Skip to content

Commit

Permalink
[FE/#15] Feat : constants 절대경로 추가, 파일 추가
Browse files Browse the repository at this point in the history
- token 문자열을 여러곳에서 이용하므로 별도로 분리
  • Loading branch information
sungik-choi committed Jun 24, 2020
1 parent 572f7e1 commit 0d5dab7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions FE/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
["@Contexts", "./src/contexts/"],
["@Hooks", "./src/hooks/"],
["@Types", "./src/types/"],
["@Constants", "./src/constants/"],
["@Public", "./public/"]
],
"extensions": [".js", ".jsx", ".json"]
Expand Down
1 change: 1 addition & 0 deletions FE/src/constants/constants.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const TOKEN = "token";
1 change: 1 addition & 0 deletions FE/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ module.exports = {
"@Contexts": path.resolve(__dirname, "src/contexts/"),
"@Hooks": path.resolve(__dirname, "src/hooks/"),
"@Types": path.resolve(__dirname, "src/types/"),
"@Constants": path.resolve(__dirname, "src/constants/"),
"@Public": path.resolve(__dirname, "public/"),
},
extensions: [".js", ".jsx"],
Expand Down

0 comments on commit 0d5dab7

Please sign in to comment.