From b7dede0561044acb831c1849c598233aa6cdb294 Mon Sep 17 00:00:00 2001 From: GUEZOU Damien Date: Mon, 20 Mar 2023 22:39:13 +0100 Subject: [PATCH] fix: fix exports of blocks components --- package.json | 2 +- src/scripts/list-exports.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 082276240..1e5df4763 100644 --- a/package.json +++ b/package.json @@ -131,7 +131,7 @@ "./tss": "./dist/tss.js", "./tools/cx": "./dist/tools/cx.js", "./dsfr/*": "./dsfr/*", - "./block/*": "./block/*", + "./blocks/*": "./dist/blocks/*", "./ToggleSwitchGroup": "./dist/ToggleSwitchGroup.js", "./ToggleSwitch": "./dist/ToggleSwitch.js", "./Tile": "./dist/Tile.js", diff --git a/src/scripts/list-exports.ts b/src/scripts/list-exports.ts index b20521651..73d30c2ad 100644 --- a/src/scripts/list-exports.ts +++ b/src/scripts/list-exports.ts @@ -29,7 +29,7 @@ const newExports = { "./tss": "./dist/tss.js", "./tools/cx": "./dist/tools/cx.js", "./dsfr/*": "./dsfr/*", - "./block/*": "./block/*", + "./blocks/*": "./dist/blocks/*", ...Object.fromEntries( fs .readdirSync(srcDirPath)