@vue/compiler-core 3.3.0-alpha.1 → 3.3.0-alpha.2
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.
|
@@ -2813,7 +2813,8 @@ function processIf(node, dir, context, processCodegen) {
|
|
|
2813
2813
|
while (i-- >= -1) {
|
|
2814
2814
|
const sibling = siblings[i];
|
|
2815
2815
|
if (sibling && sibling.type === "comment") {
|
|
2816
|
-
context.removeNode(sibling)
|
|
2816
|
+
context.removeNode(sibling);
|
|
2817
|
+
process.env.NODE_ENV !== "production" && comments.unshift(sibling);
|
|
2817
2818
|
continue;
|
|
2818
2819
|
}
|
|
2819
2820
|
if (sibling && sibling.type === "text" && !sibling.content.trim().length) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-core",
|
|
3
|
-
"version": "3.3.0-alpha.
|
|
3
|
+
"version": "3.3.0-alpha.2",
|
|
4
4
|
"description": "@vue/compiler-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-core.esm-bundler.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-core#readme",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@vue/shared": "3.3.0-alpha.
|
|
35
|
+
"@vue/shared": "3.3.0-alpha.2",
|
|
36
36
|
"@babel/parser": "^7.20.15",
|
|
37
37
|
"estree-walker": "^2.0.2",
|
|
38
38
|
"source-map": "^0.6.1"
|