Skip to content

Commit

Permalink
Remove presets from the root babel.config.json file to prevent confli…
Browse files Browse the repository at this point in the history
…cts with babel presets used in apps

This commit is the output of running
`npx nx migrate --run-migrations`
which was using migrations file generated by
`npx @nrwl/tao@latest migrate 11.6.3`
  • Loading branch information
Pl217 committed Apr 21, 2022
1 parent db7a5d1 commit 583337d
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 4 deletions.
10 changes: 9 additions & 1 deletion apps/hpc-cdm/.babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"presets": ["@nrwl/react/babel"],
"plugins": [["styled-components", { "pure": true, "ssr": true }]]
"plugins": [
[
"styled-components",
{
"pure": true,
"ssr": true
}
]
]
}
2 changes: 1 addition & 1 deletion babel.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"presets": ["@nrwl/web/babel"],
"presets": [],
"babelrcRoots": ["*"]
}
3 changes: 3 additions & 0 deletions libs/hpc-core/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["@nrwl/web/babel"]
}
3 changes: 3 additions & 0 deletions libs/hpc-data/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["@nrwl/web/babel"]
}
10 changes: 9 additions & 1 deletion libs/hpc-dummy/.babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"presets": ["@nrwl/react/babel"],
"plugins": [["styled-components", { "pure": true, "ssr": true }]]
"plugins": [
[
"styled-components",
{
"pure": true,
"ssr": true
}
]
]
}
3 changes: 3 additions & 0 deletions libs/hpc-live/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["@nrwl/web/babel"]
}
10 changes: 9 additions & 1 deletion libs/hpc-ui/.babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"presets": ["@nrwl/react/babel"],
"plugins": [["styled-components", { "pure": true, "ssr": true }]]
"plugins": [
[
"styled-components",
{
"pure": true,
"ssr": true
}
]
]
}

0 comments on commit 583337d

Please sign in to comment.