Skip to content

Commit 253c67a

Browse files
committed
Simplify assets story
1 parent 1b5a027 commit 253c67a

22 files changed

+256
-1545
lines changed

.gitattributes

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
*.md diff=markdown
77
*.php diff=php
88

9-
public/*.css binary
10-
public/*.js binary
11-
129
/.github export-ignore
1310
/tests export-ignore
1411
.gitattributes export-ignore

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/vendor
22
/laravel
33
/node_modules
4-
/public/app.js.LICENSE.txt
54
/phpunit.xml
65
composer.lock
76
.phpunit.result.cache

.styleci.yml

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,34 @@
11
php:
22
preset: laravel
3-
js: true
4-
css: true
3+
js:
4+
tab-width: 4
5+
use-tabs: false
6+
print-width: 120
7+
double-quotes: false
8+
trailing-commas: es5
9+
semicolons: true
10+
arrow-parens: always
11+
bracket-same-line: false
12+
bracket-spacing: true
13+
finder:
14+
exclude:
15+
- "dist"
16+
- "node_modules"
17+
- "vendor"
18+
name:
19+
- "*.js"
20+
- "*.jsx"
21+
css:
22+
tab-width: 4
23+
use-tabs: false
24+
print-width: 120
25+
double-quotes: false
26+
finder:
27+
exclude:
28+
- "dist"
29+
- "node_modules"
30+
- "vendor"
31+
name:
32+
- "*.css"
33+
- "*.scss"
34+
- "*.less"
File renamed without changes.

public/build/app.js renamed to dist/app.js

Lines changed: 25 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
File renamed without changes.

package-lock.json

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

package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
11
{
22
"name": "laravel-horizon",
33
"private": true,
4+
"type": "module",
45
"scripts": {
5-
"dev": "npm run development",
6-
"development": "NODE_ENV=development vite build --mode=development",
7-
"watch": "NODE_ENV=development vite build --mode=development --watch",
8-
"prod": "npm run production",
9-
"production": "NODE_ENV=production vite build"
6+
"build": "vite build",
7+
"watch": "vite build --watch"
108
},
119
"devDependencies": {
1210
"@vitejs/plugin-vue2": "^2.3.1",
1311
"axios": "^1.6.8",
1412
"bootstrap": "~5.1.3",
1513
"chart.js": "^2.9.4",
1614
"highlight.js": "^10.7.3",
17-
"laravel-vite-plugin": "^1.0.2",
1815
"md5": "^2.3.0",
1916
"moment": "^2.30.1",
2017
"moment-timezone": "^0.5.45",
2118
"phpunserialize": "^1.3.0",
22-
"resolve-url-loader": "^5.0.0",
2319
"sass": "^1.74.1",
2420
"sql-formatter": "^4.0.2",
2521
"vite": "^5.2.8",

public/build/favicon.png

-648 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)