vasansr / pro-mern-stack

Code Listing for the book Pro MERN Stack
http://www.apress.com/in/book/9781484226520
342 stars 157 forks source link

missing command in webpack instructions #44

Open ChrisCurl opened 6 years ago

ChrisCurl commented 6 years ago

The following command in the Using Webpack Manually section is missing the '-o' argument.

$ node_modules/.bin/webpack static/App.js static/app.bundle.js should be $ node_modules/.bin/webpack static/App.js -o static/app.bundle.js

RobertMyles commented 6 years ago

Was scratching my head for a while with that one -- thanks, @ChrisCurl !

fbarthel commented 6 years ago

that solution didn't help me, but --output fixed it.

$ node_modules/.bin/webpack static/App.js --output static/app.bundle.js