mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-16 10:19:10 +00:00
[design]: overrides pattern, tests, yay!
This commit is contained in:
parent
0ccb5fa32f
commit
dd6f02f4e2
22 changed files with 6165 additions and 1328 deletions
42
packages/roleypoly-design/.babelrc
Normal file
42
packages/roleypoly-design/.babelrc
Normal file
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
"presets": [
|
||||
"next/babel",
|
||||
"@babel/preset-typescript",
|
||||
],
|
||||
"plugins": [
|
||||
"@babel/plugin-syntax-dynamic-import",
|
||||
"@babel/plugin-proposal-class-properties",
|
||||
[
|
||||
"@babel/plugin-transform-runtime",
|
||||
{
|
||||
"helpers": false
|
||||
}
|
||||
],
|
||||
[
|
||||
"styled-components",
|
||||
{
|
||||
"ssr": true
|
||||
}
|
||||
],
|
||||
"@babel/plugin-proposal-optional-chaining",
|
||||
"macros"
|
||||
],
|
||||
"env": {
|
||||
"test": {
|
||||
"presets": [
|
||||
[
|
||||
"next/babel",
|
||||
{
|
||||
"preset-env": {
|
||||
"modules": "commonjs"
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"plugins": [
|
||||
"require-context-hook",
|
||||
"macros"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue