mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-04 20:01:58 +00:00
Stash work
This commit is contained in:
+8
-4
@@ -1,5 +1,8 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
sourceMaps: true,
|
sourceMaps: true,
|
||||||
|
assumptions: {
|
||||||
|
setPublicClassFields: true,
|
||||||
|
},
|
||||||
presets: [
|
presets: [
|
||||||
[
|
[
|
||||||
"@babel/preset-env",
|
"@babel/preset-env",
|
||||||
@@ -10,19 +13,20 @@ module.exports = {
|
|||||||
"last 2 Safari versions",
|
"last 2 Safari versions",
|
||||||
"last 2 Edge versions",
|
"last 2 Edge versions",
|
||||||
],
|
],
|
||||||
|
include: [
|
||||||
|
"@babel/plugin-proposal-nullish-coalescing-operator",
|
||||||
|
"@babel/plugin-proposal-class-properties",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
["@babel/preset-typescript", { allowDeclareFields: true }],
|
|
||||||
"@babel/preset-react",
|
"@babel/preset-react",
|
||||||
|
["@babel/preset-typescript", { allowDeclareFields: true }],
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
["@babel/plugin-transform-typescript", { allowDeclareFields: true }],
|
|
||||||
"@babel/plugin-proposal-export-default-from",
|
"@babel/plugin-proposal-export-default-from",
|
||||||
"@babel/plugin-proposal-numeric-separator",
|
"@babel/plugin-proposal-numeric-separator",
|
||||||
"@babel/plugin-proposal-class-properties",
|
|
||||||
"@babel/plugin-proposal-object-rest-spread",
|
"@babel/plugin-proposal-object-rest-spread",
|
||||||
"@babel/plugin-proposal-optional-chaining",
|
"@babel/plugin-proposal-optional-chaining",
|
||||||
"@babel/plugin-proposal-nullish-coalescing-operator",
|
|
||||||
|
|
||||||
// transform logical assignment (??=, ||=, &&=). preset-env doesn't
|
// transform logical assignment (??=, ||=, &&=). preset-env doesn't
|
||||||
// normally bother with these (presumably because all the target
|
// normally bother with these (presumably because all the target
|
||||||
|
|||||||
Reference in New Issue
Block a user