Skip to content

Commit

Permalink
fix: better default values
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Dec 20, 2024
1 parent eab2f39 commit 8326501
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/create-webpack-app/src/generators/init/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default async function (plop: NodePlopAPI) {
name: "cssType",
message: "Which of the following CSS solution do you want to use?",
choices: ["none", "CSS only", "SASS", "LESS", "Stylus"],
default: "none",
default: "CSS only",
filter: (input, answers) => {
if (input === "none") {
answers.isCSS = false;
Expand Down Expand Up @@ -81,7 +81,7 @@ export default async function (plop: NodePlopAPI) {
name: "extractPlugin",
message: "Do you want to extract CSS into separate files?",
choices: ["No", "Only for Production", "Yes"],
default: "No",
default: "Only for Production",
},
{
type: "list",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-webpack-app/src/generators/init/react.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default async function (plop: NodePlopAPI) {
name: "extractPlugin",
message: "Do you want to extract CSS into separate files?",
choices: ["No", "Only for Production", "Yes"],
default: "No",
default: "Only for Production",
},
{
type: "list",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-webpack-app/src/generators/init/svelte.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default async function (plop: NodePlopAPI) {
name: "extractPlugin",
message: "Do you want to extract CSS into separate files?",
choices: ["No", "Only for Production", "Yes"],
default: "No",
default: "Only for Production",
},
{
type: "list",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-webpack-app/src/generators/init/vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default async function (plop: NodePlopAPI) {
name: "extractPlugin",
message: "Do you want to extract CSS into separate files?",
choices: ["No", "Only for Production", "Yes"],
default: "No",
default: "Only for Production",
},
{
type: "list",
Expand Down

0 comments on commit 8326501

Please sign in to comment.