morphing-scroll 2.2.17 → 2.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -51,10 +51,7 @@ import Morph from "morphing-scroll";
51
51
  Start using the `MorphScroll` component by defining the required `size` prop. For better precision and control, it's recommended to begin by understanding the `objectsSize` and `progressTrigger` props, which are explained below.
52
52
 
53
53
  > **✦ Note:**
54
- > `MorphScroll` supports both **ESM** and **CommonJS** builds:
55
- >
56
- > - **Modern bundlers** (e.g. _Vite_, _Webpack 5_, _esbuild_) use the **ESM** (`import`) build
57
- > - **Node.js** (and older environments) use the **CommonJS** (`require`) build
54
+ > `MorphScroll` supports only **ESM** (`import`) build
58
55
 
59
56
  <h2></h2>
60
57
 
package/package.json CHANGED
@@ -1,15 +1,13 @@
1
1
  {
2
2
  "name": "morphing-scroll",
3
- "version": "2.2.17",
4
- "description": "React library for custom object scrolling and scrollbar styling〈♦〉",
3
+ "version": "2.2.20",
4
+ "description": "React library for custom object scrolling and scrollbar styling",
5
5
  "author": "Georg Schilin",
6
6
  "license": "MIT",
7
- "main": "./cjs/index.js",
8
- "module": "./esm/index.js",
7
+ "module": "./index.js",
9
8
  "exports": {
10
9
  ".": {
11
- "import": "./esm/index.js",
12
- "require": "./cjs/index.js",
10
+ "import": "./index.js",
13
11
  "types": "./types/index.d.ts"
14
12
  },
15
13
  "./package.json": "./package.json"
package/cjs/index.js DELETED
@@ -1 +0,0 @@
1
- "use strict";const e=require("./shared");module.exports=Object.assign(Object.assign({},e),{default:e.default||e});
package/esm/index.js DELETED
@@ -1 +0,0 @@
1
- "use strict";export * from "../shared";import Morph from "../shared";export default Morph;
File without changes