Skip to content

Commit b132a3b

Browse files
committed
chore: remove outdated warning
1 parent a2c767e commit b132a3b

File tree

1 file changed

+0
-10
lines changed
  • packages/@vue/cli-plugin-typescript

1 file changed

+0
-10
lines changed

packages/@vue/cli-plugin-typescript/index.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
11
module.exports = (api, options) => {
2-
// pre-rc7 warning
3-
try {
4-
require('typescript/package.json')
5-
} catch (e) {
6-
throw new Error(
7-
`"typescript" is now a peer dependency of "@vue/cli-plugin-typescript".\n` +
8-
`To fix the build, explicitly install typescript in your project.`
9-
)
10-
}
11-
122
const fs = require('fs')
133
const useThreads = process.env.NODE_ENV === 'production' && options.parallel
144

0 commit comments

Comments
 (0)