javascript - main.js 404 error for MIT react-starter-kit -
i'm using kriasoft's react starter kit, , built small app. runs locally w/ browserify, when try running production server @ /build/server.js, main.js file gives 404 error in chrome console , of code breaks.
i've done research , looked around -- think has browserify, haven't been able figure out.
can explain me i'm doing wrong , root of issue is? :)
this issue addressed here. build needs run "release" option when testing without browsersync/hmr/react transform.
npm run build -- --release && node build/server.js otherwise, bundle not build properly.


Comments
Post a Comment