Open
Conversation
…emove unused Rollup plugins
… in benchmark script
…ing packagePath parameter
…on and runtime handling
- Created Vite configuration files for the following widgets - Events, Fieldset, Gallery, Google Tag, HTML Element, Image, Language Selector, Maps - Markdown, Popup Menu, Progress Bar, Progress Circle, Range Slider, Rating - Selection Helper, Skip Link, Slider, Switch, Timeline, Tooltip, Tree Node, and Video Player - Updated package.json files to include new build scripts for Vite and benchmark scripts - Added Vite as a dependency in the package.json files of the affected widgets. - Adjusted SCSS imports in Range Slider to use relative paths.
- Update build scripts in pluggable widgets to remove unnecessary - rollup and rolldown configurations, standardizing to a single command - Removed redundant vite from package.json files across widgets - Ensured consistency in the use of cross-env in build scripts
3145cf4 to
32ebbbf
Compare
iobuhov
reviewed
Mar 5, 2026
Collaborator
|
Did you tried to rune |
Collaborator
|
Let's try to make |
…ared vite config - Removed individual vite.config.js files from multiple pluggable widgets - Updated package.json scripts to use the shared vite.config.ts for both dev and prod builds - Ensured consistency across all pluggable widgets by standardizing the build process
extract config creation/resolution into config/* extract mpk/editor build steps into build/* extract package/json helpers into helpers/* centralize shared types in types.ts keep both direct CLI and programmatic createWidgetViteConfig compatibility update README to document module layout and usage modes
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.
Pull request type
Dependency changes (any modification to dependencies in
package.json)Refactoring (e.g. file rename, variable rename, etc.)
Description
Adding vite and scripts on all widgets for building with vite, and generating the MPK using vite.
Also adding a benchmark script to compare current build and vite build (Vite + Rollup)