При компиляции выводит такую ошибку:
error: bundling failed: SyntaxError: /home/vacoo/www/vodopad/app_client/src/resources/core/index.tsx: enum is a reserved word (4:0)
2 | import Helpers from "./helpers";
3 |
> 4 | export enum NetworkRequestStatus {
| ^
5 | REQUEST = "request",
6 | SUCCESS = "success",
7 | FAILED = "failed"
Add @babel/plugin-proposal-export-default-from (https://git.io/vb4yH) to the 'plugins' section of your Babel config to enable transformation.
at _class.raise (/home/vacoo/www/vodopad/app_client/node_modules/@babel/parser/lib/index.js:3939:15)
мой package.json -
https://pastebin.com/FL4P2DD4