You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat!: set whitespace: 'condense' for template compiler (#3853)
BREAKING CHANGE:
Detailed explanation: vuejs/vue#9208 (comment)
Take the following template as example:
```
<p>
Welcome to <b>Vue.js</b> <i>world</i>.
Have fun!
</p>
```
With `preserveWhitespace: false`, it was compiled as:
```
<p> Welcome to <b>Vue.js</b><i>world</i>. Have fun! </p>
```
With `whitespace: 'condense'`, it is now compiled as:
```
<p> Welcome to <b>Vue.js</b> <i>world</i>. Have fun! </p>
```
Note the **inline whitespace between tags** is preserved.
Closes#1020
0 commit comments