Closed meriturva closed 2 years ago
Hi @meriturva,
I do agree that extraction shouldn't depend on the browserslist configuration.
That said, it's important to point out that by enabling the not dead
option in the browserslist configuration you are enabling browsers that Angular does not support.
Hi @alan-agius4 you are right, we are going to remove not dead
on our configuration but main point is that extraction phase has to ignore browser list configuration.
Thanks!
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
🐞 Bug report
Command (mark with an
x
)Description
Clone repo: https://github.com/meriturva/ng14_i18n_browserlist and run the command
npm run extract
you will see the error:Basically, if you comment
not dead
from.browserlistrc
file everything works correctly. https://github.com/meriturva/ng14_i18n_browserlist/blob/master/.browserslistrc#L13I think the extract phase of i18n strings has not to depend on the customer
.browserlistrc
file. It is better to build a project during extraction in a fixed configuration that makes tools work correctly.🌍 Your Environment