add wx mp
This commit is contained in:
@@ -60,6 +60,11 @@ export default defineConfig({
|
||||
if (chunkInfo.names?.includes('panda.png')) {
|
||||
return '[name].[ext]';
|
||||
}
|
||||
const qrcode = ['qrcode-8x8.jpg'];
|
||||
const names = chunkInfo.names || [];
|
||||
if (qrcode.some((name) => names.includes(name))) {
|
||||
return '[name].[ext]';
|
||||
}
|
||||
return '[name].[hash].[ext]';
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user