Skip to content

Commit f390f6a

Browse files
committed
compile for #580
1 parent c69c21f commit f390f6a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dist/main/tsconfig/tsconfig.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ var compilerOptionsValidation = {
2020
locals: { type: types.string },
2121
mapRoot: { type: types.string },
2222
module: { type: types.string, validValues: ['commonjs', 'amd', 'system', 'umd'] },
23+
moduleResolution: { type: types.string, validValues: ['classic', 'node'] },
2324
newLine: { type: types.string },
2425
noEmit: { type: types.boolean },
2526
noEmitHelpers: { type: types.boolean },
@@ -73,6 +74,7 @@ var typeScriptVersion = '1.5.0-beta';
7374
exports.defaults = {
7475
target: ts.ScriptTarget.ES5,
7576
module: ts.ModuleKind.CommonJS,
77+
moduleResolution: ts.ModuleResolutionKind.NodeJs,
7678
isolatedModules: false,
7779
jsx: ts.JsxEmit.React,
7880
experimentalDecorators: true,
@@ -98,6 +100,10 @@ var typescriptEnumMap = {
98100
'system': ts.ModuleKind.System,
99101
'umd': ts.ModuleKind.UMD,
100102
},
103+
moduleResolution: {
104+
'node': ts.ModuleResolutionKind.NodeJs,
105+
'classic': ts.ModuleResolutionKind.Classic
106+
},
101107
jsx: {
102108
'preserve': ts.JsxEmit.Preserve,
103109
'react': ts.JsxEmit.React

0 commit comments

Comments
 (0)