eleventy-plugin-cloudcannon
Advanced tools
Comparing version 0.0.13 to 0.0.14
const pluginCloudCannon = require('eleventy-plugin-cloudcannon'); | ||
// Intended for use with the CLI option: --config=inject-cloudcannon.config.js | ||
// Adds the cloudcannon plugin after running the renamed default config file | ||
// Used when the 'Manage eleventy-plugin-cloudcannon manually' option is disabled in CloudCannon. | ||
// Adds this plugin after running the renamed default config file. | ||
module.exports = function (eleventyConfig, ...args) { | ||
@@ -9,5 +9,5 @@ let defaultConfig; | ||
try { | ||
defaultConfig = require('../default-eleventy.config.js'); | ||
defaultConfig = require('./default-eleventy.config.js'); | ||
} catch { | ||
console.error('Failed to load default-eleventy.config.js'); | ||
console.error('Not found: ./default-eleventy.config.js'); | ||
} | ||
@@ -14,0 +14,0 @@ |
{ | ||
"name": "eleventy-plugin-cloudcannon", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "Eleventy plugin to create CloudCannon editor details", | ||
@@ -5,0 +5,0 @@ "main": ".eleventy.js", |
14643