Skip to content

Commit

Permalink
fix(types): skip postbuild fix on types
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Apr 18, 2023
1 parent 0c41bd5 commit d54a9b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/postbuild.ts
Expand Up @@ -23,7 +23,7 @@ async function run() {
const name = basename(file, '.js')
await fs.writeFile(
`${name}.d.ts`,
filename === 'runtime.js'
filename === 'runtime.js' || filename === 'types.js'
? `export * from './dist/${name}'\n`
: `export { default } from './dist/${name}'\n`
)
Expand Down

0 comments on commit d54a9b7

Please sign in to comment.