From 05f47e5515adf5e2e194cfea170fd4749ba02238 Mon Sep 17 00:00:00 2001 From: undefined Date: Fri, 21 Oct 2022 12:24:40 +0800 Subject: [PATCH] ui: fix monaco-editor build target --- packages/ui-default/build/config/webpack.ts | 2 +- packages/ui-default/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui-default/build/config/webpack.ts b/packages/ui-default/build/config/webpack.ts index bf2ee99bd..921a071a4 100644 --- a/packages/ui-default/build/config/webpack.ts +++ b/packages/ui-default/build/config/webpack.ts @@ -19,7 +19,7 @@ export default function (env: { watch?: boolean, production?: boolean, measure?: loader: 'esbuild-loader', options: { loader: 'tsx', - target: 'chrome60', + target: 'es2015', sourcemap: true, }, }; diff --git a/packages/ui-default/package.json b/packages/ui-default/package.json index 3e58b6fed..07ed1979a 100644 --- a/packages/ui-default/package.json +++ b/packages/ui-default/package.json @@ -1,6 +1,6 @@ { "name": "@hydrooj/ui-default", - "version": "4.42.5", + "version": "4.42.6", "author": "undefined ", "license": "AGPL-3.0", "main": "index.ts",