Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Commit

Permalink
chore: integrate styled components macro for easy debugging (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric authored Oct 17, 2018
1 parent f72a007 commit 765c927
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@
"not ie <= 11",
"not op_mini all"
],
"babelMacros": {
"styledComponents": {
"fileName": false
}
},
"commitlint": {
"extends": [
"@peakfijn/config-commitlint"
Expand Down
2 changes: 1 addition & 1 deletion src/atoms/avatar/elements.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import styled from 'styled-components';
import styled from 'styled-components/macro';

/**
* The avatar container "masks" the underlying image and makes it circular.
Expand Down
2 changes: 1 addition & 1 deletion src/atoms/highlight/elements.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import styled from 'styled-components';
import styled from 'styled-components/macro';

/**
* The highlight container groups the content using a paragraph.
Expand Down
2 changes: 1 addition & 1 deletion src/molecules/user/elements.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import styled from 'styled-components';
import styled from 'styled-components/macro';

/**
* The user container creates a vertical-directed flexbox.
Expand Down
2 changes: 1 addition & 1 deletion src/pages/app/elements.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import styled from 'styled-components';
import styled from 'styled-components/macro';

/**
* The app container wraps the content and centers it both horizontally and vertically.
Expand Down

0 comments on commit 765c927

Please sign in to comment.