Upgraded to Webpack 5 and now it outputs to dist/main.js, which isn't a thing. Anyone know how to handle this?

Whenever something involves node or npm, my usual solution is to sit down and cry for a while. Your mileage may vary with that though.

Edit: I have no recommendations whatsoever regarding webpack, but phoenix 1.6 will be moving to esbuild. Here are a few links about it and dart_sass:

7 Likes