Add integrity things to JS things.

This commit is contained in:
James Cole
2023-08-12 18:12:20 +02:00
parent a2d6d7a92c
commit 64d95fe845
4 changed files with 28 additions and 15 deletions

View File

@@ -1,9 +1,6 @@
import {defineConfig} from 'vite';
import laravel from 'laravel-vite-plugin';
import fs from 'fs';
import manifestSRI from 'vite-plugin-manifest-sri';
const host = '127.0.0.1';
@@ -15,8 +12,8 @@ export default defineConfig({
'resources/assets/v2/dashboard.js',
],
refresh: true,
}),
manifestSRI(),
],