mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
refactor stuff
This commit is contained in:
parent
265c2ba096
commit
de97de1939
3 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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")) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue