服务端打包

This commit is contained in:
Jerry Yan 2022-08-07 12:04:05 +08:00
parent a3f74471af
commit cca0958899
7 changed files with 8 additions and 15 deletions

6
build.sh Normal file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
yarn
yarn production
php artisan config:cache
php artisan route:cache
php artisan view:cache

1
public/css/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.css

File diff suppressed because one or more lines are too long

1
public/js/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.js

File diff suppressed because one or more lines are too long

View File

@ -1,8 +0,0 @@
/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/

View File

@ -1,4 +0,0 @@
{
"/js/app.js": "/js/app.js?id=f775b77a8886d46e619d4d79272ec38d",
"/css/app.css": "/css/app.css?id=640ac1776e568505e0cc19cd939cbc81"
}