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.DEV
1 parent c2995ff commit 8170220Copy full SHA for 8170220
src/plugin/index.ts
@@ -32,7 +32,7 @@ export const MotionPlugin = {
32
const variants = options.directives[key] as MotionVariants<any>
33
34
// Development warning, showing definitions missing `initial` key
35
- if (!variants.initial && import.meta.dev) {
+ if (!variants.initial && import.meta.env.DEV) {
36
console.warn(
37
`Your directive v-motion-${key} is missing initial variant!`,
38
)
0 commit comments