Commit fe5a987
committed
minor #592 [Webpack/Moment] Include all moment locales (yceruto, javiereguiluz)
This PR was merged into the master branch.
Discussion
----------
[Webpack/Moment] Include all moment locales
This resolves #591 if someone else can confirm the same error.
The `admin.js` file size in production increases to `227k` (from `178k`)
The locale list comes from `config.yml`:
```yaml
parameters:
# This parameter defines the codes of the locales (languages) enabled in the application
app_locales: en|fr|de|es|cs|nl|ru|uk|ro|pt_BR|pl|it|ja|id|ca|sl|hr|zh_CN
```
Commits
-------
1818ab4 Removed an unneeded variable
774a4b8 [Webpack/Moment] Include all moment locales
0726e00 [Webpack/Moment] Include used locales onlyFile tree
2 files changed
+2
-7
lines changed- src/AppBundle/Form/Type
2 files changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 23 | + | |
0 commit comments