fleshy-jsoneditor
Version:
LitElement custom element that wraps http://github.com/josdejong/jsoneditor based on https://github.com/Juicy/juicy-jsoneditor
8 lines (6 loc) • 361 B
JavaScript
/* eslint-disable import/no-extraneous-dependencies */
// jsoneditor is devDependency as we do not import it directly in the
// custom element, but we generate a bundled version, exporting ES modules
// to lib folder that is the one we import in our custom element
const JSONEditor = require('jsoneditor');
window.JSONEditor = window.JSONEditor || JSONEditor;