Bump laravel-vite-plugin from 1.3.0 to 2.0.0
Type: Pull Request
State: Closed
Association: Contributor
Comments: 1
(5 months ago)
(3 months ago)
(3 months ago)
dependencies javascript
Bumps laravel-vite-plugin from 1.3.0 to 2.0.0.
Release notes
Sourced from laravel-vite-plugin's releases.
v2.0.0
- Vite 7 Support by
@sweptsquashin laravel/vite-plugin#328- Upgrade dependencies by
@timacdonaldin laravel/vite-plugin#331
Upgrade guide
Sourced from laravel-vite-plugin's upgrade guide.
Upgrade Guide
0.xto1.x
- Adds support for Vite 5 and removes support for Vite 3 and 4.
- Introduces an
npx clean-orphaned-assetscommand to clean orphaned assets in Vite's build directories.- Introduces Valet / Herd TLS certificate auto detection.
- Adds
app/Livewire/**to the default "refresh" paths.- Adds output of SSR manifest for SSR builds.
Notable Changes
- Dropped CJS build: laravel/vite-plugin#235
- Dropped support for a
booleanvalue ofserver.httpsoption invite.config.js: laravel/vite-plugin#254- Dropped support for Node 14, 15, 16, 17, and 19: laravel/vite-plugin#269
Please see the Vite migration documentation for why these changes have been made and additional changes you may need to consider.
Upgrade Path
- Update to the latest version of the
laravel-vite-plugin,vite, and any Vite plugins you may have installed, such as@vitejs/plugin-vuewhich requires version^4.5.0or@vitejs/plugin-reactwhich requires version^4.2.0to be compatible with Vite 5.The following command will update
laravel-vite-pluginandviteonly. You may need to include any additional plugin updates as needed by your application:npm install --save-dev vite@^5.0.0 laravel-vite-plugin@^1.0.0You should also check the upgrade guide and changelogs for any packages you update, including Vite's migrations guide.
- Ensure your
package.jsoncontains"type": "module".Run the following command in your project's root directory or anywhere you have your
package.jsonfiles:npm pkg set type=moduleYou may also need to rename any
*.jsconfiguration files that contain CJS, which is the older-style Node-flavoredvar plugin = require('plugin')syntax, tofilename.cjsafter making this change.Migrating from Laravel Mix to Vite
Note
This upgrade guide does not cover all possible Mix use cases, such as Sass compilation. Please consult the Vite documentation for information on configuring Vite for these scenarios.Update Laravel Framework
To make use of the new Vite integration, you will need to update to at least version
9.19.0of thelaravel/framework:</tr></table>
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
2
+7
-7
Package Dependencies
Technical Details
| ID: | 5954235 |
| UUID: | 2658105797 |
| Node ID: | PR_kwDOBNPhPs6eb3nF |
| Host: | GitHub |
| Repository: | laravelio/paste.laravel.io |
| Merge State: | Unknown |