mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +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({
|
||||
project: 'static/js/tsconfig.json',
|
||||
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
|
||||
// transpile to CommonJS format.
|
||||
module: "commonjs",
|
||||
|
||||
Reference in New Issue
Block a user