Skip to content

Commit

Permalink
revert: update moduleResolution value casing
Browse files Browse the repository at this point in the history
closes #716
nazarepiedady committed Jan 19, 2025
1 parent 2ab49fc commit cdde2fc
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/tsconfig.json
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"moduleResolution": "bundler",
"strict": true,
"noImplicitOverride": true,
"noUnusedLocals": true,
2 changes: 1 addition & 1 deletion docs/guide/performance.md
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@ Por isso, é normalmente melhor ser explícito com os nossos caminhos de importa
Se formos autores de extensão, devemos certificar-nos de apenas chamar [`this.resolve`](https://rollupjs.org/plugin-development/#this-resolve) quando precisamos reduzir o número de verificações de cima.

:::tip TypeScript
Se estivermos a usar a TypeScript, podemos ativar `"moduleResolution": "Bundler"` e `"allowImportingTsExtensions": true` na `compilerOptions` do nosso `tsconfig.json` para usarmos extensões `.ts` e `tsx` diretamente no nosso código.
Se estivermos a usar a TypeScript, podemos ativar `"moduleResolution": "bundler"` e `"allowImportingTsExtensions": true` na `compilerOptions` do nosso `tsconfig.json` para usarmos extensões `.ts` e `tsx` diretamente no nosso código.
:::

## Evitar Ficheiros Embarricados {#avoid-barrel-files}

0 comments on commit cdde2fc

Please sign in to comment.