Skip to content

Commit 6ac6593

Browse files
committed
⚙ chore(#142): 배포 환경에서 console.log 블라인드 처리
1 parent 670e358 commit 6ac6593

3 files changed

Lines changed: 15 additions & 0 deletions

File tree

.babelrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"presets": ["next/babel"],
3+
"env": {
4+
"production": {
5+
"plugins": ["transform-remove-console"]
6+
}
7+
}
8+
}

package-lock.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"@emotion/styled": "^11.13.0",
1313
"@next/third-parties": "^14.2.5",
1414
"axios": "^1.7.7",
15+
"babel-plugin-transform-remove-console": "^6.9.4",
1516
"browser-image-compression": "^2.0.2",
1617
"cookie": "^1.0.0",
1718
"eslint-config-airbnb": "^19.0.4",

0 commit comments

Comments
 (0)