@@ -68,16 +68,22 @@ npx webpack build --config ./webpack.config.js --stats verbose
68
68
69
69
### Init
70
70
71
- Used to initialize a new webpack project using ` @webpack-cli/ create-webpack-app` .
71
+ Used to initialize a new webpack project using ` create-new -webpack-app ` .
72
72
73
73
``` bash
74
- npx create-webpack-app init [generation-path] [options]
74
+ npx create-new- webpack-app [generation-path] [options]
75
75
```
76
76
77
77
** example**
78
78
79
79
``` bash
80
- npx create-webpack-app init ./my-app --force --template=default
80
+ npx create-new-webpack-app ./my-app --force --template=default
81
+ ```
82
+
83
+ Alias to:
84
+
85
+ ``` bash
86
+ npx create-new-webpack-app init ./my-app --force --template=default
81
87
```
82
88
83
89
#### Generation Path
@@ -110,13 +116,13 @@ To generate a project without questions. When enabled, the default answer for ea
110
116
Scaffold a loader.
111
117
112
118
``` bash
113
- npx create-webpack-app loader [output-path] [options]
119
+ npx create-new- webpack-app loader [output-path] [options]
114
120
```
115
121
116
122
** example**
117
123
118
124
``` bash
119
- npx create-webpack-app loader ./my-loader --template=default
125
+ npx create-new- webpack-app loader ./my-loader --template=default
120
126
```
121
127
122
128
#### Output Path
@@ -136,13 +142,13 @@ Type of template.
136
142
Scaffold a plugin.
137
143
138
144
``` bash
139
- npx create-webpack-app plugin [output-path] [options]
145
+ npx create-new- webpack-app plugin [output-path] [options]
140
146
```
141
147
142
148
** example**
143
149
144
150
``` bash
145
- npx create-webpack-app plugin ./my-plugin --template=default
151
+ npx create-new- webpack-app plugin ./my-plugin --template=default
146
152
```
147
153
148
154
#### Output Path
@@ -157,7 +163,7 @@ Path to the output directory, e.g. `./plugin-name`.
157
163
158
164
Type of template.
159
165
160
- T> See the [ full documentation of ` create-webpack-app ` ] ( https://github.com/webpack/webpack-cli/blob/master/packages/create-webpack-app/README.md ) .
166
+ T> See the [ full documentation of ` create-new- webpack-app ` ] ( https://github.com/webpack/webpack-cli/blob/master/packages/create-webpack-app/README.md ) .
161
167
162
168
### Info
163
169
0 commit comments