Frontend rewritten in TypeScript, added Node 18 support

This commit is contained in:
Igor Lobanov
2024-06-05 11:40:32 +02:00
parent 4392255d7e
commit 2ab738b303
301 changed files with 32512 additions and 33018 deletions

14
client/babel.config.cjs vendored Normal file
View File

@@ -0,0 +1,14 @@
module.exports = (api) => {
api.cache(false);
return {
presets: ['@babel/preset-env', '@babel/preset-typescript', '@babel/preset-react'],
plugins: [
'@babel/plugin-transform-runtime',
'@babel/plugin-transform-class-properties',
'@babel/plugin-transform-object-rest-spread',
'@babel/plugin-transform-nullish-coalescing-operator',
'@babel/plugin-transform-optional-chaining',
'react-hot-loader/babel',
],
};
};