-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from phpbali-org/1-replace-laravel-mix-to-vite
Replace Laravel Mix with Vite
- Loading branch information
Showing
15 changed files
with
1,736 additions
and
10,106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
{ | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"dev": "mix", | ||
"watch": "mix watch", | ||
"staging": "NODE_ENV=staging mix", | ||
"production": "mix --production" | ||
"dev": "vite", | ||
"production": "vite build" | ||
}, | ||
"devDependencies": { | ||
"laravel-mix": "^6.0.39", | ||
"laravel-mix-jigsaw": "^2.0.0", | ||
"postcss": "^8.4.14", | ||
"autoprefixer": "^10.4.20", | ||
"postcss": "^8.4.41", | ||
"postcss-import": "^14.0.0", | ||
"tailwindcss": "^3.1.6" | ||
"tailwindcss": "^3.4.10", | ||
"vite": "^5.4.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export default { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import '../css/main.css'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"source/_assets/js/main.js": { | ||
"file": "main-BLEzA8au.js", | ||
"name": "main", | ||
"src": "source/_assets/js/main.js", | ||
"isEntry": true, | ||
"css": [ | ||
"main-DX3Ve2mL.css" | ||
] | ||
} | ||
} |
Oops, something went wrong.