Skip to content

Commit 8326501

Browse files
fix: better default values
1 parent eab2f39 commit 8326501

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

packages/create-webpack-app/src/generators/init/default.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default async function (plop: NodePlopAPI) {
5050
name: "cssType",
5151
message: "Which of the following CSS solution do you want to use?",
5252
choices: ["none", "CSS only", "SASS", "LESS", "Stylus"],
53-
default: "none",
53+
default: "CSS only",
5454
filter: (input, answers) => {
5555
if (input === "none") {
5656
answers.isCSS = false;
@@ -81,7 +81,7 @@ export default async function (plop: NodePlopAPI) {
8181
name: "extractPlugin",
8282
message: "Do you want to extract CSS into separate files?",
8383
choices: ["No", "Only for Production", "Yes"],
84-
default: "No",
84+
default: "Only for Production",
8585
},
8686
{
8787
type: "list",

packages/create-webpack-app/src/generators/init/react.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export default async function (plop: NodePlopAPI) {
8484
name: "extractPlugin",
8585
message: "Do you want to extract CSS into separate files?",
8686
choices: ["No", "Only for Production", "Yes"],
87-
default: "No",
87+
default: "Only for Production",
8888
},
8989
{
9090
type: "list",

packages/create-webpack-app/src/generators/init/svelte.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export default async function (plop: NodePlopAPI) {
7575
name: "extractPlugin",
7676
message: "Do you want to extract CSS into separate files?",
7777
choices: ["No", "Only for Production", "Yes"],
78-
default: "No",
78+
default: "Only for Production",
7979
},
8080
{
8181
type: "list",

packages/create-webpack-app/src/generators/init/vue.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export default async function (plop: NodePlopAPI) {
8383
name: "extractPlugin",
8484
message: "Do you want to extract CSS into separate files?",
8585
choices: ["No", "Only for Production", "Yes"],
86-
default: "No",
86+
default: "Only for Production",
8787
},
8888
{
8989
type: "list",

0 commit comments

Comments
 (0)