All differences between JavaScript modules, classic scripts, and CommonJS. https://gist.github.com/jkrems/b14894e0b8efde10aa10a28c652d3541 … For the next time somebody asks me "why have different file extensions?".
-
-
Odgovor korisnicima @jankrems @robpalmer2
I think it's important to mention that commonjs predates modules and all things webpack/babel/rollup/* are based on commonjs as it is the majority of npm.
1 reply 0 proslijeđenih tweetova 1 korisnik označava da mu se sviđa
Odgovor korisnicima @matteocollina @robpalmer2
Good point! The order is a bit arbitrary right now. I was tempted to also throw in history stuff, including UMD/AMD/etc but it ended up more verbose than useful. :(
15:03 - 30. pro 2019.
0 replies
0 proslijeđenih tweetova
1 korisnik označava da mu se sviđa
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.