My project seems to be pulling the code from the src directory, which is es6. This is causing the following error:
Module parse failed: .../node_modules/react-search-input/src/index.js Unexpected token
This is being cause by the spread operator.
Any idea why my project isn't pulling the code from the lib directory instead?
My project seems to be pulling the code from the src directory, which is es6. This is causing the following error:
Module parse failed: .../node_modules/react-search-input/src/index.js Unexpected tokenThis is being cause by the spread operator.
Any idea why my project isn't pulling the code from the lib directory instead?