Skip to content

[NSOC'26][GSSOC'26]Build: integrate Vite for modern frontend bundling and minification - #889

Merged
devanshi14malhotra merged 2 commits into
devanshi14malhotra:mainfrom
diksha78dev:fix/issue-869
May 25, 2026
Merged

devanshi14malhotra merged 2 commits into
devanshi14malhotra:mainfrom
diksha78dev:fix/issue-869

Conversation

@diksha78dev

Copy link
Copy Markdown
Contributor

Resolves #869

This PR introduces Vite to replace the legacy raw static file serving and python-based Netlify build script.

Changes:

  • Initialized package.json in the frontend directory with Vite dependencies.
  • Added vite.config.js configured for our multi-page application (MPA) structure, ensuring all HTML entry points in pages/ are bundled.
  • Updated netlify.toml to use npm run build and publish the bundled assets from frontend/dist.
  • Added node_modules/ to .gitignore to prevent dependency leakage.

Testing:
Run npm run build inside frontend/ to verify that assets are correctly bundled and minified in the dist folder, and npm run preview to locally test the production build.

@netlify

netlify Bot commented May 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for bibliodrift-dm ready!

Name Link
🔨 Latest commit 15aaa87
🔍 Latest deploy log https://app.netlify.com/projects/bibliodrift-dm/deploys/6a109154c881130008c4c471
😎 Deploy Preview https://deploy-preview-889--bibliodrift-dm.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@diksha78dev diksha78dev changed the title Build: integrate Vite for modern frontend bundling and minification [NSOC'26][GSSOC'26]Build: integrate Vite for modern frontend bundling and minification May 22, 2026
@devanshi14malhotra
devanshi14malhotra merged commit 8020beb into devanshi14malhotra:main May 25, 2026
6 checks passed
@devanshi14malhotra devanshi14malhotra added level2 5 points NSoC'26 For issues and PRs which are a part of the Nexus Spring of Code open source event level:intermediate GSSoC'26 intermediate level PR/issue gssoc:approved PR has been reviewed and is eligible for GSSoC points (for GSSoC'26) labels May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved PR has been reviewed and is eligible for GSSoC points (for GSSoC'26) level:intermediate GSSoC'26 intermediate level PR/issue level2 5 points NSoC'26 For issues and PRs which are a part of the Nexus Spring of Code open source event

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Architecture]: Set up a Modern Build Pipeline using Vite

2 participants