mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-04-20 11:30:43 -05:00
fix(typescript): use @types/webpack-env instead of @types/node
fixes #2531
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
"sourceMap": true,
|
||||
"baseUrl": ".",
|
||||
"types": [
|
||||
"node"<% if (hasMocha || hasJest) { %>,<% } %>
|
||||
"webpack-env"<% if (hasMocha || hasJest) { %>,<% } %>
|
||||
<%_ if (hasMocha) { _%>
|
||||
"mocha",
|
||||
"chai"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/node": "^10.5.2",
|
||||
"@types/webpack-env": "^1.13.6",
|
||||
"@vue/cli-shared-utils": "^3.0.2",
|
||||
"fork-ts-checker-webpack-plugin": "^0.4.4",
|
||||
"globby": "^8.0.1",
|
||||
|
||||
Reference in New Issue
Block a user