]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commit
feat: improve tree shaking on `defineStore` (#2740)
authorSerKo <44749100+serkodev@users.noreply.github.com>
Thu, 15 Aug 2024 17:38:42 +0000 (01:38 +0800)
committerGitHub <noreply@github.com>
Thu, 15 Aug 2024 17:38:42 +0000 (19:38 +0200)
commit3069105f15858393e5386bac7e62ea32a46c80bb
tree4c31bb93224cb836b52d015c464accd2d90aec07
parentb90c595034ff60be61d561e379501c461abceb7a
feat: improve tree shaking on `defineStore` (#2740)

add `#__NO_SIDE_EFFECTS__` notation to `defineStore`

---------

Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
packages/pinia/src/store.ts