Skip to content

Commit

Permalink
[8.16] [Cloud Security] add sideEffects: false to shared csp packages (
Browse files Browse the repository at this point in the history
…elastic#197486) (elastic#197766)

# Backport

This will backport the following commits from `main` to `8.16`:
- [[Cloud Security] add sideEffects: false to shared csp packages
(elastic#197486)](elastic#197486)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Maxim
Kholod","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-25T07:36:21Z","message":"[Cloud
Security] add sideEffects: false to shared csp packages (elastic#197486)\n\n##
Summary\r\n\r\nadd `sideEffects: false` to shared packages for better
tree shaking,
see\r\n[docs](https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free)\r\nand
[related\r\ndiscussion](https://elastic.slack.com/archives/C5TQ33ND8/p1724317421954709?thread_ts=1724314732.061379&cid=C5TQ33ND8)","sha":"12ad7153535238dc4a68de4cbb98e27305efc956","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Cloud
Security","backport:prev-minor","v8.16.0","v8.17.0"],"title":"[Cloud
Security] add sideEffects: false to shared csp
packages","number":197486,"url":"https://github.com/elastic/kibana/pull/197486","mergeCommit":{"message":"[Cloud
Security] add sideEffects: false to shared csp packages (elastic#197486)\n\n##
Summary\r\n\r\nadd `sideEffects: false` to shared packages for better
tree shaking,
see\r\n[docs](https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free)\r\nand
[related\r\ndiscussion](https://elastic.slack.com/archives/C5TQ33ND8/p1724317421954709?thread_ts=1724314732.061379&cid=C5TQ33ND8)","sha":"12ad7153535238dc4a68de4cbb98e27305efc956"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197486","number":197486,"mergeCommit":{"message":"[Cloud
Security] add sideEffects: false to shared csp packages (elastic#197486)\n\n##
Summary\r\n\r\nadd `sideEffects: false` to shared packages for better
tree shaking,
see\r\n[docs](https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free)\r\nand
[related\r\ndiscussion](https://elastic.slack.com/archives/C5TQ33ND8/p1724317421954709?thread_ts=1724314732.061379&cid=C5TQ33ND8)","sha":"12ad7153535238dc4a68de4cbb98e27305efc956"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Maxim Kholod <[email protected]>
  • Loading branch information
kibanamachine and maxcold authored Oct 25, 2024
1 parent 3f22f72 commit bf6acbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"private": true,
"version": "1.0.0",
"license": "Elastic License 2.0",
"description": "Shared components for cloud security posture, both client and server side"
"description": "Shared components for cloud security posture, both client and server side",
"sideEffects": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"private": true,
"version": "1.0.0",
"license": "Elastic License 2.0",
"description": "Shared components for cloud security posture, client side"
"description": "Shared components for cloud security posture, client side",
"sideEffects": false
}

0 comments on commit bf6acbd

Please sign in to comment.