Skip to content

build(vite): migrate fancyadmin assets from webpack to Vite#60

Merged
thorewi merged 1 commit into
mainfrom
vite
Jun 27, 2026
Merged

build(vite): migrate fancyadmin assets from webpack to Vite#60
thorewi merged 1 commit into
mainfrom
vite

Conversation

@AdtMax

@AdtMax AdtMax commented Jun 27, 2026

Copy link
Copy Markdown
Contributor
  • Replace webpack-style ~ tilde imports with bare specifiers in SCSS
  • Add _jquery-global.js to expose jQuery globals before legacy plugins load
  • Add _registerFancyadminComponents.js for self-registering FancyAdmin JS components
  • Update @layout.latte to use {asset 'portal:js/portal.js'} instead of conditional HMR/prod CSS links
  • Remove stale hashed font/OTF files from dist (now emitted by Vite at build time)

- Replace webpack-style `~` tilde imports with bare specifiers in SCSS
- Add `_jquery-global.js` to expose jQuery globals before legacy plugins load
- Add `_registerFancyadminComponents.js` for self-registering FancyAdmin JS components
- Update `@layout.latte` to use `{asset 'portal:js/portal.js'}` instead of
  conditional HMR/prod CSS links
- Remove stale hashed font/OTF files from dist (now emitted by Vite at build time)
@thorewi thorewi merged commit dc785d6 into main Jun 27, 2026
1 check passed
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.

2 participants