src/rails_admin/base.js in rails_admin-3.0.0.beta2 vs src/rails_admin/base.js in rails_admin-3.0.0.rc
- old
+ new
@@ -1,13 +1,11 @@
import Rails from "@rails/ujs";
+import "@hotwired/turbo-rails";
import jQuery from "jquery";
-import moment from "moment";
-import "./vendor/jquery.pjax";
import "./vendor/jquery_nested_form";
-import "bootstrap-sass";
-import "moment/min/locales.js";
-import "eonasdan-bootstrap-datetimepicker";
+import "bootstrap";
+import "flatpickr/dist/flatpickr";
import "./filter-box";
import "./filtering-multiselect";
import "./filtering-select";
import "./nested-form-hooks";
@@ -16,6 +14,5 @@
import "./ui";
import "./widgets";
Rails.start();
window.$ = window.jQuery = jQuery;
-window.moment = moment;