mp-weixin-back 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -1
- package/dist/index.mjs +4 -1
- package/package.json +1 -1
- package/src/index.ts +5 -1
package/dist/index.cjs
CHANGED
|
@@ -444,7 +444,10 @@ function MpBackPlugin(userOptions = {}) {
|
|
|
444
444
|
if (id.includes("node_modules") || !id.includes(".vue")) {
|
|
445
445
|
return;
|
|
446
446
|
}
|
|
447
|
-
return
|
|
447
|
+
return {
|
|
448
|
+
code: await context.transform(code, id),
|
|
449
|
+
map: null
|
|
450
|
+
};
|
|
448
451
|
}
|
|
449
452
|
};
|
|
450
453
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -434,7 +434,10 @@ function MpBackPlugin(userOptions = {}) {
|
|
|
434
434
|
if (id.includes("node_modules") || !id.includes(".vue")) {
|
|
435
435
|
return;
|
|
436
436
|
}
|
|
437
|
-
return
|
|
437
|
+
return {
|
|
438
|
+
code: await context.transform(code, id),
|
|
439
|
+
map: null
|
|
440
|
+
};
|
|
438
441
|
}
|
|
439
442
|
};
|
|
440
443
|
}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -40,7 +40,11 @@ function MpBackPlugin(userOptions: UserOptions = {}): Plugin {
|
|
|
40
40
|
if (id.includes('node_modules') || !id.includes('.vue')) {
|
|
41
41
|
return
|
|
42
42
|
}
|
|
43
|
-
|
|
43
|
+
|
|
44
|
+
return {
|
|
45
|
+
code: await context.transform(code, id),
|
|
46
|
+
map: null,
|
|
47
|
+
}
|
|
44
48
|
},
|
|
45
49
|
} as Plugin
|
|
46
50
|
}
|