[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 @@ export default defineConfig({
|
|||
entry: ["src/index.ts", "src/lib.ts"],
|
||||
outDir: "dist",
|
||||
format: ["esm", "cjs"],
|
||||
dts: true,
|
||||
clean: false,
|
||||
sourcemap: true,
|
||||
minify: true,
|
||||
copy: ["src/styles"],
|
||||
exports: {
|
||||
customExports: (out) => ({
|
||||
...out,
|
||||
"./styles": "./dist/styles/index.css",
|
||||
}),
|
||||
},
|
||||
dts: true,
|
||||
clean: true,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue