fix(cdn): pindahkan filerobot-image-editor dan dropzone dari CDN ke lokal

This commit is contained in:
majid 2025-03-05 10:24:00 +07:00
parent d555d62f99
commit 10b1426434
6 changed files with 16 additions and 4 deletions

View File

@ -23,13 +23,11 @@
"clipboard": "^2.0.11",
"esri-leaflet": "^3.0.12",
"esri-leaflet-geocoder": "^3.1.5",
"filerobot-image-editor": "^4.8.1",
"imask": "^7.6.1",
"jquery": "^3.7.1",
"mini-svg-data-uri": "^1.4.4",
"notie": "^4.3.1",
"pdfobject": "^2.3.0",
"react-filerobot-image-editor": "^4.9.1",
"sweetalert2": "^11.14.3",
"toastr": "^2.1.4",
"tom-select": "^2.3.1"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@ import TomSelect from "tom-select";
import toast from "toastr";
import "toastr/build/toastr.css";
import IMask from "imask";
import FilerobotImageEditor from "filerobot-image-editor";
// import FilerobotImageEditor from "filerobot-image-editor";
window.jQuery = $;
window.$ = $;
@ -16,7 +16,7 @@ window.Swal = Swal;
window.swal = Swal;
window.IMask = IMask;
window.FilerobotImageEditor = FilerobotImageEditor;
// window.FilerobotImageEditor = FilerobotImageEditor;
document.querySelectorAll(".tomselect").forEach((el) => {
let settings = {

View File

@ -10,6 +10,8 @@
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="{{ asset('vendor/dropzone/dropzone.min.css') }}" type="text/css" />
@vite(Module::getAssets())
@stack('styles')
</head>
@ -55,6 +57,8 @@
}
</script>
<!--end::Theme mode setup on page load-->
<script src="{{ asset('vendor/filerobot-image-editor/filerobot-image-editor.min.js') }}"></script>
<script src="{{ asset('vendor/dropzone/dropzone.min.js') }}"></script>
@yield('main')
@stack('scripts')