@bam.tech/kettle
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -20,3 +20,3 @@ "use strict"; | ||
return null; | ||
return input.replace(matchChars, ''); | ||
return contentToInclude(input.replace(matchChars, '')); | ||
} | ||
@@ -23,0 +23,0 @@ exports.contentToInclude = contentToInclude; |
{ | ||
"name": "@bam.tech/kettle", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"main": "./dist/kettle.js", | ||
@@ -5,0 +5,0 @@ "types": "./dist/kettle.d.ts", |
@@ -56,5 +56,15 @@ # Kettle | ||
- With a `// __include_if_isTrue_` comment the file will be included and the comment removed | ||
- With a `// __include_if_isFalse_` the file will not be included in the output at all | ||
- With a `// __include_if_isTrue_` comment, the file will be included and the comment line removed | ||
- With a `// __include_if_isFalse_` comment, the file will not be included in the output at all | ||
- You can also chain conditions with multiple include lines. The position of the comment in the file does not matter | ||
```javascript | ||
// __include_if_isTrue_ | ||
// __include_if_isFalse_ | ||
const thisFileWillNotBeRendered = true; | ||
``` | ||
## Reverse assertions | ||
@@ -61,0 +71,0 @@ |
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
24174
231