Uh oh!
There was an error while loading. Please reload this page.
Migrate to Vite - #707
Conversation
There was a problem hiding this comment.
Pull request overview
Migrates the project’s build/dev/test toolchain from Webpack + Jest to Vite + Vitest, aligning the repo with solidos-toolkit’s Vite integration and introducing a Vite-based pane development sandbox.
Changes:
- Remove Webpack/Babel/Jest configuration and legacy dev sandbox assets.
- Add Vite/Vitest configuration (including coverage + setup file) and update unit tests/snapshots accordingly.
- Update package entrypoints/exports and npm scripts to use Vite for build/dev/watch.
Reviewed changes
Copilot reviewed 25 out of 26 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| webpack.dev.config.mjs | Removed legacy Webpack dev-server configuration. |
| webpack.config.mjs | Removed legacy Webpack production bundling configuration. |
| vite.config.mts | Added Vite + Vitest configuration and dev-sandbox aliases/plugins. |
| tsconfig.test.json | Updated test TS config to include Node types. |
| tsconfig.dev.json | Removed legacy dev TS config used by Webpack/ts-loader. |
| test/unit/trustedApplications/trustedApplications.test.ts | Migrated test imports from Jest env to Vitest. |
| test/unit/trustedApplications/snapshots/trustedApplications.test.ts.snap | Updated snapshot header/keys for Vitest. |
| test/unit/social/triage.test.ts | Migrated Jest mocking (jest.fn) to Vitest (vi.fn). |
| test/unit/outline/propertyViews.test.ts | Migrated test imports from Jest env to Vitest. |
| test/unit/outline/manager.test.ts | Migrated test imports from Jest env to Vitest. |
| test/setup.ts | Added Vitest setup (jest-dom integration + fetch mocking + globals). |
| test/helpers/setup.ts | Removed Jest-specific setup. |
| test/helpers/globals.js | Removed Jest global shims previously needed for UMD/global expectations. |
| src/outline/manager.js | Switched a global assignment from global to globalThis. |
| src/dev.ts | Added a Vite dev-sandbox pane entry that initializes the main page. |
| README.md | Updated development instructions for the Vite dev server/port. |
| package.json | Switched scripts to Vite/Vitest and updated package entrypoints/exports. |
| jest.config.mjs | Removed Jest configuration. |
| dev/pane/index.ts | Removed legacy dev pane loader. |
| dev/loader.ts | Removed legacy Webpack-based dev loader. |
| dev/index.html | Removed legacy dev HTML shell for Webpack dev-server. |
| dev/dev-mash.css | Removed legacy dev-only mash CSS bundle. |
| dev/dev-mash-utilities.css | Removed legacy dev-only utility CSS bundle. |
| dev/dev-light.css | Removed legacy dev-only light theme CSS bundle. |
| babel.config.mjs | Removed Babel configuration previously used for builds/tests. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
timea-solid
commented
Jul 1, 2026
@NoelDeMartin take a look at copilot feedback. |
NoelDeMartin
commented
Jul 1, 2026
I already did, and replied/resolved the issues it raised :). |
Uh oh!
There was an error while loading. Please reload this page.
This PR is blocked by: