Skip to content

Commit

Permalink
fix: preferred minimal for importModuleSpecifierEnding
Browse files Browse the repository at this point in the history
close #1667
  • Loading branch information
johnsoncodehk committed Aug 6, 2022
1 parent 18b62d1 commit eb8d194
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vue-language-service/src/tsConfigs.ts
Expand Up @@ -112,7 +112,8 @@ function getImportModuleSpecifierEndingPreference(config: any) {
case 'minimal': return 'minimal';
case 'index': return 'index';
case 'js': return 'js';
default: return 'auto';
default: return 'minimal'; // fix https://github.com/johnsoncodehk/volar/issues/1667
// default: return 'auto';
}
}

Expand Down

0 comments on commit eb8d194

Please sign in to comment.