双斜杆问题
This commit is contained in:
parent
7249e30f3d
commit
8116d66f20
|
|
@ -540,7 +540,7 @@ class OakWeChatMpPlugin {
|
|||
async emitAssetsFile(compilation) {
|
||||
const emitAssets = [];
|
||||
for (let entry of this.assetsEntry) {
|
||||
const assets = path.resolve(this.basePath, entry);
|
||||
const assets = path.resolve(this.basePath, entry).replace(/\\/g, '/');
|
||||
if (/\.(sass|scss|css|less|styl|xml|wxml)$/.test(assets)) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue