From af10a47183ec9e45db460295dc47b4fef7c7a4e1 Mon Sep 17 00:00:00 2001 From: Enzo Innocenzi Date: Fri, 18 Feb 2022 16:05:20 +0100 Subject: [PATCH] fix(vite): update manifest plugin name --- vite-plugin-laravel/src/manifest.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vite-plugin-laravel/src/manifest.ts b/vite-plugin-laravel/src/manifest.ts index 718b699..35f09c7 100644 --- a/vite-plugin-laravel/src/manifest.ts +++ b/vite-plugin-laravel/src/manifest.ts @@ -3,6 +3,8 @@ import path from 'node:path' import { createHash } from 'node:crypto' import { Manifest, ManifestChunk, Plugin, ResolvedConfig } from 'vite' +const PREFIX = 'vite:laravel:config' + // The concept of this plugin was taken from the Vite Ruby project. // See: https://github.com/ElMassimo/vite_ruby/blob/main/vite-plugin-ruby/src/manifest.ts // The main difference is that instead of writing a separate manifest, @@ -18,7 +20,7 @@ export function manifest(): Plugin { let config: ResolvedConfig return { - name: 'laravel:manifest', + name: PREFIX, apply: 'build', enforce: 'post',