There is no build for the element or site utilities like PrismJS yet, so this site only works locally at the moment.
9 lines
178 B
JavaScript
9 lines
178 B
JavaScript
const fs = require('fs');
|
|
|
|
module.exports = () => {
|
|
const customElements = JSON.parse(fs.readFileSync('custom-elements.json', 'utf-8'));
|
|
return {
|
|
customElements,
|
|
};
|
|
};
|