Skip to content

Commit

Permalink
Merge pull request #6 from COMPFEST/mario/twin-macro
Browse files Browse the repository at this point in the history
[GREEN] Added twin.macro for Arcana Component Library
  • Loading branch information
MarioSerano authored Apr 27, 2021
2 parents d538cc2 + 94f6894 commit 144e977
Show file tree
Hide file tree
Showing 15 changed files with 26,692 additions and 18,017 deletions.
26 changes: 26 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"presets": [
"@babel/preset-react",
"@babel/preset-typescript",
"@babel/preset-env",
"@emotion/babel-preset-css-prop"
],
"plugins": [
"babel-plugin-macros",
"@emotion/babel-plugin",
[
"@emotion/babel-plugin-jsx-pragmatic",
{
"export": "jsx",
"import": "__cssprop",
"module": "@emotion/react"
}
],
[
"@babel/plugin-transform-react-jsx",
{
"pragma": "__cssprop"
}
]
]
}
14 changes: 14 additions & 0 deletions babel-jest.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
],
"@babel/preset-typescript",
"@babel/preset-react"
]
}
Loading

0 comments on commit 144e977

Please sign in to comment.