Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Vite instead of Snowpack #3

Open
itechify opened this issue Jul 18, 2023 · 0 comments
Open

Use Vite instead of Snowpack #3

itechify opened this issue Jul 18, 2023 · 0 comments

Comments

@itechify
Copy link
Collaborator

To align with evolving web development standards, we need to transition from using Snowpack to Vite for the build process in the extension-scaffold project. Specifically, this change should occur in the following directories:

es-home
es-runtime
es-common-extensions

Vite offers faster build times, improved hot module replacement (HMR), and better out-of-the-box compatibility with many popular libraries.

Here's a high-level plan to accomplish this transition:

  • Install Vite: Add Vite as a devDependency in the package.json files of the above-mentioned directories.

  • Configure Vite: Create and configure a vite.config.js file in each directory. The configuration should align with the current project structure and requirements of each directory.

  • Update build scripts: Modify the build scripts in the package.json files to use Vite instead of Snowpack.

  • Test the build: Run the build process and ensure that the application works as expected in each directory. This should involve manual testing as well as ensuring all automated tests pass.

  • Remove Snowpack: Once everything is working with Vite, Snowpack can be removed from the package.json files. Also, remove any Snowpack-specific configuration files or settings.

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

No branches or pull requests

1 participant