fix: use subdirectory for @excalidraw/excalidraw size limit (#6787)

* fix: use subdirectory for @excalidraw/excalidraw size limit

* fix

* update yml

* update path

* fix

* fix

* better
This commit is contained in:
Aakansha Doshi 2023-07-19 22:07:18 +05:30 committed by GitHub
parent 9fc15d81a0
commit 70888327a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 30 deletions

View file

@ -1,16 +0,0 @@
const { execSync } = require("child_process");
const excalidrawDir = `${__dirname}/../src/packages/excalidraw`;
const build = () => {
try {
execSync(`yarn --frozen-lockfile`);
execSync(`yarn --frozen-lockfile`, { cwd: excalidrawDir });
execSync(`yarn run build:umd`, { cwd: excalidrawDir });
} catch (err) {
console.error(err);
process.exit(1);
}
};
build();