Skip to content

Commit

Permalink
refactor: update module paths and tsup config for modern output
Browse files Browse the repository at this point in the history
Changed module paths in package.json and set legacyOutput to false in tsup.config.ts.
  • Loading branch information
gentlementlegen committed Oct 21, 2024
1 parent e62393b commit 39335c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"version": "2.1.5",
"private": false,
"description": "The kernel for UbiquityOS.",
"module": "dist/esm/index.js",
"module": "dist/index.mjs",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/esm/index.js",
"types": "./dist/index.d.ts"
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ export default defineConfig({
sourcemap: false,
clean: true,
dts: true,
legacyOutput: true,
legacyOutput: false,
});

0 comments on commit 39335c4

Please sign in to comment.