We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25ab7e6 commit c090b17Copy full SHA for c090b17
2 files changed
packages/generators/init-generator.ts
@@ -291,6 +291,13 @@ export default class InitGenerator extends Generator {
291
);
292
}
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
301
if (this.langType === LangType.Typescript) {
302
const tsConfigTemplatePath = "./templates/tsconfig.json.js";
303
this.fs.extendJSON(this.destinationPath("tsconfig.json"), require(tsConfigTemplatePath));
packages/generators/templates/README.md
@@ -0,0 +1,15 @@
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
0 commit comments