Compare commits

...

2 Commits

Author SHA1 Message Date
97f52d1016 2.1.51 2022-03-15 09:45:49 +01:00
8d725e2e11 fix(core): update 2022-03-15 09:45:49 +01:00
3 changed files with 7 additions and 3 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@gitzone/tsbuild",
"version": "2.1.50",
"version": "2.1.51",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@gitzone/tsbuild",
"version": "2.1.50",
"version": "2.1.51",
"license": "MIT",
"dependencies": {
"@pushrocks/early": "^3.0.6",

View File

@ -1,6 +1,6 @@
{
"name": "@gitzone/tsbuild",
"version": "2.1.50",
"version": "2.1.51",
"private": false,
"description": "TypeScript nightly to easily make use of latest features",
"main": "dist_ts/index.js",

View File

@ -52,6 +52,10 @@ export const mergeCompilerOptions = (
...argvArg && argvArg.allowimplicitany ? {
noImplicitAny: false
} : {},
...argvArg && argvArg.commonjs ? {
module: plugins.typescript.ModuleKind.CommonJS,
moduleResolution: plugins.typescript.ModuleResolutionKind.Classic,
} : {},
};
return mergedOptions;