Skip to content

Commit 7c922d7

Browse files
committed
changelog
1 parent 5f716b4 commit 7c922d7

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

changelog/v4.0.0-beta.1.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Output into new dist structure
2+
3+
* Output ESM into dist/esm
4+
* Output CommonJS into dist/cjs
5+
6+
If you use deprecated `vue-facing-decorator/dist/index-return-cons` and your ts config uses `moduleResolution` with `Node16`, it will be resolved correctly. Otherwise you need to change the path to `vue-facing-decorator/dist/esm/index-return-cons` or `vue-facing-decorator/dist/cjs/index-return-cons`.
7+
8+
# Totally remove support for initialization class fields with this.xxx in class declaration
9+
10+
```ts
11+
@Component
12+
class C extends Vue{
13+
@Prop
14+
prop!:string
15+
16+
method(){return ''}
17+
18+
field1 = this.prop //NOT SUPPORT
19+
20+
field2 = this.method() //NOT SUPPORT
21+
}
22+
```

0 commit comments

Comments
 (0)