ui: upgrade to webpack5

This commit is contained in:
undefined committed 2022-08-07 03:15:36 +08:00
1 parent 8648929063
commit a05125c6b0
134 files changed
+503 -457

No files matched your search

+2 -1
View File
@@ -1,10 +1,11 @@
// Modified from jquery-pjax to support multiple fragments and jQuery 3.0
// https://github.com/defunkt/jquery-pjax/blob/master/jquery.pjax.js
import $ from 'jquery';
import { nanoid } from 'nanoid';
import Notification from 'vj/components/notification';
import NProgress from 'vj/components/nprogress';
import request from './request';
import request from 'vj/utils/request';
const pjax = {};
+1
View File
@@ -1,3 +1,4 @@
import $ from 'jquery';
import i18n from './i18n';
const request = {
+1 -1
View File
@@ -30,4 +30,4 @@ export function rawHtml(html: string) {
};
}
global.Hydro.utils.tpl = tpl;
window.Hydro.utils.tpl = tpl;