perhaps i'm confused slightly here (or maybe you come on to it later in the video), but previously you said that we use webpack to avoid the problem of having to manually order our JS files. but isn't that solved by using imports and exports, rather than the bundling of JS files into one?
Jesus, so much need to know. I'm a student of your web-development course. Just done 2/3 of course. I feel so stupid 🙄, don't understand a lot of stuff
After i run npm start, the main.js drop an error ( Uncaught SyntaxError: Unexpected token '...' ) When i checked my main.js file and compared it with yours, found out i have this part of code : t=...e; instead of this one: t=((...e)=>e.map(e=>parseInt(e)))(...e); What's the problem exactly? i checked 4 times and even copied the same code from your commit, but when i run npm start it gaves me incompleted code !!!
a quick google search and the first stackoverflow thread will resolve this issue.... just search for "webpack arrow function in a class unexpected token"
@Ptmp727 I thought webpack automatically calculates dependencies and when a script can be compiled, it's not hard to find dependencies. It should do that.
A good course, but there was too much reorganizing the application that could have been done before we started. That would have made this lesson go by much quicker. Also, it would be helpful to have starter code one can download from this course. Other than that, keep up the good work.
Great work! Really well explained and set out.
Awesome to know the default behavior without any config!
Best series on Webpack!
This is freakin awesome! You should do babel and nextjs next.
Such a nice explanation to understand Webpack
what theme do you use for vs code? i like the colors
perhaps i'm confused slightly here (or maybe you come on to it later in the video), but previously you said that we use webpack to avoid the problem of having to manually order our JS files.
but isn't that solved by using imports and exports, rather than the bundling of JS files into one?
I think webpack just 'handles' the dependencies and bundles them. It's upto us to write the dependency.
A good and clear explanation. Nice.
Jesus, so much need to know. I'm a student of your web-development course. Just done 2/3 of course. I feel so stupid 🙄, don't understand a lot of stuff
After i run npm start, the main.js drop an error ( Uncaught SyntaxError: Unexpected token '...' )
When i checked my main.js file and compared it with yours, found out i have this part of code :
t=...e;
instead of this one:
t=((...e)=>e.map(e=>parseInt(e)))(...e);
What's the problem exactly? i checked 4 times and even copied the same code from your commit, but when i run npm start it gaves me incompleted code !!!
a quick google search and the first stackoverflow thread will resolve this issue.... just search for "webpack arrow function in a class unexpected token"
Why can't it automatically figure out the dependencies?
@Ptmp727 I thought webpack automatically calculates dependencies and when a script can be compiled, it's not hard to find dependencies. It should do that.
Can this logic be applied to jquery, if so how can you apply it?
Just finised the part 2 and now part 3 ... you seem like you hate basebale caps (or forgot it somewhere else before recording your outro LoL)
A good course, but there was too much reorganizing the application that could have been done before we started. That would have made this lesson go by much quicker. Also, it would be helpful to have starter code one can download from this course. Other than that, keep up the good work.