dev loader 插件弄丢了

This commit is contained in:
liaoxuezhi 2019-08-06 15:45:46 +08:00
parent 4e8861e5e1
commit 99bfca1e4c
1 changed files with 7 additions and 0 deletions

View File

@ -120,6 +120,13 @@ fis.hook('commonjs', {
extList: ['.js', '.jsx', '.tsx', '.ts'] extList: ['.js', '.jsx', '.tsx', '.ts']
}); });
fis.match('::package', {
postpackager: fis.plugin('loader', {
useInlineMap: false,
resourceType: 'mod'
})
})
fis fis
.media('dev') .media('dev')
.match('/node_modules/**.js', { .match('/node_modules/**.js', {