vue-template-compiler
Advanced tools
Comparing version 2.4.4 to 2.5.0
{ | ||
"name": "vue-template-compiler", | ||
"version": "2.4.4", | ||
"version": "2.5.0", | ||
"description": "template compiler for Vue 2.0", | ||
"main": "index.js", | ||
"unpkg": "browser.js", | ||
"jsdelivr": "browser.js", | ||
"browser": "browser.js", | ||
"repository": { | ||
@@ -7,0 +10,0 @@ "type": "git", |
@@ -5,3 +5,3 @@ # vue-template-compiler | ||
This package can be used to pre-compile Vue 2.0 templates into render functions to avoid runtime-compilation overhead and CSP restrictions. You will only need it if you are writing build tools with very specific needs. In most cases you should be using [vue-loader](https://github.com/vuejs/vue-loader) or [vueify](https://github.com/vuejs/vueify) instead, both of which use this package internally. | ||
This package can be used to pre-compile Vue 2.0 templates into render functions to avoid runtime-compilation overhead and CSP restrictions. You will only need it if you are writing build tools with very specific needs. In most cases you should be using [`vue-loader`](https://github.com/vuejs/vue-loader) or [`vueify`](https://github.com/vuejs/vueify) instead, both of which use this package internally. | ||
@@ -65,3 +65,3 @@ ## Installation | ||
Defaults to `true`. This means the compiled render function respects all the whitespaces between HTML tags. If set to `false`, all whitespaces between tags will be ignored. This can result in slightly better performance but may affect layout for inline elements. | ||
Defaults to `true`. This means the compiled render function preserves all whitespace characters between HTML tags. If set to `false`, whitespace between tags will be ignored. This can result in slightly better performance but may affect layout for inline elements. | ||
@@ -91,7 +91,7 @@ --- | ||
This is used by default in `vue-loader@>=12` and can be disabled using the [optimizeSSR](https://vue-loader.vuejs.org/en/options.html#optimizessr) option. | ||
This is used by default in `vue-loader@>=12` and can be disabled using the [`optimizeSSR`](https://vue-loader.vuejs.org/en/options.html#optimizessr) option. | ||
--- | ||
### compiler.ssrCompileToFunction(template) | ||
### compiler.ssrCompileToFunctions(template) | ||
@@ -98,0 +98,0 @@ > 2.4.0+ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
338253
5
9111
40