We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba211da commit 75fef33Copy full SHA for 75fef33
packages/ui-components/src/scripts/publish.mjs
@@ -5,10 +5,7 @@ import pkg from '../package.json' with { type: 'json' };
5
6
/* eslint-disable @typescript-eslint/no-unused-vars */
7
const { devDependencies, exports, ...cleanedPkg } = pkg;
8
-cleanedPkg.imports = {
9
- ...pkg.imports,
10
- '#ui/*': ['./dist/*'],
11
-};
+cleanedPkg.imports['#ui/*'] = ['./*'];
12
13
await writeFile(
14
'dist/package.json',
0 commit comments