create-react-library icon indicating copy to clipboard operation
create-react-library copied to clipboard

You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file

Open cagline opened this issue 5 years ago • 1 comments

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

I'm getting this error in few other places, I'm trying to move my independent core component & create one of my core component as a library. all this code within the original project

image

export const workFlowDefinitionsControllerApi = function(val: string) {
  return axios.get(`${base_url}/api/v1/workflow/config/definition?workflowKey=${val}`, header);
};

cagline avatar Jul 15 '20 16:07 cagline

This looks like your typescript file is loaded by something else than typescript. Could you create a working example of your project (A github for example) so that I can have a further look?

psyycker avatar Jul 23 '20 20:07 psyycker