Replies: 5 comments 8 replies
-
After some more playing around it seems this issue is isolated to only development. Running |
Beta Was this translation helpful? Give feedback.
-
see also Inconsistant build behaviour using 'snowpack dev' and 'snowpack build' #758 |
Beta Was this translation helpful? Give feedback.
-
I am having the same problem exactly as described here. I'll see if I can put together a quick demo repo. |
Beta Was this translation helpful? Give feedback.
-
Anyone who is also struggling with framer-motion specifically, there is a hotfix you can set up in your own snowpack config (snowpack.config.js):
/cc @adamaho |
Beta Was this translation helpful? Give feedback.
-
Thanks for reporting everyone, tracking a fix here: #843 |
Beta Was this translation helpful? Give feedback.
-
Hello All.
Seems that there is an issue with snowpack when using a popular animation library for react called framer-motion.
Steps to Reproduce:
framer-motion
withnpm install --save framer-motion
npm start
Following the above steps but using
Create React App
does not result in any errors. Therefore there is something funky going on in snowpack.Beta Was this translation helpful? Give feedback.
All reactions