File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ TypeScriptWebpackHost.prototype.log = function log(message) {
112112/**
113113 * Return an array of import declarations found in source file.
114114 */
115- TypeScriptWebpackHost . prototype . findImportDeclarations = function findImportDeclarations ( filename ) {
115+ TypeScriptWebpackHost . prototype . _findImportDeclarations = function _findImportDeclarations ( filename ) {
116116 var node = this . _services . getSourceFile ( filename ) ;
117117 var result = [ ] ;
118118 visit ( node ) ;
@@ -154,7 +154,7 @@ TypeScriptWebpackHost.prototype._readFileAndAdd = function _readFileAndAdd(filen
154154} ;
155155
156156TypeScriptWebpackHost . prototype . _addDependencies = function ( resolver , filename ) {
157- var dependencies = this . findImportDeclarations ( filename ) . map ( function ( dep ) {
157+ var dependencies = this . _findImportDeclarations ( filename ) . map ( function ( dep ) {
158158 return resolver ( path . dirname ( filename ) , dep ) . then ( function ( filename ) {
159159 var added = this . _readFileAndAdd ( filename ) ;
160160 // This is d.ts which doesn't go through typescript-loader separately so
You can’t perform that action at this time.
0 commit comments