Skip to content

Commit

Permalink
chore: update postinstall script
Browse files Browse the repository at this point in the history
  • Loading branch information
pd4d10 committed Oct 4, 2023
1 parent b332022 commit bb5e750
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/postinstall.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ packages.forEach((p) => {
pkg.types = './dist/index.d.ts'
pkg.module = './dist/index.mjs'
pkg.main = './dist/index.js'
pkg.unpkg = './dist/index.umd.js'
pkg.jsdelivr = './dist/index.umd.js'
pkg.type = 'module'

pkg.exports = {
Expand All @@ -58,9 +56,6 @@ packages.forEach((p) => {
require: './dist/index.js',
},
'./locales/*': './locales/*',

// for compatible with old version
'./lib/locales/*': './locales/*',
}
pkg.files = ['dist', 'locales']
fs.writeJsonSync(pkgPath, pkg)
Expand Down

0 comments on commit bb5e750

Please sign in to comment.