@web-widget/vue 0.12.0 → 0.12.1
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/vite.cjs +3 -3
- package/dist/vite.js +3 -3
- package/package.json +2 -2
package/dist/vite.cjs
CHANGED
|
@@ -41,7 +41,7 @@ __export(vite_exports, {
|
|
|
41
41
|
});
|
|
42
42
|
module.exports = __toCommonJS(vite_exports);
|
|
43
43
|
var import_vite = require("@web-widget/vite");
|
|
44
|
-
var
|
|
44
|
+
var VUE_INTERNAL_REQUEST = /vue\?vue\b.*$/;
|
|
45
45
|
function toArray(value) {
|
|
46
46
|
return Array.isArray(value) ? value : value ? [value] : [];
|
|
47
47
|
}
|
|
@@ -55,13 +55,13 @@ function vueWebWidgetPlugin({
|
|
|
55
55
|
export: __spreadProps(__spreadValues({
|
|
56
56
|
include: /(?:\.|@)(?:route|widget)\.vue(?:\?.*)?$/
|
|
57
57
|
}, exportWidget), {
|
|
58
|
-
exclude: [...toArray(exportWidget.exclude),
|
|
58
|
+
exclude: [...toArray(exportWidget.exclude), VUE_INTERNAL_REQUEST]
|
|
59
59
|
}),
|
|
60
60
|
import: __spreadProps(__spreadValues({
|
|
61
61
|
include: /(?:\.|@)widget\..*$/,
|
|
62
62
|
includeImporter: /.*\.vue(?:\?.*)?$/
|
|
63
63
|
}, importWidget), {
|
|
64
|
-
exclude: [...toArray(importWidget.exclude),
|
|
64
|
+
exclude: [...toArray(importWidget.exclude), VUE_INTERNAL_REQUEST]
|
|
65
65
|
})
|
|
66
66
|
});
|
|
67
67
|
}
|
package/dist/vite.js
CHANGED
|
@@ -20,7 +20,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
20
20
|
|
|
21
21
|
// src/vite.ts
|
|
22
22
|
import { webWidgetPlugin } from "@web-widget/vite";
|
|
23
|
-
var
|
|
23
|
+
var VUE_INTERNAL_REQUEST = /vue\?vue\b.*$/;
|
|
24
24
|
function toArray(value) {
|
|
25
25
|
return Array.isArray(value) ? value : value ? [value] : [];
|
|
26
26
|
}
|
|
@@ -34,13 +34,13 @@ function vueWebWidgetPlugin({
|
|
|
34
34
|
export: __spreadProps(__spreadValues({
|
|
35
35
|
include: /(?:\.|@)(?:route|widget)\.vue(?:\?.*)?$/
|
|
36
36
|
}, exportWidget), {
|
|
37
|
-
exclude: [...toArray(exportWidget.exclude),
|
|
37
|
+
exclude: [...toArray(exportWidget.exclude), VUE_INTERNAL_REQUEST]
|
|
38
38
|
}),
|
|
39
39
|
import: __spreadProps(__spreadValues({
|
|
40
40
|
include: /(?:\.|@)widget\..*$/,
|
|
41
41
|
includeImporter: /.*\.vue(?:\?.*)?$/
|
|
42
42
|
}, importWidget), {
|
|
43
|
-
exclude: [...toArray(importWidget.exclude),
|
|
43
|
+
exclude: [...toArray(importWidget.exclude), VUE_INTERNAL_REQUEST]
|
|
44
44
|
})
|
|
45
45
|
});
|
|
46
46
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@web-widget/vue",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@web-widget/html": "0.1.9",
|
|
31
31
|
"@web-widget/schema": "0.4.3",
|
|
32
|
-
"@web-widget/vite": "2.11.
|
|
32
|
+
"@web-widget/vite": "2.11.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@web-widget/web-widget": "1.8.0",
|