@automattic/i18n-loader-webpack-plugin 2.0.11 → 2.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/README.md +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.0.14] - 2022-07-12
|
|
9
|
+
### Changed
|
|
10
|
+
- Updated package dependencies.
|
|
11
|
+
|
|
12
|
+
## [2.0.13] - 2022-07-06
|
|
13
|
+
### Changed
|
|
14
|
+
- Updated package dependencies. [#24923]
|
|
15
|
+
|
|
16
|
+
## [2.0.12] - 2022-06-21
|
|
17
|
+
### Changed
|
|
18
|
+
- Renaming `master` references to `trunk`
|
|
19
|
+
|
|
8
20
|
## [2.0.11] - 2022-06-14
|
|
9
21
|
### Changed
|
|
10
22
|
- Updated package dependencies. [#24722]
|
|
@@ -72,6 +84,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
72
84
|
### Added
|
|
73
85
|
- Initial release.
|
|
74
86
|
|
|
87
|
+
[2.0.14]: https://github.com/Automattic/i18n-loader-webpack-plugin/compare/v2.0.13...v2.0.14
|
|
88
|
+
[2.0.13]: https://github.com/Automattic/i18n-loader-webpack-plugin/compare/v2.0.12...v2.0.13
|
|
89
|
+
[2.0.12]: https://github.com/Automattic/i18n-loader-webpack-plugin/compare/v2.0.11...v2.0.12
|
|
75
90
|
[2.0.11]: https://github.com/Automattic/i18n-loader-webpack-plugin/compare/v2.0.10...v2.0.11
|
|
76
91
|
[2.0.10]: https://github.com/Automattic/i18n-loader-webpack-plugin/compare/v2.0.9...v2.0.10
|
|
77
92
|
[2.0.9]: https://github.com/Automattic/i18n-loader-webpack-plugin/compare/v2.0.8...v2.0.9
|
package/README.md
CHANGED
|
@@ -88,7 +88,7 @@ If you're having Webpack minify your bundle, you'll likely also want to do the f
|
|
|
88
88
|
* Configure Terser to not mangle `__`, `_n`, `_nx`, and `_x`.
|
|
89
89
|
* Use [@automattic/babel-plugin-preserve-i18n](https://www.npmjs.com/package/@automattic/babel-plugin-preserve-i18n) to help further preserve those method names.
|
|
90
90
|
* Configure Terser to preserve comments starting with "Translators" or "translators" in the output.
|
|
91
|
-
* Check your code to avoid [certain constructs](https://github.com/Automattic/jetpack/
|
|
91
|
+
* Check your code to avoid [certain constructs](https://github.com/Automattic/jetpack/blob/trunk/projects/js-packages/i18n-check-webpack-plugin/README.md#known-problematic-code-patterns) that will dissociate translator comments from the i18n method calls when the minifier rearranges the code.
|
|
92
92
|
|
|
93
93
|
### Use in Composer packages
|
|
94
94
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/i18n-loader-webpack-plugin",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.14",
|
|
4
4
|
"description": "A Webpack plugin to load WordPress i18n when Webpack lazy-loads a bundle.",
|
|
5
5
|
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/i18n-loader-webpack-plugin/#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"debug": "^4.3.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@wordpress/dependency-extraction-webpack-plugin": "3.
|
|
25
|
-
"@wordpress/i18n": "4.
|
|
24
|
+
"@wordpress/dependency-extraction-webpack-plugin": "3.6.0",
|
|
25
|
+
"@wordpress/i18n": "4.12.0",
|
|
26
26
|
"jest": "28.1.0",
|
|
27
27
|
"webpack": "5.72.1",
|
|
28
28
|
"webpack-cli": "4.9.1"
|