refactor stuff

This commit is contained in:
BrunoMatosTech 2025-04-30 15:24:18 +00:00
parent 265c2ba096
commit de97de1939
3 changed files with 1 additions and 3 deletions

View file

@ -5,7 +5,7 @@ import { isDevEnv } from "@excalidraw/common";
import { LanguageList } from "../app-language/LanguageList";
import { isExcalidrawPlusSignedUser } from "../app_constants";
import { saveDebugState } from "./DebugCanvas";
import type { Theme } from "../../packages/element/src/types";
import type { Theme } from "@excalidraw/element/types";
export const AppMainMenu: React.FC<{
onCollabDialogOpen: () => any;

View file

@ -80,7 +80,6 @@ export default defineConfig(({ mode }) => {
build: {
outDir: "build",
rollupOptions: {
external: ["react-dom"], // Mark react-dom as an external dependency
output: {
assetFileNames(chunkInfo) {
if (chunkInfo?.name?.endsWith(".woff2")) {

View file

@ -17,7 +17,6 @@ const getConfig = (outdir) => ({
"@excalidraw/math": path.resolve(__dirname, "../packages/math/src"),
"@excalidraw/utils": path.resolve(__dirname, "../packages/utils/src"),
},
external: ["react", "react-dom"],
});
function buildDev(config) {