fix: revert usage of bun key in package.json exports

This commit is contained in:
Joakim Carlstein 2023-12-19 14:25:58 +01:00 committed by Joakim Carlstein
parent 747f9dbddb
commit 3a8b06b3b1
7 changed files with 10 additions and 6 deletions

View file

@ -0,0 +1,10 @@
---
'@emigrate/plugin-generate-js': patch
'@emigrate/reporter-pino': patch
'@emigrate/plugin-tools': patch
'@emigrate/storage-fs': patch
'@emigrate/postgres': patch
'@emigrate/mysql': patch
---
Don't use the `bun` key in `exports` as that would mean we have to include both built files and source files in each package, which is a bit wasteful. Maybe reconsider in the future if we can package only source files.

View file

@ -10,7 +10,6 @@
"type": "module",
"exports": {
".": {
"bun": "./src/index.ts",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}

View file

@ -10,7 +10,6 @@
"type": "module",
"exports": {
".": {
"bun": "./src/index.ts",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}

View file

@ -10,7 +10,6 @@
"type": "module",
"exports": {
".": {
"bun": "./src/index.ts",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}

View file

@ -10,7 +10,6 @@
"type": "module",
"exports": {
".": {
"bun": "./src/index.ts",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}

View file

@ -10,7 +10,6 @@
"type": "module",
"exports": {
".": {
"bun": "./src/index.ts",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}

View file

@ -10,7 +10,6 @@
"type": "module",
"exports": {
".": {
"bun": "./src/index.ts",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}