mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
ui: upgrade to webpack5
This commit is contained in:
1 parent
8648929063
commit
a05125c6b0
134 files changed
+503
-457
No files matched your search
@@ -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,3 +1,4 @@
|
||||
import $ from 'jquery';
|
||||
import i18n from './i18n';
|
||||
|
||||
const request = {
|
||||
|
||||
@@ -30,4 +30,4 @@ export function rawHtml(html: string) {
|
||||
};
|
||||
}
|
||||
|
||||
global.Hydro.utils.tpl = tpl;
|
||||
window.Hydro.utils.tpl = tpl;
|
||||
Reference in new issue
Block a user