build: use node resolution to fix building

This commit is contained in:
Mikhail Zolotukhin 2021-09-05 01:03:51 +03:00
parent ef1aad06df
commit 4fb50f65f2
2 changed files with 10 additions and 4 deletions

View File

@ -18,6 +18,11 @@ declare namespace Bismuth {
}
}
/* Common Javascript globals */
declare let console: any;
declare let setTimeout: any;
// NOTICE: We can not declare the globals, since we use
// Node.js when building tests. However, the globals we use
// in production come from Qt JavaScript Envirinment and
// not from Node.js and therefore they could mismatch.
// Let's hope we will not run into one of these situations...
//
// declare let console: any;
// declare let setTimeout: any;

View File

@ -7,10 +7,11 @@
"lib": ["es5", "ES2015", "ES2016"],
"alwaysStrict": true,
"strict": true,
"moduleResolution": "node",
"module": "ES6"
},
"typedocOptions": {
"entryPoints": ["src"]
},
"include": ["src/**/*", "test/**/*"]
"include": ["src/**/*"]
}