Skip to content

Commit

Permalink
Reapply "feature: add vite integrity plugin (#1461)" (#1464)
Browse files Browse the repository at this point in the history
This reverts commit 0dd15e7.
  • Loading branch information
mmachatschek committed Apr 23, 2024
1 parent 30285e0 commit 0542dae
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
7 changes: 7 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"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",
Expand Down
12 changes: 8 additions & 4 deletions public/build/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"resources/img/favicon.ico": {
"file": "favicon.ico",
"src": "resources/img/favicon.ico"
"src": "resources/img/favicon.ico",
"integrity": "sha384-qq+rp+VctxiZdCG1H4EuMLbay0TmMKRw9/AMIToF+uoiexMCWbCmtPzrU6MeAHQz"
},
"resources/js/app.js": {
"file": "app.js",
Expand All @@ -10,16 +11,19 @@
"isEntry": true,
"css": [
"app.css"
]
],
"integrity": "sha384-6AywQ89qF1DHGgFQTE+7C9EL1dDfpzF3OMrLl+DZaBlaag+1Siuwbq/DiwDmRO6r"
},
"resources/sass/styles-dark.scss": {
"file": "styles-dark.css",
"src": "resources/sass/styles-dark.scss",
"isEntry": true
"isEntry": true,
"integrity": "sha384-M9RRJ/l5Ei2BaDikjqqhjnhhKxFLMdJVXGtsI5xxBPcdVjF7jg9RLEO2W4F4YyuT"
},
"resources/sass/styles.scss": {
"file": "styles.css",
"src": "resources/sass/styles.scss",
"isEntry": true
"isEntry": true,
"integrity": "sha384-fArREpvoBcln8Ka3MTaQaj1IPYRqVVC/Q0+Bqq1I++o5+Ub5mnh+pAfiifFE5RCI"
}
}
2 changes: 2 additions & 0 deletions vite.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import vue2 from "@vitejs/plugin-vue2";
import { defineConfig } from "vite";
import laravel from "laravel-vite-plugin";
import manifestSRI from "vite-plugin-manifest-sri";

const config = defineConfig({
plugins: [
Expand All @@ -10,6 +11,7 @@ const config = defineConfig({
"resources/js/app.js",
]),
vue2(),
manifestSRI(),
],
resolve: {
alias: {
Expand Down

0 comments on commit 0542dae

Please sign in to comment.