]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
fix: put `types` first in `exports` map (#10880)
authorBen McCann <322311+benmccann@users.noreply.github.com>
Thu, 17 Nov 2022 06:22:47 +0000 (22:22 -0800)
committerGitHub <noreply@github.com>
Thu, 17 Nov 2022 06:22:47 +0000 (08:22 +0200)
package.json

index 3131f147e15ef38ccf2bbe9c01d5dc82d3e7cca0..06b5ea7356fe51f0c55aa50a5ffa42d4bbe8a597 100644 (file)
     "main": "./dist/chart.js",
     "exports": {
         ".": {
-            "import": "./dist/chart.js",
-            "types": "./dist/types.d.ts"
+            "types": "./dist/types.d.ts",
+            "import": "./dist/chart.js"
         },
         "./auto": {
-            "import": "./auto/auto.js",
-            "types": "./auto/auto.d.ts"
+            "types": "./auto/auto.d.ts",
+            "import": "./auto/auto.js"
         },
         "./helpers": {
-            "import": "./helpers/helpers.js",
-            "types": "./helpers/helpers.d.ts"
+            "types": "./helpers/helpers.d.ts",
+            "import": "./helpers/helpers.js"
         }
     },
     "types": "./dist/types.d.ts",