mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-03 05:57:47 +08:00
chore(build): fix path to tsconfig
This commit is contained in:
parent
9fd288fe7e
commit
80afac902a
@ -36,7 +36,7 @@ function register(app: express.Application) {
|
|||||||
use: [{
|
use: [{
|
||||||
loader: 'ts-loader',
|
loader: 'ts-loader',
|
||||||
options: {
|
options: {
|
||||||
configFile: "./src/public/tsconfig.json"
|
configFile: path.join(srcRoot, "..", "tsconfig.webpack.json")
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
|
@ -16,12 +16,9 @@
|
|||||||
"allowJs": true
|
"allowJs": true
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"**/*",
|
"./src/public/app/**/*",
|
||||||
],
|
|
||||||
"exclude": [
|
|
||||||
"./app-dist",
|
|
||||||
],
|
],
|
||||||
"files": [
|
"files": [
|
||||||
"./app/types.d.ts"
|
"./src/public/app/types.d.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user