Skip to content

build: replace webpack by vite - #775

Open
Hugo-C wants to merge 10 commits into
lutris:masterfrom
Hugo-C:chore/replace-webpack-by-vite
Open

Hugo-C wants to merge 10 commits into
lutris:masterfrom
Hugo-C:chore/replace-webpack-by-vite

Conversation

@Hugo-C

@Hugo-C Hugo-C commented Oct 18, 2026 •

Copy link
Copy Markdown

Close #764 .

I removed django-webpack-loader and the npm dependencies. There is still a reference to webpack in scripts/prod-deploy.sh that I am not sure how to handle.

The config is a little bit convoluted but I don't see how to improve it.
I tested locally with the DB snapshot and it looks ok, including alerts.
I did not test the client (It shouldn't be impacted by the server front I suppose ?).
npm run build-prod now takes ~5.5s compared to ~11s with webpack on my computer.

@Hugo-C
Hugo-C force-pushed the chore/replace-webpack-by-vite branch from 1750cfc to 2e4fcdc Compare November 9, 2026 15:40
@Hugo-C
Hugo-C marked this pull request as ready for review November 9, 2026 15:52
@Hugo-C

Hugo-C commented Nov 9, 2026

Copy link
Copy Markdown
Author

I can squash the commits to have a clean history

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

Successfully merging this pull request may close these issues.

Updating django-webpack-loader

1 participant