Open Swapnilchavan18 opened 7 years ago
Have the same issue, after upgrading from weback 1 to webpack 2. Don't know if it's related. Have you found a solution?
No I didn't found solution. Then I used photoswipe JavaScript version with npm.
same issue here. Any solution?
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