From: Eduardo San Martin Morote Date: Mon, 21 Oct 2024 06:32:59 +0000 (+0900) Subject: fix: keep no side effect comment when minifying X-Git-Tag: @pinia/nuxt@0.6.0~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a31fb877aed1843fc144d09488e2b45afc917bf9;p=thirdparty%2Fvuejs%2Fpinia.git fix: keep no side effect comment when minifying --- diff --git a/packages/pinia/src/store.ts b/packages/pinia/src/store.ts index 16ae7aa4..76c1bc77 100644 --- a/packages/pinia/src/store.ts +++ b/packages/pinia/src/store.ts @@ -872,8 +872,8 @@ export function defineStore( _ExtractGettersFromSetupStore, _ExtractActionsFromSetupStore > -// improves tree shaking -/*#__NO_SIDE_EFFECTS__*/ +// allows unused stores to be tree shaken +/*! #__NO_SIDE_EFFECTS__ */ export function defineStore( // TODO: add proper types from above idOrOptions: any,