You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package installed via npm command doesn't have the latest version changes.
The added laravel-vite-plugin have the compiled index.js, which has following instead of what is supposed to be according to new version changelog: manifest: !ssr
"Vite build" should create a custom-manifest.json file inside build directory, but it's still creating manifest.json.
This is the PR that was merged with the latest version: #150
I checked the 'node_modules/laravel-vite-plugin/dist/index.js' inside my project directory, and found that it still has the old code: manifest: !ssr
According to above PR and 'vite-plugin/blob/main/src/index.ts' file line number 127,
the compiled index.js is supposed to have following: manifest: userConfig.build?.manifest ?? !ssr
Steps To Reproduce:
Install laravel-vite-plugin on your project:
yarn add laravel-vite-plugin -D
On vite.config.js, change manifest file name to 'custom-manifest.json'
build: {
manifest: 'custom-manifest.json',
}
Build the application
yarn prod
The text was updated successfully, but these errors were encountered:
We've just pushed a new version and my testing is now showing me that the expected files are on NPM. Closing this one, but let us know if you are still having issues.
Description:
The package installed via npm command doesn't have the latest version changes.
The added laravel-vite-plugin have the compiled index.js, which has following instead of what is supposed to be according to new version changelog:
manifest: !ssr
"Vite build" should create a custom-manifest.json file inside build directory, but it's still creating manifest.json.
This is the PR that was merged with the latest version:
#150
I checked the 'node_modules/laravel-vite-plugin/dist/index.js' inside my project directory, and found that it still has the old code:
manifest: !ssr
According to above PR and 'vite-plugin/blob/main/src/index.ts' file line number 127,
the compiled index.js is supposed to have following:
manifest: userConfig.build?.manifest ?? !ssr
Steps To Reproduce:
Install laravel-vite-plugin on your project:
yarn add laravel-vite-plugin -D
On vite.config.js, change manifest file name to 'custom-manifest.json'
build: {
manifest: 'custom-manifest.json',
}
Build the application
yarn prod
The text was updated successfully, but these errors were encountered: