Skip to content

Commit

Permalink
Breaking, do not import all the messages
Browse files Browse the repository at this point in the history
  • Loading branch information
StorytellerCZ committed Oct 8, 2022
1 parent 1719e0f commit 31fba7b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 16 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog for languages

## 2022-10-08 - v2.0.0

* Breaking change, `index.js` no longer exports all messages. They need to be imported by directly referencing the
directory. This is so that you can load them dynamically and not all at once. This reduces the bundle size.

## 2022-10-07 - v1.13.1

* New strings for settings for reader and reader accessibility
Expand Down
16 changes: 1 addition & 15 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
import settings from './settings'
import en from './en'
import cs from './cs-CZ'
import ja from './ja-JP'
import sk from './sk-SK'
import de from './de-DE'
import es from './es-ES'
import pl from './pl-PL'

export default {
settings,
en,
cs,
ja,
sk,
de,
es,
pl
settings
}
2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* global Package */
Package.describe({
name: 'lu-intl',
version: '1.13.1',
version: '2.0.0',
summary: 'Intl for Literary Universe',
documentation: 'README.md'
})
Expand Down

0 comments on commit 31fba7b

Please sign in to comment.