Skip to content

Commit db88b92

Browse files
Jubekijackmcdade
andauthored
Vite 5 (#51)
* Run Installation Tests * Add files to not export * Update to Vite 5 * Use ansi * Use composer create-project for statamic project * Use npm update instead of ci * Only run on master * Not necessary * At this time we don't want to maintain github workflows --------- Co-authored-by: Jack McDade <[email protected]>
1 parent 79ea46f commit db88b92

File tree

5 files changed

+7
-45
lines changed

5 files changed

+7
-45
lines changed

Diff for: .gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* text=auto
2+
*.php eol=lf

Diff for: package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
{
22
"private": true,
3+
"type": "module",
34
"scripts": {
45
"dev": "vite",
56
"build": "vite build"
67
},
78
"devDependencies": {
89
"@tailwindcss/typography": "^0.5.9",
910
"autoprefixer": "^10.4.14",
10-
"laravel-vite-plugin": "^0.7.2",
11+
"laravel-vite-plugin": "^1.0.0",
1112
"postcss": "^8.4.23",
1213
"tailwindcss": "^3.3.2",
13-
"vite": "^4.0.0"
14+
"vite": "^5.0.0"
1415
},
1516
"dependencies": {
1617
"alpinejs": "^3.9.1"

Diff for: postcss.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module.exports = {
1+
export default {
22
plugins: {
33
'tailwindcss/nesting': {},
44
tailwindcss: {},

Diff for: tailwind.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module.exports = {
1+
export default {
22
content: [
33
'./resources/**/*.antlers.html',
44
'./resources/**/*.blade.php',

Diff for: webpack.mix.js

-41
This file was deleted.

0 commit comments

Comments
 (0)