mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2025-12-18 05:13:03 +00:00
web-front add yarn.lock
This commit is contained in:
@@ -40,17 +40,17 @@ module.exports = {
|
||||
test: /\.js$|\.html$|\.css/, // 匹配文件
|
||||
threshold: 10240 // 对超过10k文件压缩
|
||||
}),
|
||||
new FileManagerPlugin({ //初始化 filemanager-webpack-plugin 插件实例
|
||||
onEnd: {
|
||||
mkdir: ['./nfd-front'],
|
||||
delete: [ //首先需要删除项目根目录下的dist.zip
|
||||
'./nfd-front.zip',
|
||||
],
|
||||
archive: [ //然后我们选择dist文件夹将之打包成dist.zip并放在根目录
|
||||
{source: './nfd-front', destination: './nfd-front.zip'},
|
||||
]
|
||||
}
|
||||
})
|
||||
// new FileManagerPlugin({ //初始化 filemanager-webpack-plugin 插件实例
|
||||
// onEnd: {
|
||||
// mkdir: ['./nfd-front'],
|
||||
// delete: [ //首先需要删除项目根目录下的dist.zip
|
||||
// './nfd-front.zip',
|
||||
// ],
|
||||
// archive: [ //然后我们选择dist文件夹将之打包成dist.zip并放在根目录
|
||||
// {source: './nfd-front', destination: './nfd-front.zip'},
|
||||
// ]
|
||||
// }
|
||||
// })
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user