yasithdev opened a new pull request, #149:
URL: https://github.com/apache/airavata-portals/pull/149

   ## Summary
   Migrates the **groups** app frontend from Vue CLI 5 / webpack 4 to **Vite 5 
+ @vitejs/plugin-vue2** (keeping Vue 2.7), continuing the toolchain 
modernization from #139 (api) and #144 (common). Builds cleanly on Node 26.
   
   - The three page entries — `group-list`, `group-create`, `group-edit` — 
build to ES module bundles.
   - A small `django-webpack-stats` Vite plugin emits a `webpack-stats.json` 
compatible with django-webpack-loader, so the `WEBPACK_LOADER['GROUPS']` 
settings stay unchanged.
   - The plugin walks each entry's **static-import closure** to list every 
extracted CSS file (shared-chunk CSS first, page CSS last for correct cascade) 
— module imports fetch JS chunks automatically, but extracted CSS is not part 
of the module graph.
   - `base.html` now loads the entry bundle via `<script type="module">` 
(entries are ESM) and drops the dead Vue-CLI `chunk-vendors`/`chunk-common` 
references.
   - Drops `core-js`, `terser`, `browserslist`, and the 
`@vue/cli-*`/`webpack`/`vue-loader` dev dependencies.
   
   ## Test plan
   - `yarn install` + `yarn build` succeed on Node 26; stats lists all three 
entries with the shared `css/index.css`.
   - `yarn lint` clean.
   - `groups/base.html` compiles via Django's template loader; offline render 
against the Vite stats emits the correct `<link>` (index.css + page css) and 
`<script type="module">` tags per `bundle_name`.
   - `manage.py check` — no issues.
   
   Depends on #148 (base.html ESM loading), already merged.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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]

Reply via email to