mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-03 05:55:03 +01:00
chore(connect): small tweaks in libESM config
This commit is contained in:
committed by
Jiri Zbytovsky
parent
424182b171
commit
05738c1257
@@ -20,6 +20,7 @@
|
||||
"sideEffects": false,
|
||||
"publishConfig": {
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./libESM/index.js",
|
||||
@@ -30,7 +31,7 @@
|
||||
"main": "src/index.ts",
|
||||
"files": [
|
||||
"lib/",
|
||||
"libESM",
|
||||
"libESM/",
|
||||
"!**/*.map"
|
||||
],
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"compilerOptions": {
|
||||
"outDir": "libESM",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Bundler",
|
||||
"target": "ES2023"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
"main": "src/index.ts",
|
||||
"publishConfig": {
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./libESM/index.js",
|
||||
@@ -30,7 +31,7 @@
|
||||
},
|
||||
"files": [
|
||||
"lib/",
|
||||
"libESM",
|
||||
"libESM/",
|
||||
"!**/*.map"
|
||||
],
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"compilerOptions": {
|
||||
"outDir": "libESM",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Bundler",
|
||||
"target": "ES2023"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,12 +15,13 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"publishConfig": {
|
||||
"main": "lib/index"
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts"
|
||||
},
|
||||
"main": "src/index.ts",
|
||||
"files": [
|
||||
"lib/",
|
||||
"libESM",
|
||||
"libESM/",
|
||||
"!**/*.map"
|
||||
],
|
||||
"scripts": {
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"compilerOptions": {
|
||||
"outDir": "libESM",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Bundler",
|
||||
"target": "ES2023"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user