rails / webpacker

Use Webpack to manage app-like JavaScript modules in Rails
MIT License
5.31k stars 1.47k forks source link

Change name of bin/webpack to bin/webpacker (and bin/webpack-dev-server to bin/webpacker-dev-server) #3237

Closed justin808 closed 2 years ago

justin808 commented 2 years ago

A source of confusion has always been using bin/webpack and bin/webpack-dev-server to call the respective node modules of webpack and webpack-dev-server.

It's confusing to many to override those, especially to devs new to rails/webpacker.

It would be much more clear to call these bin/webpacker and bin/webpacker-dev-server. (with the webpacker in the name).

The v6 release is the right time to do this.

justin808 commented 2 years ago

@guillaumebriday do you like this idea?

justin808 commented 2 years ago

@dhh any opinion on this one?

guillaumebriday commented 2 years ago

I like the idea! Because too much people are confused 👍

apuntovanini commented 2 years ago

Like the idea as well!

guillaumebriday commented 2 years ago

@justin808 Could you open a PR for that? With a note in the upgrade guide?

justin808 commented 2 years ago

I'm on it! I didn't want to start until we had consensus.

justin808 commented 2 years ago

@guillaumebriday Done! #3252