Skip to content

Commit

Permalink
Merge pull request #24 from Jubeki/vite-5
Browse files Browse the repository at this point in the history
Upgrade to Vite 5 and Build assets
  • Loading branch information
jackmcdade authored Jun 1, 2024
2 parents b707cba + 2f406a5 commit e87d028
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 54 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build"
},
"devDependencies": {
"autoprefixer": "^10.4.14",
"laravel-vite-plugin": "^0.7.2",
"laravel-vite-plugin": "^1.0.0",
"postcss": "^8.4.23",
"tailwindcss": "^3.3.2",
"vite": "^4.0.0"
"vite": "^5.0.0"
},
"dependencies": {
"chroma-js": "^2.1.2",
Expand Down
2 changes: 1 addition & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
plugins: {
'postcss-import': {},
'tailwindcss/nesting': {},
Expand Down

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion public/build/assets/tailwind-8c065969.css

This file was deleted.

1 change: 1 addition & 0 deletions public/build/assets/tailwind-DpkkGfgb.css

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions public/build/manifest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"resources/css/tailwind.css": {
"file": "assets/tailwind-8c065969.css",
"isEntry": true,
"src": "resources/css/tailwind.css"
"file": "assets/tailwind-DpkkGfgb.css",
"src": "resources/css/tailwind.css",
"isEntry": true
},
"resources/js/site.js": {
"file": "assets/site-380fa510.js",
"isEntry": true,
"src": "resources/js/site.js"
"file": "assets/site-CCv8Ghrc.js",
"name": "site",
"src": "resources/js/site.js",
"isEntry": true
}
}
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
content: [
'./resources/**/*.antlers.html',
'./resources/**/*.blade.php',
Expand Down
42 changes: 0 additions & 42 deletions webpack.mix.js

This file was deleted.

0 comments on commit e87d028

Please sign in to comment.