stricklandrbls opened a new pull request, #1382:
URL: https://github.com/apache/daffodil-vscode/pull/1382
# Overview
This PR implements the upgrade from Svelte 3 to Svelte 5. There were many
issues with having to upgrade 2 major versions of Svelte. One, which was
previously discussed w/ the team, was replacing Webpack with Vite for packaging
the project.
## Vite Replacement Alterations
- All references to Webpack have been removed.
- Vite configuration files added for both `package` and `development` build
modes.
## Data Editor Svelte 5 Upgrade Alterations
- Many small syntax changes were made to allow the Svelte files to build.
- A _Debug_ build mode for the Data Editor Svelte files that exclusively
utilizes Svelte 5 syntax as an example.
> This can be enabled by prepending `DEBUG_DATAEDITOR=on` for the vite
build script. This is enabled by default for the `watch:svelte` yarn script.
>
> When Vite runs the script to build the Svelte files it will strip away
segments of an source file between the marked comment-tags `/* DEBUG_ONLY_START
*/` & /* DEBUG_ONLY_END */`.
Closes #1373
Closes #970
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]