loadable-components
loadable-components copied to clipboard
getting Uncaught TypeError: Failed to resolve module specifier
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
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.