Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update unbuild to 2.0.0, fix type declarations for ESM #28

Merged
merged 2 commits into from
Feb 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: update unbuild to 2.0.0, fix type declarations for ESM
Fixes #24
wojtekmaj committed Feb 13, 2024

Verified

This commit was signed with the committer’s verified signature.
wojtekmaj Wojciech Maj
commit 4bfb4fb7f201e964e5acfc16e783fb5c426fff15
2 changes: 1 addition & 1 deletion build.config.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ export default defineBuildConfig({
entries: ['src/index'],
externals: ['vite'],
clean: true,
declaration: true,
declaration: 'compatible',
rollup: {
emitCJS: true,
inlineDependencies: true
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -11,7 +11,6 @@
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
@@ -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"
1,603 changes: 789 additions & 814 deletions pnpm-lock.yaml

Large diffs are not rendered by default.