vue-template-compiler
Advanced tools
Comparing version 2.2.1 to 2.2.2
{ | ||
"name": "vue-template-compiler", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "template compiler for Vue 2.0", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -88,2 +88,7 @@ # vue-template-compiler | ||
- `pad`: with `{ pad: true }`, the extracted content for each block will be padded with newlines to ensure that the line numbers align with the original file. This is useful when you are piping the extracted content into other pre-processors, as you will get correct line numbers if there are any syntax errors. | ||
#### `pad` | ||
`pad` is useful when you are piping the extracted content into other pre-processors, as you will get correct line numbers or character indices if there are any syntax errors. | ||
- with `{ pad: "line" }`, the extracted content for each block will be prefixed with one newline for each line in the leading content from the original file to ensure that the line numbers align with the original file. | ||
- with `{ pad: "space" }`, the extracted content for each block will be prefixed with one space for each character in the leading content from the original file to ensure that the character count remains the same as the original file. |
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
167209
5726
93
65