dialogflow-javascript-client
dialogflow-javascript-client copied to clipboard
CRA error: Failed to minify the code.
Hello! When use this API with create-react-app it fails with building:
Failed to minify the code from this file:
./node_modules/api-ai-javascript/es6/ApiAiConstants.js:3
I fixed this for me. Went to node_modules
and compiled all files with Babel.
But please provide support for all users. Thanks!
+1 I am also getting this issue. Would be nice to have this project as ES2015 compatible out-of-the-box.