[design]: overrides pattern, tests, yay!

This commit is contained in:
41666 2019-05-20 04:33:31 -04:00
parent 0ccb5fa32f
commit dd6f02f4e2
No known key found for this signature in database
GPG key ID: BC51D07640DC10AF
22 changed files with 6165 additions and 1328 deletions

View 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"
]
}
}
}