tweak typescript build
This commit is contained in:
parent
8cfe2e1292
commit
496f5a5b23
|
|
@ -86,7 +86,7 @@
|
|||
"stylus-loader": "^3.0.2",
|
||||
"ts-jest": "^24.3.0",
|
||||
"ts-loader": "^6.2.1",
|
||||
"typescript": "^3.7.4",
|
||||
"typescript": "^3.8.3",
|
||||
"url-loader": "^3.0.0",
|
||||
"vue-jest": "^4.0.0-beta.2",
|
||||
"vue-loader": "^15.8.3",
|
||||
|
|
|
|||
8
tsconfig.build.json
Normal file
8
tsconfig.build.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"incremental": true,
|
||||
"noUnusedLocals": false,
|
||||
"noUnusedParameters": false
|
||||
}
|
||||
}
|
||||
|
|
@ -6,7 +6,6 @@
|
|||
"moduleResolution": "node",
|
||||
"declaration": false,
|
||||
"baseUrl": ".",
|
||||
"incremental": true,
|
||||
"paths": {
|
||||
"@/*": ["./resources/assets/src/*"]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,7 +42,10 @@ const config = {
|
|||
},
|
||||
{
|
||||
test: /\.tsx?$/,
|
||||
use: 'ts-loader',
|
||||
loader: 'ts-loader',
|
||||
options: {
|
||||
configFile: 'tsconfig.build.json',
|
||||
},
|
||||
},
|
||||
{
|
||||
test: /\.vue$/,
|
||||
|
|
|
|||
|
|
@ -10052,10 +10052,10 @@ typedarray@^0.0.6:
|
|||
resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
|
||||
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
|
||||
|
||||
typescript@^3.7.4:
|
||||
version "3.7.4"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.4.tgz#1743a5ec5fef6a1fa9f3e4708e33c81c73876c19"
|
||||
integrity sha512-A25xv5XCtarLwXpcDNZzCGvW2D1S3/bACratYBx2sax8PefsFhlYmkQicKHvpYflFS8if4zne5zT5kpJ7pzuvw==
|
||||
typescript@^3.8.3:
|
||||
version "3.8.3"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061"
|
||||
integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==
|
||||
|
||||
uglify-js@^3.1.4:
|
||||
version "3.6.0"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user