1.1.2 • Published 10 months ago

@react-aria/parcel-resolver-optimize-locales v1.1.2

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

@react-aria/parcel-resolver-optimize-locales

A Parcel resolver plugin to optimize React Aria to only include translated strings for locales that your app supports.

Configuration

Add the following to your .parcelrc:

{
  "extends": "@parcel/config-default",
  "resolvers": ["@react-aria/parcel-resolver-optimize-locales", "..."]
}

Then, in your package.json, add a "locales" field:

{
  "locales": ["en-US", "fr-FR"]
}

Any strings for locales other than the ones listed here will be removed from your bundle. See the documentation for a full list of supported locales.

1.1.2

11 months ago

1.1.2-nightly.5042

12 months ago

1.1.2-nightly.5041

12 months ago

1.1.2-nightly.5038

12 months ago

1.1.2-nightly.5032

12 months ago

1.1.2-nightly.5030

12 months ago

1.1.2-nightly.5028

12 months ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago