Building project with Antd Table fails

I added an Antd Table to my project and now it no longer builds. I get

Failed to compile
./node_modules/@plasmicpkgs/antd/skinny/registerTable.js
Module parse failed: 'import' and 'export' may appear only with 'sourceType: module' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See <https://webpack.js.org/concepts#loaders>
> import { useSelector, DataProvider, repeatedElement, registerComponent } from '@plasmicapp/host';
| import Table from 'antd/lib/table/Table';
| import React from 'react';
This error occurred during the build process and can only be dismissed by fixing the error.