We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
import.meta.env
1 parent 8170220 commit ad27084Copy full SHA for ad27084
src/utils/component.ts
@@ -195,7 +195,7 @@ export function setupMotionComponent(
195
})
196
197
// Replay animations on component update Vue
198
- if (import.meta.dev) {
+ if (import.meta.env.DEV) {
199
// Validate passed preset
200
if (
201
props.preset != null
src/utils/keys.ts
@@ -1,3 +1,3 @@
1
export const CUSTOM_PRESETS = Symbol(
2
- import.meta.dev ? 'motionCustomPresets' : '',
+ import.meta.env.DEV ? 'motionCustomPresets' : '',
3
)
0 commit comments