Skip to content

Commit

Permalink
[i18n] include i18nrc file in 3rd party plugin bundles (elastic#188814)
Browse files Browse the repository at this point in the history
## Summary

Fix elastic#57273

Include the `. i18nrc.json` file when bundling 3rd party plugins
  • Loading branch information
pgayvallet authored Jul 22, 2024
1 parent 91ed11a commit 7f3f757
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ it('builds a generated plugin into a viable archive', async () => {

expect(files).toMatchInlineSnapshot(`
Array [
"kibana/fooTestPlugin/.i18nrc.json",
"kibana/fooTestPlugin/common/index.js",
"kibana/fooTestPlugin/kibana.json",
"kibana/fooTestPlugin/node_modules/.yarn-integrity",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export async function writeServerFiles({
vfs.src(
[
'kibana.json',
'.i18nrc.json',
...(plugin.manifest.server
? config.serverSourcePatterns || [
'yarn.lock',
Expand Down

0 comments on commit 7f3f757

Please sign in to comment.