Vendor dompurify, use isomorphic-dompurify only for tests

This commit is contained in:
Joseph Garrone
2024-09-22 20:12:11 +02:00
parent b6e9043d91
commit ddb0af1dcb
19 changed files with 1370 additions and 72 deletions

View File

@ -1,10 +1,4 @@
import * as child_process from "child_process";
import { run } from "./shared/run";
run("yarn build");
run("npx build-storybook");
function run(command: string, options?: { env?: NodeJS.ProcessEnv }) {
console.log(`$ ${command}`);
child_process.execSync(command, { stdio: "inherit", ...options });
}