初始化

This commit is contained in:
leiking
2026-06-29 10:54:33 +08:00
parent 761cee968e
commit 4983006317
156 changed files with 25687 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
const patchMpWeixinVendor = require('./scripts/patch-mp-weixin-vendor')
class PatchMpWeixinVendorPlugin {
apply(compiler) {
compiler.hooks.afterEmit.tap('PatchMpWeixinVendorPlugin', () => {
try {
patchMpWeixinVendor()
} catch (e) {}
})
}
}
module.exports = {
chainWebpack: (config) => {
config.plugin('patch-mp-weixin-vendor').use(PatchMpWeixinVendorPlugin)
}
}