File tree 2 files changed +22
-0
lines changed
2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -291,6 +291,13 @@ export default class InitGenerator extends Generator {
291
291
) ;
292
292
}
293
293
294
+ // Generate README
295
+ this . fs . copyTpl (
296
+ path . resolve ( __dirname , "./templates/README.md" ) ,
297
+ this . destinationPath ( "README.md" )
298
+ ) ;
299
+
300
+ // Genrate tsconfig
294
301
if ( this . langType === LangType . Typescript ) {
295
302
const tsConfigTemplatePath = "./templates/tsconfig.json.js" ;
296
303
this . fs . extendJSON ( this . destinationPath ( "tsconfig.json" ) , require ( tsConfigTemplatePath ) ) ;
Original file line number Diff line number Diff line change
1
+ # 🚀 Welcome to your new awesome project!
2
+
3
+ This project has been created using ** webpack scaffold** , you can now run
4
+
5
+ ```
6
+ npm run build
7
+ ```
8
+
9
+ or
10
+
11
+ ```
12
+ yarn build
13
+ ```
14
+
15
+ to bundle your application
You can’t perform that action at this time.
0 commit comments