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

Failed to minify code.

Open gtier opened this issue 6 years ago • 1 comments

Hi, every time I try to build my project with the command npm run build, I get the following error:

Failed to minify the code from this file: ./node_modules/react-wavesurfer/src/plugins/regions.js:34

Any help would be much appreciated.

gtier avatar Jul 30 '18 17:07 gtier

For anyone that is interested, I solved this issue by changing the import statement require('react-wavesurfer/src/plugins/regions').default; to require('react-wavesurfer/lib/plugins/regions').default;

gtier avatar Jul 30 '18 17:07 gtier