utils: use split loader into @hydrooj/register

This commit is contained in:
undefined committed 2024-01-24 04:11:48 +08:00
1 parent 4f74c666f6
commit cffce0bd79
14 files changed
+141 -122

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
require('@hydrooj/utils/lib/register');
require('@hydrooj/register');
const main = require('./main');
if (!module.parent) main();
+5 -5
View File
@@ -34,7 +34,7 @@
"@types/nunjucks": "^3.2.6",
"@types/pickadate": "^3.5.35",
"@types/qrcode": "^1.5.5",
"@types/react": "^18.2.47",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/redux-logger": "^3.0.12",
"@types/webpack-env": "^1.18.4",
@@ -47,9 +47,9 @@
"classnames": "^2.5.1",
"clean-webpack-plugin": "^4.0.0",
"clipboard": "^2.0.11",
"copy-webpack-plugin": "^11.0.0",
"copy-webpack-plugin": "^12.0.2",
"cordis": "2.8.8",
"css-loader": "^6.9.0",
"css-loader": "^6.9.1",
"diff": "^5.1.0",
"diff-dom": "^5.1.2",
"echarts": "^5.4.3",
@@ -75,7 +75,7 @@
"monaco-editor-nls": "^3.1.0",
"monaco-editor-webpack-plugin": "^7.1.0",
"monaco-themes": "^0.4.4",
"monaco-yaml": "^5.1.0",
"monaco-yaml": "^5.1.1",
"nanoid": "^5.0.4",
"normalize.css": "^8.0.1",
"nprogress": "^0.2.0",
@@ -103,7 +103,7 @@
"redux-thunk": "^3.1.0",
"rupture": "^0.7.1",
"schemastery": "^3.14.3",
"shorty.js": "^1.0.0",
"shorty.js": "^1.0.1",
"slideout": "^1.0.1",
"sticky-kit": "^1.1.3",
"style-loader": "^3.3.4",