Skip to content

Commit

Permalink
fix(renderless): fix renderless package publish error (#2761)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzcr authored Jan 8, 2025
1 parent 2c37892 commit 46bddc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/renderless/scripts/postbuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { promises as fs } from 'node:fs'
async function run() {
const content = await fs.readFile(resolve('package.json'), 'utf8')
const packageJson = JSON.parse(content)
packageJson.dependencies['@opentiny/utils'] = '^1.0.0'
delete packageJson.exports
delete packageJson.private
await fs.writeFile(resolve('dist', 'package.json'), JSON.stringify(packageJson, null, 2))
Expand Down

0 comments on commit 46bddc8

Please sign in to comment.