mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
ci fix
This commit is contained in:
5 files changed
+17
-17
No files matched your search
@@ -1,7 +1,7 @@
|
||||
/* eslint-disable global-require */
|
||||
import { CleanWebpackPlugin } from 'clean-webpack-plugin';
|
||||
import CopyWebpackPlugin from 'copy-webpack-plugin';
|
||||
import { ESBuildMinifyPlugin } from 'esbuild-loader';
|
||||
import { EsbuildPlugin } from 'esbuild-loader';
|
||||
import { DuplicatesPlugin } from 'inspectpack/plugin';
|
||||
import ExtractCssPlugin from 'mini-css-extract-plugin';
|
||||
import MonacoWebpackPlugin from 'monaco-editor-webpack-plugin';
|
||||
@@ -214,7 +214,7 @@ export default function (env: { watch?: boolean, production?: boolean, measure?:
|
||||
},
|
||||
},
|
||||
usedExports: true,
|
||||
minimizer: [new ESBuildMinifyPlugin({
|
||||
minimizer: [new EsbuildPlugin({
|
||||
css: true,
|
||||
minify: true,
|
||||
minifySyntax: true,
|
||||
|
||||
@@ -2,7 +2,7 @@ import ReconnectingWebSocket from 'reconnecting-websocket';
|
||||
|
||||
export default class Sock {
|
||||
sock: ReconnectingWebSocket;
|
||||
interval: number;
|
||||
interval: NodeJS.Timeout;
|
||||
|
||||
constructor(public url: string, nocookie = false) {
|
||||
const i = new URL(url, window.location.href);
|
||||
|
||||
Reference in new issue
Block a user