I'm nube on react and js modules. I try to use it package. In developer env all is ok.
import Runes from 'runes';
Runes.substr(this.props.text, 0, 1)
but if I try to build I got some error:
/var/www/react-js # npm run build
> react-comment@0.1.0 build /var/www/react-js
> node scripts/build.js
Creating an optimized production build...
Failed to compile.
Failed to minify the code from this file:
./node_modules/runes/index.js:45
Read more here: http://bit.ly/2tRViJ9
I'm nube on react and js modules. I try to use it package. In developer env all is ok.
but if I try to build I got some error: