File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 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 {
291291 ) ;
292292 }
293293
294+ // Generate README
295+ this . fs . copyTpl (
296+ path . resolve ( __dirname , "./templates/README.md" ) ,
297+ this . destinationPath ( "README.md" )
298+ ) ;
299+
300+ // Genrate tsconfig
294301 if ( this . langType === LangType . Typescript ) {
295302 const tsConfigTemplatePath = "./templates/tsconfig.json.js" ;
296303 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