-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove baseUrl in tsconfig.json #18834
Comments
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends. Find more details about Angular's feature request process in our documentation. |
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage. We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package. You can find more details about the feature request process in our documentation. |
Can we remove baseUrl in tsconfig.json? |
Hola, gente. Estoy teniendo muchas dudas (y encontrando muy poca información) sobre el contenido del json de tsconfig. Especialemente se me presentó la duda con el baseUrl del tsconfig.json. Una compañera decidió dejar esos archivos y cada vez que uno se baja cambios se terminan generando conflictos. Miré las diferencias y me encuentro con que su tsconfig.json tiene como baseUrl el valor "./", mientras que yo obtengo la compilación correcta con mi archivo que tiene baseUrl con valor "" (vacío) No sé a qué se debe esta diferencia en la baseUrl y estaba buscando información sobre los usos y consecuencias de la misma. También vi que hay un tema de diferencia en la creación de componentes, en algunos casos se hace automáticamente con el import del Component, y en otros casos con el NgInit. Lo mismo replicado dentro de la class export, en algunos casos está vacía, en otros predeterminada dentro, incluyendo el constructor vacío, el NgInit y el tipo void Al momento, y habiendo iniciado a utilizar Angular hace nada de tiempo, no llego a entender las diferencias de estas configuraciones a nivel de proyecto y si son un tema del cambio de versión de Angular, o si realmente esto de alguna forma afectaría. Saludos |
The `baseUrl` is no longer needed since NGCC has been removed. This also enables better auto-import suggestions. Closes angular#18834
The `baseUrl` is no longer needed since NGCC has been removed. This also enables better auto-import suggestions. Closes angular#18834
The `baseUrl` is no longer needed since NGCC has been removed. This also enables better auto-import suggestions. Closes angular#18834
The `baseUrl` is no longer needed since NGCC has been removed. This also enables better auto-import suggestions. Closes angular#18834
The `baseUrl` is no longer needed since NGCC has been removed. This also enables better auto-import suggestions. Closes #18834
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🚀 Feature request
Command (mark with an
x
)Description
https://devblogs.microsoft.com/typescript/announcing-typescript-4-1-beta/
We can remove baseUrl in tsconfig now!
The text was updated successfully, but these errors were encountered: