mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 10:26:28 +00:00
zjsunit: Simplify typeRoots path (it’s relative to tsconfig.json).
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
85c7eba3f9
commit
11a305e320
@@ -1,7 +1,7 @@
|
|||||||
require('ts-node').register({
|
require('ts-node').register({
|
||||||
project: 'static/js/tsconfig.json',
|
project: 'static/js/tsconfig.json',
|
||||||
compilerOptions: {
|
compilerOptions: {
|
||||||
typeRoots: ["node_modules/@types", "../../static/js/js_typings"],
|
typeRoots: ["node_modules/@types", "./js_typings"],
|
||||||
// We don't have webpack to handle es6 modules here so directly
|
// We don't have webpack to handle es6 modules here so directly
|
||||||
// transpile to CommonJS format.
|
// transpile to CommonJS format.
|
||||||
module: "commonjs",
|
module: "commonjs",
|
||||||
|
|||||||
Reference in New Issue
Block a user