Store the initial FormData of a form and only prompt if any current value is actually different than the corresponding initial value (i.e. do not trigger prompt just by change events)
11 lines
261 B
Plaintext
11 lines
261 B
Plaintext
{
|
|
"presets": [
|
|
["@babel/preset-env", { "useBuiltIns": "usage" }]
|
|
],
|
|
"plugins": [
|
|
["@babel/plugin-proposal-decorators", { "legacy": true }],
|
|
["@babel/plugin-proposal-class-properties", { "loose": true }],
|
|
["@babel/transform-runtime"]
|
|
]
|
|
}
|