dom-to-code
Version:
navigate to the code through the dom
9 lines (7 loc) • 366 B
JavaScript
const DOM_ATTR = "data-code-location";
const OPEN_CODE_API = "/___open-code-editor";
const SUPPORT_MODE = ["vue", "react"];
const REGEX_JSX_FILE = /\.[jt]sx$/;
const REGEX_SETUP_SFC = /\.setup\.[jt]sx?$/;
const REGEX_VUE_SFC = /\.vue$/;
export { DOM_ATTR as D, OPEN_CODE_API as O, REGEX_VUE_SFC as R, SUPPORT_MODE as S, REGEX_SETUP_SFC as a, REGEX_JSX_FILE as b };