I have a **csv** file located at `./src/data` folder and I wish to import it to be able pass to **papaparse library** to be parsed to **JSON** library. This is the script I use to do that

```
import Papa from 'papaparse';
import file from './src/data/test.csv';

const test = () => {
    console.log( "start parsing" );

    Papa.parse( file, {
        download: true,
        complete: result => {
            console.log( "result:", result.data );
        }
    });
};

export default test;

```

I get this error: 

> 
> Unable to resolve module ./src/data/test.csv
> 
> 
>