From eec04d47daf6ccf35d66eb7e442f1f2d824caac4 Mon Sep 17 00:00:00 2001 From: Matt Perry Date: Fri, 11 Oct 2024 11:33:00 +0200 Subject: [PATCH] Fixing entrypoint fallbacks --- CHANGELOG.md | 6 ++++++ packages/framer-motion/.npmignore | 4 ++++ packages/framer-motion/dom/mini/package.json | 6 ++++++ packages/framer-motion/mini/package.json | 6 ++++++ 4 files changed, 22 insertions(+) create mode 100644 packages/framer-motion/dom/mini/package.json create mode 100644 packages/framer-motion/mini/package.json diff --git a/CHANGELOG.md b/CHANGELOG.md index 78b813db20..ede7792a75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ Framer Motion adheres to [Semantic Versioning](http://semver.org/). Undocumented APIs should be considered internal and may change without warning. +## [11.11.8] 2024-10-11 + +### Fixed + +- Fixing fallback `package.json` for entrypoints in older versions of Node. + ## [11.11.7] 2024-10-09 ### Fixed diff --git a/packages/framer-motion/.npmignore b/packages/framer-motion/.npmignore index d4f3726b48..9d9d64b5be 100644 --- a/packages/framer-motion/.npmignore +++ b/packages/framer-motion/.npmignore @@ -3,3 +3,7 @@ !dist/** !LICENSE.md !dom/package.json +!dom/mini/package.json +!m/package.json +!mini/package.json +!client/package.json \ No newline at end of file diff --git a/packages/framer-motion/dom/mini/package.json b/packages/framer-motion/dom/mini/package.json new file mode 100644 index 0000000000..6d6ee8d7d4 --- /dev/null +++ b/packages/framer-motion/dom/mini/package.json @@ -0,0 +1,6 @@ +{ + "private": true, + "types": "../../dist/dom-mini.d.ts", + "main": "../../dist/cjs/dom-mini.js", + "module": "../../dist/es/dom-mini.mjs" +} diff --git a/packages/framer-motion/mini/package.json b/packages/framer-motion/mini/package.json new file mode 100644 index 0000000000..1ed44076d0 --- /dev/null +++ b/packages/framer-motion/mini/package.json @@ -0,0 +1,6 @@ +{ + "private": true, + "types": "../dist/mini.d.ts", + "main": "../dist/cjs/mini.js", + "module": "../dist/es/mini.mjs" +}