fix: source map warning during build (#8148)

* [WEB-5473] fix: source map errors

* [WEB-5473] chore: run codemod

* fix: build errors in editor

---------

Co-authored-by: sriramveeraghanta <veeraghanta.sriram@gmail.com>
This commit is contained in:
Aaron 2025-11-21 15:13:52 +07:00 committed by GitHub
parent 9611cd1e73
commit 2e15e4f786
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
956 changed files with 778 additions and 2267 deletions

View file

@ -6,13 +6,13 @@
"sideEffects": false,
"license": "AGPL-3.0",
"type": "module",
"main": "./dist/index.cjs",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.cts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./package.json": "./package.json"
},

View file

@ -1,5 +1,3 @@
"use client";
import { CheckIcon } from "lucide-react";
import * as React from "react";
// ui

View file

@ -1,4 +1,3 @@
"use client";
import * as RadixScrollArea from "@radix-ui/react-scroll-area";
import type { FC } from "react";
import React from "react";

View file

@ -1,8 +1,5 @@
{
"extends": "@plane/typescript-config/react-library.json",
"include": ["src"],
"exclude": ["dist", "build", "node_modules"],
"compilerOptions": {
"esModuleInterop": true
}
"exclude": ["dist", "build", "node_modules"]
}

View file

@ -2,10 +2,7 @@ import { defineConfig } from "tsdown";
export default defineConfig({
entry: ["src/index.ts"],
outDir: "dist",
format: ["esm", "cjs"],
exports: true,
format: ["esm"],
dts: true,
clean: true,
sourcemap: true,
platform: "neutral",
});