Skip to content

Commit 21a67c7

Browse files
authored
Merge pull request #718 from code16/vite-8
Update to vite 8
2 parents cf31131 + 1709cc3 commit 21a67c7

7 files changed

Lines changed: 2775 additions & 3674 deletions

File tree

package-lock.json

Lines changed: 2769 additions & 3647 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@
1616
},
1717
"devDependencies": {
1818
"@babel/preset-env": "^7.23.9",
19-
"@tailwindcss/vite": "^4.1.7",
19+
"@tailwindcss/vite": "^4.2.4",
2020
"@types/google.maps": "^3.54.3",
2121
"@types/leaflet": "^1.9.6",
2222
"@types/lodash": "^4.17.13",
2323
"@types/nprogress": "^0.2.3",
2424
"@types/qs": "^6.9.18",
2525
"@types/sortablejs": "^1.15.8",
26-
"@vitejs/plugin-legacy": "^5.3.2",
27-
"@vitejs/plugin-vue": "^5.1.4",
26+
"@vitejs/plugin-legacy": "^8.0.1",
27+
"@vitejs/plugin-vue": "^6.0.6",
2828
"@vue/language-server": "^2.1.6",
2929
"core-js": "^3.36.0",
30-
"laravel-vite-plugin": "^1.0.5",
31-
"tailwindcss": "^4.1.7",
30+
"laravel-vite-plugin": "^3.0.1",
31+
"tailwindcss": "^4.2.4",
3232
"tw-animate-css": "^1.3.0",
3333
"typescript": "^5.6.3",
34-
"vite": "^5.4.9",
34+
"vite": "^8.0.10",
3535
"vite-bundle-visualizer": "^0.8.1",
3636
"vite-plugin-circular-dependency": "^0.4.1",
3737
"vite-svg-loader": "^5.1.0"

resources/js/components/ui/FieldGridColumn.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,3 @@
1616
<slot />
1717
</div>
1818
</template>
19-
<!-- <div class="px-[calc(var(&#45;&#45;gap-x)/2)] mb-[&#45;&#45;gap-y] w-[calc(var(&#45;&#45;size-xs)/12*100%)] md:w-[calc(var(&#45;&#45;size)/12*100%)]"-->
20-
<!-- :style="{ '&#45;&#45;size': layout?.size ?? 12, '&#45;&#45;size-xs': layout?.sizeXS ?? 12 }"-->
21-
<!-- >-->
22-
<!-- <slot></slot>-->
23-
<!-- </div>-->

resources/js/components/ui/StateIcon.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
<div class="relative rounded-full" :style="{ '--color': stateValue?.color ?? 'black' }"
1111
style="--border: oklch(from var(--color) .9 min(calc(c * .2), 0.03) h);"
1212
>
13-
<!-- <div class="absolute inset-0 rounded-full bg-[var(&#45;&#45;color)] opacity-10"></div>-->
1413
<div class="h-1 w-1 rounded-full bg-(--color) outline outline-(--border)"></div>
1514
</div>
1615
</template>

resources/js/polyfills.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

resources/js/sharp.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import '../css/vendors.css';
22
import '../css/app.css';
33

4-
import './polyfills';
54
import { createApp, DefineComponent, h, nextTick } from 'vue';
65
import { createInertiaApp } from '@inertiajs/vue3';
76
import { resolvePageComponent } from 'laravel-vite-plugin/inertia-helpers';

vite.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ export default defineConfig(({ mode, command }) => {
1515
envDir: path.join(process.cwd(), '/demo'),
1616
build: {
1717
outDir: 'dist',
18-
commonjsOptions: {
19-
requireReturnsDefault: 'preferred'
20-
},
2118
},
2219
resolve: {
2320
alias: {

0 commit comments

Comments
 (0)