dialogflow-javascript-client icon indicating copy to clipboard operation
dialogflow-javascript-client copied to clipboard

CRA error: Failed to minify the code.

Open radi-cho opened this issue 6 years ago • 1 comments

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!

radi-cho avatar Nov 10 '17 18:11 radi-cho

+1 I am also getting this issue. Would be nice to have this project as ES2015 compatible out-of-the-box.

shinmyung0 avatar Jan 21 '18 22:01 shinmyung0