mirror of
https://github.com/ezolenko/rollup-plugin-typescript2.git
synced 2025-12-08 19:06:16 +00:00
- fix for LanguageServiceHost ignoring virtual modules #78
This commit is contained in:
parent
aab0cc7694
commit
ffe3b6cd9f
2
dist/rollup-plugin-typescript2.cjs.js
vendored
2
dist/rollup-plugin-typescript2.cjs.js
vendored
@ -17292,7 +17292,7 @@ var LanguageServiceHost = /** @class */ (function () {
|
||||
return (this.versions[fileName] || 0).toString();
|
||||
};
|
||||
LanguageServiceHost.prototype.getScriptFileNames = function () {
|
||||
return this.parsedConfig.fileNames;
|
||||
return Object.keys(this.snapshots);
|
||||
};
|
||||
LanguageServiceHost.prototype.getCompilationSettings = function () {
|
||||
return this.parsedConfig.options;
|
||||
|
||||
2
dist/rollup-plugin-typescript2.cjs.js.map
vendored
2
dist/rollup-plugin-typescript2.cjs.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/rollup-plugin-typescript2.es.js
vendored
2
dist/rollup-plugin-typescript2.es.js
vendored
@ -17288,7 +17288,7 @@ var LanguageServiceHost = /** @class */ (function () {
|
||||
return (this.versions[fileName] || 0).toString();
|
||||
};
|
||||
LanguageServiceHost.prototype.getScriptFileNames = function () {
|
||||
return this.parsedConfig.fileNames;
|
||||
return Object.keys(this.snapshots);
|
||||
};
|
||||
LanguageServiceHost.prototype.getCompilationSettings = function () {
|
||||
return this.parsedConfig.options;
|
||||
|
||||
2
dist/rollup-plugin-typescript2.es.js.map
vendored
2
dist/rollup-plugin-typescript2.es.js.map
vendored
File diff suppressed because one or more lines are too long
@ -68,7 +68,7 @@ export class LanguageServiceHost implements tsTypes.LanguageServiceHost
|
||||
|
||||
public getScriptFileNames()
|
||||
{
|
||||
return this.parsedConfig.fileNames;
|
||||
return Object.keys(this.snapshots);
|
||||
}
|
||||
|
||||
public getCompilationSettings(): tsTypes.CompilerOptions
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user