Skip to content

Commit

Permalink
[5.x] Readd vite support (laravel#1421)
Browse files Browse the repository at this point in the history
* Reapply "[5.x] Change Laravel Mix asset bundling to Vite setup (laravel#1413)" (laravel#1418)

This reverts commit 6667681.

* Reapply "[5.x] feature: this adds the vite integrity plugin to support assetsA…" (laravel#1417)

This reverts commit a43adc8.

* fix: vite dev mode when hotfile is detected
  • Loading branch information
mmachatschek authored Apr 22, 2024
1 parent 40dc809 commit 01fd607
Show file tree
Hide file tree
Showing 28 changed files with 2,143 additions and 16,944 deletions.
17,865 changes: 1,866 additions & 15,999 deletions package-lock.json

Large diffs are not rendered by default.

38 changes: 18 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,29 @@
"private": true,
"scripts": {
"dev": "npm run development",
"development": "mix",
"watch": "mix watch",
"watch-poll": "mix watch -- --watch-options-poll=1000",
"hot": "mix watch --hot",
"development": "NODE_ENV=development vite build --mode=development",
"watch": "NODE_ENV=development vite build --mode=development --watch",
"prod": "npm run production",
"production": "mix --production"
"production": "NODE_ENV=production vite build"
},
"devDependencies": {
"axios": "^1.6.0",
"@vitejs/plugin-vue2": "^2.3.1",
"axios": "^1.6.8",
"bootstrap": "~5.1.3",
"chart.js": "^2.5.0",
"highlight.js": "^10.4.1",
"laravel-mix": "^6.0.13",
"md5": "^2.2.1",
"moment": "^2.29.4",
"moment-timezone": "^0.5.35",
"phpunserialize": "1.*",
"chart.js": "^2.9.4",
"highlight.js": "^10.7.3",
"laravel-vite-plugin": "^1.0.2",
"md5": "^2.3.0",
"moment": "^2.30.1",
"moment-timezone": "^0.5.45",
"phpunserialize": "^1.3.0",
"resolve-url-loader": "^5.0.0",
"sass": "^1.49.7",
"sass-loader": "^12.4",
"sass": "^1.74.1",
"sql-formatter": "^4.0.2",
"vue": "^2.5.7",
"vue-json-pretty": "^1.6.2",
"vue-loader": "^15.9.6",
"vue-router": "^3.0.1",
"vue-template-compiler": "^2.5.21"
"vite": "^5.2.8",
"vite-plugin-manifest-sri": "^0.2.0",
"vue": "^2.7.16",
"vue-json-pretty": "^1.9.5",
"vue-router": "^3.6.5"
}
}
8 changes: 0 additions & 8 deletions public/app-dark.css

This file was deleted.

8 changes: 0 additions & 8 deletions public/app.css

This file was deleted.

2 changes: 0 additions & 2 deletions public/app.js

This file was deleted.

1 change: 1 addition & 0 deletions public/build/app.css

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

103 changes: 103 additions & 0 deletions public/build/app.js

Large diffs are not rendered by default.

File renamed without changes
29 changes: 29 additions & 0 deletions public/build/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"resources/img/favicon.png": {
"file": "favicon.png",
"src": "resources/img/favicon.png",
"integrity": "sha384-tqnRilkeRgqFt3SUYaxuaQs14WOwuU8Gvk3sqRZmnyWZVhr1Kk19Ecr7dFMb4HZo"
},
"resources/js/app.js": {
"file": "app.js",
"name": "app",
"src": "resources/js/app.js",
"isEntry": true,
"css": [
"app.css"
],
"integrity": "sha384-EV5vlraT2g7leIzueltC7I+UzR7uBT4ndQF5b1G9I+kUrQ4XL0DREuRw/XiU/U3P"
},
"resources/sass/styles-dark.scss": {
"file": "styles-dark.css",
"src": "resources/sass/styles-dark.scss",
"isEntry": true,
"integrity": "sha384-/sLOxh+NTFEdcZ8svIuVTv/lSL65X3QGIXhExXAhntQYWjiez1CQbv4ICbtwRfd8"
},
"resources/sass/styles.scss": {
"file": "styles.css",
"src": "resources/sass/styles.scss",
"isEntry": true,
"integrity": "sha384-4HOmv1E51xgqbUYzCYXaRXPRja5nEho6eq/L/CKs0LlidzTGNTk81VtCAHqLiYSC"
}
}
6 changes: 6 additions & 0 deletions public/build/styles-dark.css

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions public/build/styles.css

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions public/img/horizon.svg

This file was deleted.

Loading

0 comments on commit 01fd607

Please sign in to comment.