diff --git a/desktop/pkg-lib/src/runBuild.tsx b/desktop/pkg-lib/src/runBuild.tsx index 693b93990..291f89b53 100644 --- a/desktop/pkg-lib/src/runBuild.tsx +++ b/desktop/pkg-lib/src/runBuild.tsx @@ -65,6 +65,8 @@ async function runBuild({ '@ant-design/icons', // It is an optional dependency for rollup that we use in react-devtools 'fsevents', + // Allow desktop plugins that require electron to build (deprecated) + 'electron', ], sourcemap: dev ? 'inline' : 'external', minify: !dev,