From 1d48bbc8b71deac245f1d1d474603f2c905b39df Mon Sep 17 00:00:00 2001 From: liaoxuezhi Date: Mon, 2 Sep 2019 19:30:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=BC=E5=86=99=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fis-conf.js | 7 +++++++ src/renderers/Audio.tsx | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/fis-conf.js b/fis-conf.js index 71ea83e07..5768b665e 100644 --- a/fis-conf.js +++ b/fis-conf.js @@ -318,6 +318,13 @@ if (fis.project.currentMedia() === 'publish') { return fis.util.md5('amis-sdk' + path); }, }); + + env.match('/src/icons/**.svg', { + optimizer: fis.plugin('uglify-js'), + moduleId: function (m, path) { + return fis.util.md5('amis-sdk' + path); + }, + }); env.match('src/components/Editor.tsx', { release: '/ide.js' diff --git a/src/renderers/Audio.tsx b/src/renderers/Audio.tsx index 3a7a676d4..ce3a21a10 100644 --- a/src/renderers/Audio.tsx +++ b/src/renderers/Audio.tsx @@ -370,7 +370,7 @@ export class Audio extends React.Component {
- {volume > 0 ? : } + {volume > 0 ? : }
{
this.toggleHandleVolume(true)}> - {volume > 0 ? : } + {volume > 0 ? : }
) )