webpack / webpack

A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

Home Page:https://webpack.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[feature] create cli

RSS1102 opened this issue · comments

Feature request

What is the expected behavior?

Should we also create a create cli to help users quickly start using webpack templates for development?

What is motivation or use case for adding/changing the behavior?

When I want to quickly develop React using Webpack, I need to learn from and read React's CLI. If I use Vue, I need to use Vue CLI. Why doesn't Webpack create its own CLI to make it easier for users to start a new Webpack project?

How should this be implemented in your opinion?
Create a tool pnpm create webpack can be used

Are you willing to work on this yourself?
yes

And I see create-react-app haved stopped maintaining updates, so when I create React, I prefer to use Vite's template to configure my project

It is already implemented, webpack-cli init, soon we will implement more templates

It is already implemented, webpack-cli init, soon we will implement more templates

Yes, I discovered him later, perhaps because he was not placed in the most prominent position on the official website: Quick Start, which made users want to use webpack quickly and encountered doubts.