diff --git a/package-lock.json b/package-lock.json index 108c0a1b..4d9433ac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,6 @@ "sass": "^1.74.1", "sql-formatter": "^4.0.2", "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" @@ -1572,12 +1571,6 @@ "picomatch": "^2.3.1" } }, - "node_modules/vite-plugin-manifest-sri": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/vite-plugin-manifest-sri/-/vite-plugin-manifest-sri-0.2.0.tgz", - "integrity": "sha512-Zt5jt19xTIJ91LOuQTCtNG7rTFc5OziAjBz2H5NdCGqaOD1nxrWExLhcKW+W4/q8/jOPCg/n5ncYEQmqCxiGQQ==", - "dev": true - }, "node_modules/vue": { "version": "2.7.16", "resolved": "https://registry.npmjs.org/vue/-/vue-2.7.16.tgz", @@ -2571,12 +2564,6 @@ "picomatch": "^2.3.1" } }, - "vite-plugin-manifest-sri": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/vite-plugin-manifest-sri/-/vite-plugin-manifest-sri-0.2.0.tgz", - "integrity": "sha512-Zt5jt19xTIJ91LOuQTCtNG7rTFc5OziAjBz2H5NdCGqaOD1nxrWExLhcKW+W4/q8/jOPCg/n5ncYEQmqCxiGQQ==", - "dev": true - }, "vue": { "version": "2.7.16", "resolved": "https://registry.npmjs.org/vue/-/vue-2.7.16.tgz", diff --git a/package.json b/package.json index a1ece21b..8830d78e 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,6 @@ "sass": "^1.74.1", "sql-formatter": "^4.0.2", "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" diff --git a/public/build/manifest.json b/public/build/manifest.json index 30ab3175..8f075158 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,29 +1,25 @@ { "resources/img/favicon.png": { - "file": "favicon.png", - "src": "resources/img/favicon.png", - "integrity": "sha384-tqnRilkeRgqFt3SUYaxuaQs14WOwuU8Gvk3sqRZmnyWZVhr1Kk19Ecr7dFMb4HZo" + "file": "favicon.png?id=1542bfe8a0010dcbee710da13cce367f", + "src": "resources/img/favicon.png" }, "resources/js/app.js": { - "file": "app.js", + "file": "app.js?id=69a73e4fc0356dae6adf8cc33985b1d5", "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", + "file": "styles-dark.css?id=4147954938fc149998024ad0251831e4", "src": "resources/sass/styles-dark.scss", - "isEntry": true, - "integrity": "sha384-/sLOxh+NTFEdcZ8svIuVTv/lSL65X3QGIXhExXAhntQYWjiez1CQbv4ICbtwRfd8" + "isEntry": true }, "resources/sass/styles.scss": { - "file": "styles.css", + "file": "styles.css?id=452cf65324025421cc414ccb7744885f", "src": "resources/sass/styles.scss", - "isEntry": true, - "integrity": "sha384-4HOmv1E51xgqbUYzCYXaRXPRja5nEho6eq/L/CKs0LlidzTGNTk81VtCAHqLiYSC" + "isEntry": true } } \ No newline at end of file diff --git a/resources/views/layout.blade.php b/resources/views/layout.blade.php index 3352864a..e61d348d 100644 --- a/resources/views/layout.blade.php +++ b/resources/views/layout.blade.php @@ -1,23 +1,8 @@ @php -use Illuminate\Support\Facades\Vite; -use Illuminate\Foundation\Vite as ViteFoundation; +$nonExistentFileName = public_path('/vendor/horizon/nonExistentFile'); +$previousHotFile = Vite::hotFile(); -$nonExistentFileName = '/vendor/horizon/nonExistentFile'; - -$vite = new ViteFoundation(); -$vite->useHotFile($nonExistentFileName); - -$viteDataSchemeLight = new ViteFoundation(); -$viteDataSchemeLight->useHotFile($nonExistentFileName); -$viteDataSchemeLight->useStyleTagAttributes([ -'data-scheme' => 'light', -]); - -$viteDataSchemeDark = new ViteFoundation(); -$viteDataSchemeDark->useHotFile($nonExistentFileName); -$viteDataSchemeDark->useStyleTagAttributes([ -'data-scheme' => 'dark', -]); +Vite::useHotFile($nonExistentFileName); @endphp @@ -26,7 +11,7 @@ - +