Skip to content

Commit

Permalink
docs: add description of babel plugin usage in TS plugin prompt (#4046)
Browse files Browse the repository at this point in the history
closes #3206

(cherry picked from commit 82dbbeb)
  • Loading branch information
sodatea committed May 25, 2019
1 parent 6996df3 commit 1ba4b9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/@vue/cli-plugin-typescript/prompts.js
Expand Up @@ -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`,
Expand Down
2 changes: 1 addition & 1 deletion packages/@vue/cli/lib/promptModules/typescript.js
Expand Up @@ -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')
})
Expand Down

0 comments on commit 1ba4b9c

Please sign in to comment.