Skip to content

Commit

Permalink
fix(vite): update manifest plugin name
Browse files Browse the repository at this point in the history
  • Loading branch information
innocenzi committed Feb 18, 2022
1 parent 8db9189 commit af10a47
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vite-plugin-laravel/src/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -18,7 +20,7 @@ export function manifest(): Plugin {
let config: ResolvedConfig

return {
name: 'laravel:manifest',
name: PREFIX,
apply: 'build',
enforce: 'post',

Expand Down

0 comments on commit af10a47

Please # to comment.