From 99bfca1e4c9651fc99aa0ebf6a2c83fed6b9dbb3 Mon Sep 17 00:00:00 2001 From: liaoxuezhi Date: Tue, 6 Aug 2019 15:45:46 +0800 Subject: [PATCH] =?UTF-8?q?dev=20loader=20=E6=8F=92=E4=BB=B6=E5=BC=84?= =?UTF-8?q?=E4=B8=A2=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fis-conf.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fis-conf.js b/fis-conf.js index bcb04d39..5b1f73bd 100644 --- a/fis-conf.js +++ b/fis-conf.js @@ -120,6 +120,13 @@ fis.hook('commonjs', { extList: ['.js', '.jsx', '.tsx', '.ts'] }); +fis.match('::package', { + postpackager: fis.plugin('loader', { + useInlineMap: false, + resourceType: 'mod' + }) +}) + fis .media('dev') .match('/node_modules/**.js', {