Skip to content

Commit

Permalink
[Add] babel for styled-component
Browse files Browse the repository at this point in the history
  • Loading branch information
winnieworld committed Oct 4, 2023
1 parent 3421978 commit b67e4f7
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": ["next/babel"],
"plugins": ["babel-plugin-styled-components"]
}
4 changes: 0 additions & 4 deletions .vscode/settings.json

This file was deleted.

2 changes: 1 addition & 1 deletion app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ html,
body {
max-width: 100vw;
overflow-x: hidden;
height: 100%;
height: 100vh;
}

/* @media (prefers-color-scheme: dark) {
Expand Down
22 changes: 21 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"dependencies": {
"@nextcss/reset": "^0.2.4-beta",
"axios": "^1.5.1",
"babel-plugin-styled-components": "^2.1.4",
"next": "latest",
"react": "latest",
"react-dom": "latest",
Expand Down

0 comments on commit b67e4f7

Please sign in to comment.