Skip to content

Commit

Permalink
fix: update unbuild to 2.0.0, fix type declarations for ESM
Browse files Browse the repository at this point in the history
Fixes #24
  • Loading branch information
wojtekmaj committed Feb 13, 2024
1 parent 70c78aa commit 4bfb4fb
Show file tree
Hide file tree
Showing 3 changed files with 791 additions and 817 deletions.
2 changes: 1 addition & 1 deletion build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default defineBuildConfig({
entries: ['src/index'],
externals: ['vite'],
clean: true,
declaration: true,
declaration: 'compatible',
rollup: {
emitCJS: true,
inlineDependencies: true
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
Expand Down Expand Up @@ -48,7 +47,7 @@
"prettier": "^2.8.8",
"rollup": "^2.79.1",
"semver": "^7.6.0",
"unbuild": "^0.9.4",
"unbuild": "^2.0.0",
"vite": "^5.0.0",
"vitest": "^0.34.6",
"node-forge": "^1.3.1"
Expand Down
Loading

0 comments on commit 4bfb4fb

Please sign in to comment.