Closed 869288142 closed 3 years ago
Isn't this the default behaviour of Vue?
Isn't this the default behaviour of Vue?
vue default value is { whitespace: 'preserve' }, it will keep whitespace. vite-plugin-vue2 compilerOption is { whitespace: 'codeense' }. when i use vite-plugin-vue2 in my company, I found it.
This behavior is same as vue-cli. You can see here https://github.com/underfin/vite-plugin-vue2/pull/62.
This behavior is same as vue-cli. You can see here #62.
Thank you for your reply. The information is important to user who project is not use vue-cli migrate to vite-plugin-vue2
vueTemplateOptions.compilerOptions.whitespace default value is condense, , it will produce minor visual layout differences compared to plain HTML in certain cases. we may be show behavior to user
Does this PR introduce a breaking change? (check one)