Skip to content

Commit

Permalink
replace laravel mix with vite & rebuild frontend dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoVerto committed Feb 19, 2025
1 parent f77ce04 commit f4b22b1
Show file tree
Hide file tree
Showing 24 changed files with 1,659 additions and 62,010 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ php artisan ide-helper:models

### Compiling CSS/JS changes
1. Install the required Javascript dependencies using `npm install`.
2. Run `npm run dev` to recompile css and js files.
2. Run `npm run build` to recompile css and js files.

### Automatically recompile CSS/JS and refresh browser
1. Change the redirect_uri in `.env` and on reddit to `127.0.0.1:3000`.
Expand Down
1,644 changes: 820 additions & 824 deletions composer.lock

Large diffs are not rendered by default.

12,526 changes: 719 additions & 11,807 deletions package-lock.json

Large diffs are not rendered by default.

42 changes: 15 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,17 @@
{
"private": true,
"scripts": {
"dev": "npm run development",
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "npm run development -- --watch",
"watch-poll": "npm run watch -- --watch-poll",
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
"prod": "npm run production",
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.12.1",
"axios": "^0.21",
"bootstrap": "^4.4.1",
"browser-sync": "^2.26.7",
"browser-sync-webpack-plugin": "^2.0.1",
"cross-env": "^7.0.2",
"jquery": "^3.5.0",
"laravel-mix": "^5.0.4",
"lodash": "^4.17.21",
"popper.js": "^1.16.1",
"resolve-url-loader": "^3.1.0",
"sass": "^1.26.3",
"sass-loader": "^8.0.0",
"vue-template-compiler": "^2.6.11"
},
"dependencies": {}
"devDependencies": {
"laravel-vite-plugin": "^1.2.0",
"sass-embedded": "^1.85.0",
"vite": "^6.1.1"
},
"scripts": {
"dev": "vite",
"build": "vite build"
},
"type": "module",
"dependencies": {
"@fortawesome/fontawesome-free": "^6.7.2",
"@popperjs/core": "^2.11.8",
"bootstrap": "^5.3.3"
}
}
16 changes: 16 additions & 0 deletions public/build/assets/app-CX13Lavv.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions public/build/assets/app-a9udYQv9.css

Large diffs are not rendered by default.

Binary file added public/build/assets/fa-brands-400-D1LuMI3I.ttf
Binary file not shown.
Binary file added public/build/assets/fa-brands-400-D_cYUPeE.woff2
Binary file not shown.
Binary file added public/build/assets/fa-regular-400-BjRzuEpd.woff2
Binary file not shown.
Binary file added public/build/assets/fa-regular-400-DZaxPHgR.ttf
Binary file not shown.
Binary file added public/build/assets/fa-solid-900-CTAAxXor.woff2
Binary file not shown.
Binary file added public/build/assets/fa-solid-900-D0aA9rwL.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
58 changes: 58 additions & 0 deletions public/build/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"node_modules/@fortawesome/fontawesome-free/webfonts/fa-brands-400.ttf": {
"file": "assets/fa-brands-400-D1LuMI3I.ttf",
"src": "node_modules/@fortawesome/fontawesome-free/webfonts/fa-brands-400.ttf"
},
"node_modules/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff2": {
"file": "assets/fa-brands-400-D_cYUPeE.woff2",
"src": "node_modules/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff2"
},
"node_modules/@fortawesome/fontawesome-free/webfonts/fa-regular-400.ttf": {
"file": "assets/fa-regular-400-DZaxPHgR.ttf",
"src": "node_modules/@fortawesome/fontawesome-free/webfonts/fa-regular-400.ttf"
},
"node_modules/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2": {
"file": "assets/fa-regular-400-BjRzuEpd.woff2",
"src": "node_modules/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2"
},
"node_modules/@fortawesome/fontawesome-free/webfonts/fa-solid-900.ttf": {
"file": "assets/fa-solid-900-D0aA9rwL.ttf",
"src": "node_modules/@fortawesome/fontawesome-free/webfonts/fa-solid-900.ttf"
},
"node_modules/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2": {
"file": "assets/fa-solid-900-CTAAxXor.woff2",
"src": "node_modules/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2"
},
"node_modules/@fortawesome/fontawesome-free/webfonts/fa-v4compatibility.ttf": {
"file": "assets/fa-v4compatibility-CCth-dXg.ttf",
"src": "node_modules/@fortawesome/fontawesome-free/webfonts/fa-v4compatibility.ttf"
},
"node_modules/@fortawesome/fontawesome-free/webfonts/fa-v4compatibility.woff2": {
"file": "assets/fa-v4compatibility-C9RhG_FT.woff2",
"src": "node_modules/@fortawesome/fontawesome-free/webfonts/fa-v4compatibility.woff2"
},
"resources/js/app.js": {
"file": "assets/app-CX13Lavv.js",
"name": "app",
"src": "resources/js/app.js",
"isEntry": true,
"css": [
"assets/app-a9udYQv9.css"
],
"assets": [
"assets/fa-brands-400-D_cYUPeE.woff2",
"assets/fa-brands-400-D1LuMI3I.ttf",
"assets/fa-regular-400-BjRzuEpd.woff2",
"assets/fa-regular-400-DZaxPHgR.ttf",
"assets/fa-solid-900-CTAAxXor.woff2",
"assets/fa-solid-900-D0aA9rwL.ttf",
"assets/fa-v4compatibility-C9RhG_FT.woff2",
"assets/fa-v4compatibility-CCth-dXg.ttf"
]
},
"resources/sass/app.scss": {
"file": "assets/app-a9udYQv9.css",
"src": "resources/sass/app.scss",
"isEntry": true
}
}
4 changes: 0 additions & 4 deletions public/mix-manifest.json

This file was deleted.

10,881 changes: 0 additions & 10,881 deletions public/static/css/app.css

This file was deleted.

Loading

0 comments on commit f4b22b1

Please sign in to comment.