Skip to content

Commit

Permalink
Merge pull request #78 from datasektionen/language-rewrite
Browse files Browse the repository at this point in the history
Better langugage support (and refactor and update a lot of dependencies)
  • Loading branch information
Herkarl authored Jul 4, 2024
2 parents 8afa534 + 1d43bb1 commit 5792e6b
Show file tree
Hide file tree
Showing 14 changed files with 17,408 additions and 14,663 deletions.
42 changes: 35 additions & 7 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,39 @@
{
"presets": [
"razzle/babel", // NEEDED
"stage-0"
],
"plugins": [
["babel-plugin-styled-components", {
"razzle/babel"
],
"plugins": [
[
"babel-plugin-styled-components",
{
"pure": true
}]
]
}
],
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-syntax-import-meta",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-json-strings",
[
"@babel/plugin-proposal-decorators",
{
"legacy": true
}
],
"@babel/plugin-proposal-function-sent",
"@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-throw-expressions",
"@babel/plugin-proposal-export-default-from",
"@babel/plugin-proposal-logical-assignment-operators",
"@babel/plugin-proposal-optional-chaining",
[
"@babel/plugin-proposal-pipeline-operator",
{
"proposal": "minimal"
}
],
"@babel/plugin-proposal-nullish-coalescing-operator",
"@babel/plugin-proposal-do-expressions",
"@babel/plugin-proposal-function-bind"
]
}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ build
.env.local
.env.development.local
.env.test.local
.env.production.local
.env.production.local

cache
Loading

0 comments on commit 5792e6b

Please sign in to comment.