mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
add utils to external
This commit is contained in:
parent
549786a504
commit
e48eed6b21
2 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,7 @@ import { execSync } from "child_process";
|
|||
|
||||
const createDevBuild = async () => {
|
||||
return await esbuild.build({
|
||||
entryPoints: ["../../examples/excalidraw/with-script-in-browser/index.tsx"],
|
||||
entryPoints: ["../../examples/excalidraw/with-script-in-browser/index.tsx"],
|
||||
outfile:
|
||||
"../../examples/excalidraw/with-script-in-browser/public/bundle.js",
|
||||
define: {
|
||||
|
|
|
@ -53,6 +53,7 @@ const browserConfig = {
|
|||
".woff2": "copy",
|
||||
".ttf": "copy",
|
||||
},
|
||||
external: ["@excalidraw/utils"],
|
||||
};
|
||||
const createESMBrowserBuild = async () => {
|
||||
// Development unminified build with source maps
|
||||
|
@ -107,6 +108,7 @@ const rawConfig = {
|
|||
".json": "copy",
|
||||
},
|
||||
packages: "external",
|
||||
external: ["@excalidraw/utils"],
|
||||
};
|
||||
|
||||
const createESMRawBuild = async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue