mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Put CEM where api-viewer can find it
This commit is contained in:
parent
250e31ed53
commit
20c93a0c7a
@ -24,9 +24,12 @@ const npmdir = 'dist';
|
|||||||
const allComponents = getAllComponents();
|
const allComponents = getAllComponents();
|
||||||
let hasBuiltSearchIndex = false;
|
let hasBuiltSearchIndex = false;
|
||||||
|
|
||||||
// Write component data to file, 11ty will pick it up and create pages
|
// Write component data to file, 11ty will pick it up and create pages - the name & location are important
|
||||||
fs.writeFileSync("_data/components.json", JSON.stringify(allComponents));
|
fs.writeFileSync("_data/components.json", JSON.stringify(allComponents));
|
||||||
|
|
||||||
|
// Put it here too, since addPassthroughCopy() ignores it
|
||||||
|
fs.copyFileSync("../dist/custom-elements.json", "assets/custom-elements.json");
|
||||||
|
|
||||||
module.exports = function (eleventyConfig)
|
module.exports = function (eleventyConfig)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user