Skip to content

v0.5.0

Compare
Choose a tag to compare
@romainmenke romainmenke released this 18 May 16:41
5b9cfa2
  • NewExpression matchers
  • CallExpression matchers
new Intl.NumberFormat('es', { style: 'currency', currency: 'EUR' }).format(number)

core-web will now detect usage of locale es in the context of NumberFormat and load all needed polyfills.

This is a breaking change because some features were previously matched by Identifier (e.g. forEach) and are now matched by MemberExpression or CallExpression.

although this should result in less false positives we want to be cautious.