Remove axios and enable ignore-scripts (#6778)

* Remove axios and enable ignore-scripts

* Removing empty comment

* Apply fixes from StyleCI

* Remove bootstrap.js file and add empty comment on app.js

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Pushpak Chhajed <pushpak1300@gmail.com>
This commit is contained in:
Wendell Adriel
2026-04-01 16:29:00 +01:00
committed by GitHub
parent ba9c3e83ba
commit 371cc0b817
4 changed files with 2 additions and 6 deletions

1
.npmrc Normal file
View File

@@ -0,0 +1 @@
ignore-scripts=true

View File

@@ -8,7 +8,6 @@
}, },
"devDependencies": { "devDependencies": {
"@tailwindcss/vite": "^4.0.0", "@tailwindcss/vite": "^4.0.0",
"axios": ">=1.11.0 <=1.14.0",
"concurrently": "^9.0.1", "concurrently": "^9.0.1",
"laravel-vite-plugin": "^3.0.0", "laravel-vite-plugin": "^3.0.0",
"tailwindcss": "^4.0.0", "tailwindcss": "^4.0.0",

View File

@@ -1 +1 @@
import './bootstrap'; //

View File

@@ -1,4 +0,0 @@
import axios from 'axios';
window.axios = axios;
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';