Чиним сборку JS и CSS

Не то чтобы активно используется, но полезно
This commit is contained in:
Alexander Yakovlev 2023-02-28 17:36:31 +06:00
parent f76a9e42b7
commit 05b15f8d1e
4 changed files with 5486 additions and 6 deletions

3
.gitignore vendored
View file

@ -1,5 +1,8 @@
/node_modules
/public/hot
/public/css
/public/js
/public/mix-manifest.json
/public/storage
/storage/*.key
/storage/debugbar

View file

@ -10,9 +10,10 @@
"production": "mix --production"
},
"devDependencies": {
"axios": "^0.21",
"laravel-mix": "^6.0.6",
"lodash": "^4.17.19",
"postcss": "^8.1.14"
"laravel-mix": "^6.0.49",
"lodash": "^4.17.21",
"postcss": "^8.4.21",
"webpack": "^5.75.0",
"webpack-cli": "^4.9.1"
}
}

5476
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load diff

View file

@ -6,9 +6,9 @@ window._ = require('lodash');
* CSRF token as a header based on the value of the "XSRF" token cookie.
*/
window.axios = require('axios');
//window.axios = require('axios');
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
//window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
/**
* Echo exposes an expressive API for subscribing to channels and listening