Skip to content

Commit

Permalink
Asset building: replace laravel-mix with esbuild (#144)
Browse files Browse the repository at this point in the history
* Basic setup for JS, SCSS, fonts and images

* Added watch mode with flag

* SASS import fix

* Added manifest generation

* Removed ~ imports for packages (is webpack specific)

* Reverted to using esbuild hashing system and replacing mix dependencies

* Moved static folder cleanup logic inside esbuild

* Optimized images

* Ignore static folder for Prettier formatting

* Improved reflex server restart regex

* Updated CHANGELOG
  • Loading branch information
verheyenkoen authored May 30, 2024
1 parent 0cb01ec commit 2b7f3c7
Show file tree
Hide file tree
Showing 47 changed files with 3,746 additions and 9,496 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ cypress/cypress-record.sh

# Local workspace
go.work*

# esbuild
meta.json
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
static
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Ignore all .env files
- Use Docker volumes in devcontainer
- Added hotkey "n" to the "+ Make new folder" button in the folder view
- Removed Laravel Mix and added [esbuild](https://esbuild.github.io/) for asset bundling

### Fixed

Expand Down
28 changes: 1 addition & 27 deletions assets/ugent/images/ghent-university-library-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 1 addition & 5 deletions assets/ugent/images/ghent-university-library-mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 1 addition & 21 deletions assets/ugent/images/logo-ugent-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/ugent/images/torentje-forbidden.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/ugent/images/torentje-wrong-delivery.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2b7f3c7

Please sign in to comment.