When I run ./bin/build command, I get the following error, how to fix it ?
ERROR in ./app-public.js
Module build failed: AssertionError [ERR_ASSERTION]: ImportDeclaration should appear when the mode is ES6 and in the module context.
at Referencer.ImportDeclaration (/source/referencer.js:548:9)
4:10 warning ‘connect’ is defined but never used no-unused-vars
21:7 warning ‘mapStateToProps’ is assigned a value but never used no-unused-vars
29:7 warning ‘mapDispatchToProps’ is assigned a value but never used no-unused-vars
36:10 error ‘propTypes’ is not defined no-undef
4 problems (1 error, 3 warnings)
@ ./routes.jsx 185:33-101