From 5d901b5e3f033e8b04e53420d68626cbd87431c8 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期五, 06 五月 2022 10:12:34 +0800 Subject: [PATCH] 使用阿里代码规范。规范代码写法 --- web_src/build/webpack.dev.conf.js | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/web_src/build/webpack.dev.conf.js b/web_src/build/webpack.dev.conf.js index e33cb01..55efd30 100755 --- a/web_src/build/webpack.dev.conf.js +++ b/web_src/build/webpack.dev.conf.js @@ -32,6 +32,7 @@ contentBase: false, // since we use CopyWebpackPlugin. compress: true, host: HOST || config.dev.host, + // host:'127.0.0.1', port: PORT || config.dev.port, open: config.dev.autoOpenBrowser, overlay: config.dev.errorOverlay @@ -63,9 +64,7 @@ from: path.resolve(__dirname, '../static'), to: config.dev.assetsSubDirectory, ignore: ['.*'] - }, - { from: 'node_modules/@easydarwin/easywasmplayer/libDecoder.wasm'}, - { from: 'node_modules/@easydarwin/easywasmplayer/EasyWasmPlayer.js', to: 'js/'} + } ]) ] }) -- Gitblit v1.8.0