From 267c8bf6e861e5e4daab27b274dc7770b5580af3 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Wed, 18 Dec 2024 23:30:10 +0100 Subject: [PATCH] Fix #1519 package.json exports order --- build/templates/package.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/templates/package.ts b/build/templates/package.ts index 672b6876..8370fb87 100644 --- a/build/templates/package.ts +++ b/build/templates/package.ts @@ -12,12 +12,12 @@ export const packageJson = (pkg: any) => { exports: { '.': { import: { + types: './index.d.mts', default: './index.module.js', - type: './index.d.mts', }, require: { + types: './index.d.ts', default: './index.cjs', - type: './index.d.ts', }, }, },