Skip to content

feat: add Rspack desktop build commands - #156

Open
vincentdji wants to merge 1 commit into
mainfrom
feature/rspack-desktop
Open

feat: add Rspack desktop build commands#156
vincentdji wants to merge 1 commit into
mainfrom
feature/rspack-desktop

Conversation

@vincentdji

Copy link
Copy Markdown
Contributor

Summary

  • build all Desktop targets with Rspack while retaining Webpack fallback commands
  • add Rspack configurations for main, preload, renderer, Quick Look, and the development server
  • preserve Electron package metadata and on-disk main/preload output during development

Testing

  • yarn desktop:build:prod
  • yarn desktop:serve
  • verified generated package.json, main bundle, and preload bundle are written to disk
  • verified renderer/index.html is served by the development server
  • yarn eslint packages/suite-desktop/src/RspackConfigParams.ts packages/suite-desktop/src/rspackMainConfig.ts packages/suite-desktop/src/rspackPreloadConfig.ts packages/suite-desktop/src/rspackRendererConfig.ts packages/suite-desktop/src/rspackQuicklookConfig.ts packages/suite-desktop/src/rspackDevServerConfig.ts
  • git diff --check

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
32.4% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant