From 6d4b564821ab7aa56950e558fe9bb7ab7af0103e Mon Sep 17 00:00:00 2001 From: harlan Date: Wed, 8 Jan 2025 01:08:19 +1100 Subject: [PATCH] chore: missing build artifacts --- packages/unhead/optionalPlugins.d.ts | 1 + packages/unhead/package.json | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 packages/unhead/optionalPlugins.d.ts diff --git a/packages/unhead/optionalPlugins.d.ts b/packages/unhead/optionalPlugins.d.ts new file mode 100644 index 00000000..e065b711 --- /dev/null +++ b/packages/unhead/optionalPlugins.d.ts @@ -0,0 +1 @@ +export * from './dist/optionalPlugins' diff --git a/packages/unhead/package.json b/packages/unhead/package.json index e96ced5d..2d262949 100644 --- a/packages/unhead/package.json +++ b/packages/unhead/package.json @@ -24,13 +24,26 @@ "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" + }, + "./optionalPlugins": { + "types": "./dist/optionalPlugins.d.ts", + "import": "./dist/optionalPlugins.mjs", + "require": "./dist/optionalPlugins.cjs" } }, "main": "dist/index.cjs", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "optionalPlugins": { + "*": { + "optionalPlugins": [ + "dist/optionalPlugins" + ] + } + }, "files": [ - "dist" + "dist", + "optionalPlugins.d.ts" ], "scripts": { "build": "unbuild .",