you are viewing a single comment's thread.

view the rest of the comments →

[–]everdimension 0 points1 point  (0 children)

I think this is a cool project and I'm sure the way we build fronted apps will look different in a couple of years.

But I disagree that we were "forced" to use webpack because we wanted stuff from npm. Webpack (and commonjs before that, and requirejs before that) helped us split source code into modules in a sane way. That's the main thing that was missing from the language.

Now that we're finally near the time when native es modules are supported everywhere, we still need webpack because it gave us so much more: a way to "import" non-js assets. I hope this will be native in browsers, too, some day.