Open
Description
I'm trying to switch from react-loadable to loadable component
const PipelineList = loadable(
() => import(/* webpackChunkName: "PipelineList" */ 'components/PipelineList'),
{
fallback: LoadingSVGCentered({
pastDelay: true,
error: false,
timedOut: false,
}),
}
);
I have also added @loadable/babel-plugin
to my babelrc.
but i'm getting the titled error
loadable-components: failed to asynchronously load component
{fileName: './components/PipelineList/index.tsx',
chunkName: 'PipelineList',
error: "Failed to resolve module specifier 'components/PipelineList'"}
Not sure what else I need to do to make it work