getting error You may need appropriate loader to handle the file type.
Swapnilchavan18 opened this issue · comments
Swapnilchavan18 commented
node_modules\react-photoswipe\src\photoswipe.js Unexpected token (9:19)
You may need an appropriate loader to handle this file type.
class PhotoSwipe extends React.Component {
| static propTypes = {
| isOpen: React.PropTypes.bool.isRequired,
| items: React.PropTypes.array.isRequired,
@ .//react-photoswipe/lib/PhotoSwipe.js 29:18-39/react-photoswipe/lib/index.js
@ ./
David Van Gompel commented
Have the same issue, after upgrading from weback 1 to webpack 2. Don't know if it's related. Have you found a solution?
Swapnilchavan18 commented
No I didn't found solution. Then I used photoswipe JavaScript version with npm.
Marcelo Cotrim commented
same issue here.
Any solution?