diff --git a/packages/@vue/cli-plugin-typescript/prompts.js b/packages/@vue/cli-plugin-typescript/prompts.js index 00ce48f2c4..49ff4c97f0 100644 --- a/packages/@vue/cli-plugin-typescript/prompts.js +++ b/packages/@vue/cli-plugin-typescript/prompts.js @@ -13,7 +13,7 @@ const prompts = module.exports = [ { name: `useTsWithBabel`, type: `confirm`, - message: `Use Babel alongside TypeScript for auto-detected polyfills?` + message: 'Use Babel alongside TypeScript (required for modern mode, auto-detected polyfills, transpiling JSX)?' }, { name: `lint`, diff --git a/packages/@vue/cli/lib/promptModules/typescript.js b/packages/@vue/cli/lib/promptModules/typescript.js index 83ffb0d040..f274889e32 100644 --- a/packages/@vue/cli/lib/promptModules/typescript.js +++ b/packages/@vue/cli/lib/promptModules/typescript.js @@ -22,7 +22,7 @@ module.exports = cli => { name: 'useTsWithBabel', when: answers => answers.features.includes('ts'), type: 'confirm', - message: 'Use Babel alongside TypeScript for auto-detected polyfills?', + message: 'Use Babel alongside TypeScript (required for modern mode, auto-detected polyfills, transpiling JSX)?', description: 'It will output ES2015 and delegate the rest to Babel for auto polyfill based on browser targets.', default: answers => answers.features.includes('babel') })