You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
389 B
16 lines
389 B
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();
|
|
|