Skip to content

Commit 75fef33

Browse files
committed
fixup!
1 parent ba211da commit 75fef33

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/ui-components/src/scripts/publish.mjs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ import pkg from '../package.json' with { type: 'json' };
55

66
/* eslint-disable @typescript-eslint/no-unused-vars */
77
const { devDependencies, exports, ...cleanedPkg } = pkg;
8-
cleanedPkg.imports = {
9-
...pkg.imports,
10-
'#ui/*': ['./dist/*'],
11-
};
8+
cleanedPkg.imports['#ui/*'] = ['./*'];
129

1310
await writeFile(
1411
'dist/package.json',

0 commit comments

Comments
 (0)