This suggests that there will be an out/main.js file generated. However, in later versions of webpack (it seems) that -o generates a folder, so in this case there would be a directory created called main.js, in which main.js, the file would reside. Also, it seems we need to prefix with ./ (see below)
I might be missing something, but I bumped into this yesterday. Not sure in which way we should improve this docs though. Maybe just edit the above command to reflect the latest situation? ie.:
On the webpack guide's page it says:
This suggests that there will be an out/main.js file generated. However, in later versions of webpack (it seems) that -o generates a folder, so in this case there would be a directory created called
main.js
, in whichmain.js
, the file would reside. Also, it seems we need to prefix with./
(see below)I might be missing something, but I bumped into this yesterday. Not sure in which way we should improve this docs though. Maybe just edit the above command to reflect the latest situation? ie.: