react-photoswipe icon indicating copy to clipboard operation
react-photoswipe copied to clipboard

getting error You may need appropriate loader to handle the file type.

Open Swapnilchavan18 opened this issue 7 years ago • 3 comments

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

Swapnilchavan18 avatar Apr 12 '17 09:04 Swapnilchavan18

Have the same issue, after upgrading from weback 1 to webpack 2. Don't know if it's related. Have you found a solution?

hirviid avatar Apr 27 '17 07:04 hirviid

No I didn't found solution. Then I used photoswipe JavaScript version with npm.

Swapnilchavan18 avatar Apr 27 '17 08:04 Swapnilchavan18

same issue here. Any solution?

marcelocotrim avatar Nov 22 '18 12:11 marcelocotrim