Vite plugin for DevExtreme internal development#33323
Merged
aleksei-semikozov merged 15 commits intoDevExpress:26_1from Apr 23, 2026
Merged
Vite plugin for DevExtreme internal development#33323aleksei-semikozov merged 15 commits intoDevExpress:26_1from
aleksei-semikozov merged 15 commits intoDevExpress:26_1from
Conversation
a990e48 to
d37d283
Compare
f5a3f11 to
6e10b09
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a Vite-based playground workflow for DevExtreme internal development, including a custom Vite transform plugin and a small UI playground with theme switching.
Changes:
- Introduces a custom Vite plugin (
vite-plugin-devextreme) to Babel-transform DevExtreme sources during Vite dev. - Adds a new
packages/devextreme/playground(HTML + TS entry + theme selector + styles) and avite.config.tsto run it. - Updates DevExtreme package tooling (deps, Jest config, ESLint ignore list) and lockfile to support the new workflow.
Reviewed changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| pnpm-lock.yaml | Adds Vite and Babel plugin entries required by the new dev workflow. |
| packages/devextreme/vite.config.ts | New Vite configuration pointing to the playground and enabling the custom plugin + aliases. |
| packages/devextreme/build/vite-plugin-devextreme.ts | New Vite plugin implementing Babel transforms and custom class-field/decorator handling. |
| packages/devextreme/build/vite-plugin-devextreme.test.ts | Jest coverage for the custom Babel transforms used by the Vite plugin. |
| packages/devextreme/playground/index.html | New playground HTML shell. |
| packages/devextreme/playground/index.ts | New playground bootstrap (theme selector + sample dxCardView). |
| packages/devextreme/playground/themeSelector.ts | Theme selection UI and runtime CSS theme loading. |
| packages/devextreme/playground/themeSelector.css | Styling for the theme selector UI. |
| packages/devextreme/package.json | Adds Vite script and Babel plugin devDependencies for the Vite transform. |
| packages/devextreme/jest.config.js | Extends node-tests project to allow .ts tests (for the new plugin test). |
| packages/devextreme/eslint.config.mjs | Ignores vite.config.ts in this package. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
marker-dao
reviewed
Apr 22, 2026
| <body class="dx-viewport"> | ||
| <div id="app"> | ||
| <div id="theme-selector"></div> | ||
| <div id="container"></div> |
Contributor
There was a problem hiding this comment.
Is it a container or a component element? If component let's rename the id)
Contributor
Author
There was a problem hiding this comment.
renamed to widget-container
marker-dao
previously approved these changes
Apr 22, 2026
r-farkhutdinov
previously approved these changes
Apr 23, 2026
| "typescript-min": "npm:typescript@4.9.5", | ||
| "uuid": "9.0.1", | ||
| "vinyl": "2.2.1", | ||
| "vite": "^7.3.2", |
Contributor
There was a problem hiding this comment.
Suggested change
| "vite": "^7.3.2", | |
| "vite": "^8.0.8", |
c8cc281
EugeniyKiyashko
approved these changes
Apr 23, 2026
sjbur
approved these changes
Apr 23, 2026
aleksei-semikozov
added a commit
that referenced
this pull request
Apr 23, 2026
aleksei-semikozov
added a commit
that referenced
this pull request
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.