Чиним сборку JS и CSS
Не то чтобы активно используется, но полезно
This commit is contained in:
parent
f76a9e42b7
commit
05b15f8d1e
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,5 +1,8 @@
|
|||
/node_modules
|
||||
/public/hot
|
||||
/public/css
|
||||
/public/js
|
||||
/public/mix-manifest.json
|
||||
/public/storage
|
||||
/storage/*.key
|
||||
/storage/debugbar
|
||||
|
|
|
@ -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
5476
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load diff
4
resources/js/bootstrap.js
vendored
4
resources/js/bootstrap.js
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue