loadable-components icon indicating copy to clipboard operation
loadable-components copied to clipboard

getting Uncaught TypeError: Failed to resolve module specifier

Open sumengwang opened this issue 1 year ago • 1 comments

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

sumengwang avatar May 01 '23 13:05 sumengwang

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.

stale[bot] avatar Aug 13 '23 01:08 stale[bot]