relative path for types
This commit is contained in:
parent
4a29b5c02b
commit
91e4d2aa1d
1 changed files with 1 additions and 0 deletions
|
|
@ -79,6 +79,7 @@ const build = async () => {
|
|||
pkgExports['.'] = './dist/index.js';
|
||||
const pkg = fs.readJSONSync(PACKAGE);
|
||||
pkg.type = 'module';
|
||||
pkg.types = './dist/@types/index.d.ts',
|
||||
pkg.files = ['dist'];
|
||||
pkg.private = false;
|
||||
pkg.exports = pkgExports;
|
||||
|
|
|
|||
Loading…
Reference in a new issue