From 3dc73b471dcf2744c59c5f4d176bffaaa8b0365b Mon Sep 17 00:00:00 2001 From: Anton <anton@strogonoff.name> Date: Sun, 8 Dec 2024 23:25:31 +0800 Subject: [PATCH] chore(cli): try exclude Ink devtools related stuff --- packages/anafero-cli/build-generator.mts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/anafero-cli/build-generator.mts b/packages/anafero-cli/build-generator.mts index f90594b..5265f5f 100644 --- a/packages/anafero-cli/build-generator.mts +++ b/packages/anafero-cli/build-generator.mts @@ -125,6 +125,10 @@ async function buildSiteBuilder(opts: ReportingOptions) { 'yoga-wasm-web', 'react-devtools-core', ], + + define: { + 'process.env.DEV': 'false', + }, loader: { '.css': 'local-css',