Skip to content

Commit a31fb87

Browse files
committed
fix: keep no side effect comment when minifying
1 parent 254eec7 commit a31fb87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/pinia/src/store.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -872,8 +872,8 @@ export function defineStore<Id extends string, SS>(
872872
_ExtractGettersFromSetupStore<SS>,
873873
_ExtractActionsFromSetupStore<SS>
874874
>
875-
// improves tree shaking
876-
/*#__NO_SIDE_EFFECTS__*/
875+
// allows unused stores to be tree shaken
876+
/*! #__NO_SIDE_EFFECTS__ */
877877
export function defineStore(
878878
// TODO: add proper types from above
879879
idOrOptions: any,

0 commit comments

Comments
 (0)