[WEB-5048] chore: implements esm exports for all packages (#7816)
* fix: esm module imports for live and editor * fix: convert all pacakges to export esm and cjs build * fix: auto export * fix: translation files formatting * fix: convert eslint files to cjs files for supporting current config * fix: code uuid package upgrade --------- Co-authored-by: Aaron Reisman <aaron.reisman@plane.so>
This commit is contained in:
parent
cbcb026e9a
commit
0589ac56d5
163 changed files with 52250 additions and 49718 deletions
|
|
@ -4,9 +4,13 @@
|
|||
"license": "AGPL-3.0",
|
||||
"description": "I18n shared across multiple apps internally",
|
||||
"private": true,
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "tsdown --watch",
|
||||
"build": "tsdown",
|
||||
|
|
@ -33,5 +37,8 @@
|
|||
"@types/react": "catalog:",
|
||||
"tsdown": "catalog:",
|
||||
"typescript": "catalog:"
|
||||
}
|
||||
},
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue