Appropriate Loaders to handle community react native packages

Viewed 176

I am trying to use a react native multi-slider, but receive an error when compiling

/node_modules/@ptomasroos/react-native-multi-slider/MultiSlider.js 18:22
Module parse failed: Unexpected token (18:22)
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
| 
| export default class MultiSlider extends React.Component {
>   static defaultProps = {
|     values: [0],
|     onValuesChangeStart: () => {},

I am a bit confused at where you specify a loader for the desired file. Any help is appreciated!

1 Answers
Related