@anydigital/11ty-bricks 1.0.0-alpha → 1.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -21,7 +21,7 @@ Import and use the entire plugin. You can configure which helpers to enable usin
21
21
  import eleventyBricks from "@anydigital/11ty-bricks";
22
22
 
23
23
  export default function(eleventyConfig) {
24
- eleventyBricks(eleventyConfig, {
24
+ eleventyConfig.addPlugin(eleventyBricks, {
25
25
  autoRaw: true // Enable autoRaw preprocessor (default: false)
26
26
  });
27
27
 
@@ -34,7 +34,7 @@ export default function(eleventyConfig) {
34
34
  const eleventyBricks = require("@anydigital/11ty-bricks");
35
35
 
36
36
  module.exports = function(eleventyConfig) {
37
- eleventyBricks(eleventyConfig, {
37
+ eleventyConfig.addPlugin(eleventyBricks, {
38
38
  autoRaw: true // Enable autoRaw preprocessor (default: false)
39
39
  });
40
40
 
@@ -78,7 +78,7 @@ When using the plugin (Option 1), you can configure which helpers to enable:
78
78
 
79
79
  **Example:**
80
80
  ```javascript
81
- eleventyBricks(eleventyConfig, {
81
+ eleventyConfig.addPlugin(eleventyBricks, {
82
82
  autoRaw: true
83
83
  });
84
84
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anydigital/11ty-bricks",
3
- "version": "1.0.0-alpha",
3
+ "version": "1.0.0-alpha.2",
4
4
  "description": "A collection of helpful utilities and filters for Eleventy (11ty)",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",