From 456adac4c7af43f76bba6c7a487fcb1a2ab94ace Mon Sep 17 00:00:00 2001 From: zhangzepeng Date: Thu, 7 Dec 2023 11:32:20 +0800 Subject: [PATCH] =?UTF-8?q?=E2=80=98=E6=B5=81=E6=B0=B4=E7=BA=BF=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=BF=AE=E6=94=B9=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangzepeng --- ide/webpack.config.js | 34 ++++------------------------------ 1 file changed, 4 insertions(+), 30 deletions(-) diff --git a/ide/webpack.config.js b/ide/webpack.config.js index fbdde9f7..38d6d8ad 100644 --- a/ide/webpack.config.js +++ b/ide/webpack.config.js @@ -64,6 +64,8 @@ const stylesHandler = isProduction ? MiniCssExtractPlugin.loader : 'style-loader }); } + runCommand(`cp ./bin/* dist/`); + let rs; if (os.type() === 'Windows_NT') { rs = childProcess.spawnSync('go', ['build', '-o', outPath, serverSrc], { @@ -118,36 +120,8 @@ const config = { to: 'base-ui/icon.svg', }, { - from: './bin/trace_converter_builtin.js', - to: 'trace_converter_builtin.js', - }, - { - from: './bin/trace_converter_builtin.wasm', - to: 'trace_converter_builtin.wasm', - }, - { - from: './bin/trace_streamer_builtin.js', - to: 'trace_streamer_builtin.js', - }, - { - from: './bin/trace_streamer_builtin.wasm', - to: 'trace_streamer_builtin.wasm', - }, - { - from: './bin/trace_streamer_dubai_builtin.js', - to: 'trace_streamer_dubai_builtin.js', - }, - { - from: './bin/trace_streamer_dubai_builtin.wasm', - to: 'trace_streamer_dubai_builtin.wasm', - }, - { - from: './bin/trace_streamer_sdk_builtin.js', - to: 'trace_streamer_sdk_builtin.js', - }, - { - from: './bin/trace_streamer_sdk_builtin.wasm', - to: 'trace_streamer_sdk_builtin.wasm', + from: './src/trace/config/custom_temp_config.json', + to: 'trace/config/custom_temp_config.json', }, { from: './third-party/sql-wasm.js', -- Gitee